Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81ff7536 authored by Akhil's avatar Akhil 🙂
Browse files

Merge branch 'dev/icons-build-step' into 'main'

Add icons build step

Closes e/infra/backlog#1785

See merge request e/infra/ecloud/nextcloud-apps/ecloud-theme-helper!67
parents 41ab43e5 9e18ef0d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,4 +20,4 @@ translationtool.phar
.phpunit.result.cache
junit.xml
css/*
!css/icons.css
!css/icons-vars.css
+12 −0
Original line number Diff line number Diff line
@@ -2,3 +2,15 @@
- This app is a helper app to be used along with the /e/ Cloud Theme 
- It adds icon classes and makes the needed icon replacements in some Nextcloud pages
- Enabling it without adding and enabling the /e/ Cloud Theme is not recommended


## Developer Documentation

### To add new icons

- Add the icon in the `img` folder
  - For example, the `notifications.svg` file will be added as `img/notifications/notifications.svg`
- Add entry to `src/icons.js`
  - For a colored icon, add to `iconsColor` object
  - For a white/black icon, add to `icons` object
- Icon will now be generated and added to `icons.css` in the pre-build step
+0 −0

File moved.

img/actions/search.svg

0 → 100644
+10 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" version="1.1" id="svg4" sodipodi:docname="search.svg" inkscape:version="1.1 (c68e22c387, 2021-05-23)"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:svg="http://www.w3.org/2000/svg">
    <defs id="defs8" />
    <sodipodi:namedview id="namedview6" pagecolor="#505050" bordercolor="#ffffff" borderopacity="1" inkscape:pageshadow="0" inkscape:pageopacity="0" inkscape:pagecheckerboard="1" showgrid="false" inkscape:zoom="46.4" inkscape:cx="7.0043103" inkscape:cy="7.4892241" inkscape:window-width="1920" inkscape:window-height="1017" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg4" />
    <path d="M 12.900779,11.976444 10.069036,9.1447367 C 9.9981241,9.0984407 9.9286689,9.0506199 9.8583937,9.0506199 H 9.5541281 C 10.27977,8.2081335 10.747661,7.0847027 10.747661,5.8677029 c 0,-2.6679174 -2.1998268,-4.86770303 -4.8678813,-4.86770303 -2.6913485,0 -4.8676985,2.19978563 -4.8676985,4.86770303 0,2.6913394 2.17635,4.8679171 4.8676985,4.8679171 1.2169997,0 2.3169995,-0.444587 3.1829172,-1.1700921 v 0.30422 c 0,0.070912 0.023288,0.1401851 0.069584,0.2105511 l 2.8317161,2.831835 c 0.117156,0.117155 0.30422,0.117155 0.397798,0 l 0.538257,-0.538257 c 0.117156,-0.09394 0.117156,-0.280735 0,-0.397799 z M 5.8797797,9.6128655 c -2.082771,0 -3.7444495,-1.6617154 -3.7444495,-3.7446326 0,-2.0593398 1.6616785,-3.7444586 3.7444495,-3.7444586 2.0594861,0 3.7446324,1.6851188 3.7446324,3.7444586 0,2.0829172 -1.6851463,3.7446326 -3.7446324,3.7446326 z" fill="#000000" id="path2" style="stroke-width:0.913848" />
</svg>
+10 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" version="1.1" id="svg4" sodipodi:docname="notifications.svg" inkscape:version="1.1 (c68e22c387, 2021-05-23)"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:svg="http://www.w3.org/2000/svg">
   <defs id="defs8" />
   <sodipodi:namedview id="namedview6" pagecolor="#505050" bordercolor="#ffffff" borderopacity="1" inkscape:pageshadow="0" inkscape:pageopacity="0" inkscape:pagecheckerboard="1" showgrid="false" width="14px" inkscape:zoom="11.6" inkscape:cx="-2.1551724" inkscape:cy="10.646552" inkscape:window-width="1920" inkscape:window-height="1017" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg4" />
   <path d="m 12.041166,9.5077344 c -0.44533,-0.4922976 -1.312288,-1.2188016 -1.312288,-3.6329026 0,-1.8046316 -1.2656124,-3.2576297 -2.9999857,-3.632692 V 1.7499882 C 7.7288923,1.3514514 7.4006418,1 7.0022513,1 6.5803864,1 6.2522548,1.3514514 6.2522548,1.7499882 v 0.4921516 c -1.7343726,0.3750623 -2.9999494,1.8280604 -2.9999494,3.632692 0,2.414101 -0.8671954,3.140605 -1.3125214,3.6329026 -0.1405234,0.1404816 -0.2109215,0.3280952 -0.1874533,0.4920968 0,0.3985638 0.2811914,0.7499958 0.7499873,0.7499958 h 8.976557 c 0.468576,0 0.749997,-0.351432 0.773242,-0.7499958 0,-0.1640016 -0.07102,-0.3514328 -0.210951,-0.4920968 z M 3.3226925,9.6249696 c 0.4922613,-0.6328064 1.031188,-1.7343723 1.054507,-3.7266174 0,0 0,1.82e-5 0,-0.023163 0,-1.4295693 1.172008,-2.6248688 2.6250518,-2.6248688 1.4297063,0 2.6250431,1.1952995 2.6250431,2.6248688 0,0.023182 -0.02316,0.023163 -0.02316,0.023163 0.023168,1.9922451 0.5625656,3.093811 1.0546436,3.7266174 z M 7.0022513,13 C 7.8224977,13 8.47888,12.343902 8.47888,11.500007 H 5.5022675 C 5.5022675,12.343902 6.1585304,13 7.0022513,13 Z" fill="#000000" id="path2" style="stroke-width:0.915184" />
</svg>
Loading