tried to add ui icons

This commit is contained in:
germedeb 2022-10-06 15:22:36 -03:00
parent 5d9c55a2d7
commit b63dbc5454
6 changed files with 83 additions and 16 deletions

View File

@ -1841,21 +1841,21 @@
</defs> </defs>
<sodipodi:namedview <sodipodi:namedview
id="base" id="base"
pagecolor="#cacaca" pagecolor="#ffffff"
bordercolor="#000000" bordercolor="#000000"
borderopacity="1" borderopacity="1"
inkscape:pageopacity="0" inkscape:pageopacity="0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="22.627416" inkscape:zoom="22.627416"
inkscape:cx="5.7452429" inkscape:cx="7.2478448"
inkscape:cy="8.1317283" inkscape:cy="7.8665633"
inkscape:document-units="pt" inkscape:document-units="pt"
inkscape:current-layer="layer2" inkscape:current-layer="layer2"
showgrid="true" showgrid="true"
inkscape:window-width="1366" inkscape:window-width="1366"
inkscape:window-height="699" inkscape:window-height="707"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="32" inkscape:window-y="0"
inkscape:window-maximized="1" inkscape:window-maximized="1"
units="px" units="px"
showguides="false" showguides="false"
@ -1881,7 +1881,8 @@
inkscape:snap-intersection-paths="true" inkscape:snap-intersection-paths="true"
width="16px" width="16px"
inkscape:showpageshadow="false" inkscape:showpageshadow="false"
inkscape:document-rotation="0"> inkscape:document-rotation="0"
inkscape:snap-grids="true">
<inkscape:grid <inkscape:grid
type="xygrid" type="xygrid"
id="grid2985" id="grid2985"
@ -1917,9 +1918,9 @@
inkscape:label="icon" inkscape:label="icon"
transform="translate(1.0008429,1.0005)"> transform="translate(1.0008429,1.0005)">
<path <path
id="path2047" id="path1779"
style="fill:#000000;stroke-width:2.5;paint-order:markers stroke fill" style="opacity:1;fill:#000000;stroke-width:2.85714;paint-order:markers stroke fill"
d="M 7 1 A 0.56639121 0.56639121 0 0 0 6.4375 1.4960938 L 6.2050781 3.3457031 A 5 5 0 0 0 4.8632812 4.1171875 L 3.1484375 3.3945312 A 0.56639101 0.56639101 0 0 0 2.4375 3.6347656 L 1.4375 5.3652344 A 0.56639121 0.56639121 0 0 0 1.5859375 6.1015625 L 3.0664062 7.2207031 A 5 5 0 0 0 3 8 A 5 5 0 0 0 3.0664062 8.7792969 L 1.5859375 9.8984375 A 0.56639101 0.56639101 0 0 0 1.4375 10.634766 L 2.4375 12.365234 A 0.56639121 0.56639121 0 0 0 3.1484375 12.605469 L 4.8632812 11.882812 A 5 5 0 0 0 6.2050781 12.654297 L 6.4375 14.503906 A 0.56639101 0.56639101 0 0 0 7 15 L 9 15 A 0.56639121 0.56639121 0 0 0 9.5625 14.503906 L 9.7949219 12.654297 A 5 5 0 0 0 11.136719 11.882812 L 12.851562 12.605469 A 0.56639101 0.56639101 0 0 0 13.5625 12.365234 L 14.5625 10.634766 A 0.56639121 0.56639121 0 0 0 14.414062 9.8984375 L 12.933594 8.7792969 A 5 5 0 0 0 13 8 A 5 5 0 0 0 12.9375 7.21875 L 14.414062 6.1015625 A 0.56639101 0.56639101 0 0 0 14.5625 5.3652344 L 13.5625 3.6347656 A 0.56639121 0.56639121 0 0 0 12.851562 3.3945312 L 11.144531 4.1132812 A 5 5 0 0 0 9.7929688 3.3339844 L 9.5625 1.4960938 A 0.56639101 0.56639101 0 0 0 9 1 L 7 1 z M 8 5.8535156 A 2.1460681 2.1460681 0 0 1 10.146484 8 A 2.1460681 2.1460681 0 0 1 8 10.146484 A 2.1460681 2.1460681 0 0 1 5.8535156 8 A 2.1460681 2.1460681 0 0 1 8 5.8535156 z " d="M 6.8574219 0 C 6.5310725 -0.0001759 6.2556298 0.24261551 6.2148438 0.56640625 L 5.9238281 2.8886719 A 5.5299072 5.5299072 0 0 0 4.6113281 3.6464844 L 2.4570312 2.7363281 C 2.1562272 2.6097542 1.8075535 2.7270508 1.6445312 3.0097656 L 0.50195312 4.9882812 C 0.33862605 5.2708201 0.41185686 5.6309077 0.671875 5.828125 L 2.5253906 7.234375 A 5.5299072 5.5299072 0 0 0 2.4707031 8 A 5.5299072 5.5299072 0 0 0 2.5253906 8.7675781 L 0.671875 10.169922 C 0.41185669 10.367139 0.33862604 10.727226 0.50195312 11.009766 L 1.6445312 12.988281 C 1.8075535 13.270996 2.156227 13.388292 2.4570312 13.261719 L 4.6113281 12.353516 A 5.5299072 5.5299072 0 0 0 5.9257812 13.113281 L 6.2148438 15.433594 C 6.2556297 15.757385 6.5310726 16.000176 6.8574219 16 L 9.1425781 16 C 9.4689274 16.000176 9.7443701 15.757385 9.7851562 15.433594 L 10.076172 13.111328 A 5.5299072 5.5299072 0 0 0 11.390625 12.353516 L 13.546875 13.261719 C 13.847679 13.388293 14.1944 13.270967 14.357422 12.988281 L 15.5 11.009766 C 15.663327 10.727226 15.592049 10.367139 15.332031 10.169922 L 13.474609 8.7617188 A 5.5299072 5.5299072 0 0 0 13.529297 8 A 5.5299072 5.5299072 0 0 0 13.476562 7.234375 L 15.332031 5.828125 C 15.592049 5.6309081 15.663302 5.2708055 15.5 4.9882812 L 14.357422 3.0097656 C 14.194399 2.7270507 13.847679 2.6097544 13.546875 2.7363281 L 11.400391 3.640625 A 5.5299072 5.5299072 0 0 0 10.074219 2.875 L 9.7851562 0.56640625 C 9.7443704 0.24261546 9.4689275 -0.000176 9.1425781 0 L 6.8574219 0 z M 8.0019531 6 A 1.9991519 1.9991519 0 0 1 10 8 A 1.9991519 1.9991519 0 0 1 8.0019531 9.9980469 A 1.9991519 1.9991519 0 0 1 6.0019531 8 A 1.9991519 1.9991519 0 0 1 8.0019531 6 z "
transform="translate(-1.0008429,-1.0005)" /> transform="translate(-1.0008429,-1.0005)" />
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -4,7 +4,7 @@ Inherits=Adwaita,hicolor,moka,papirus,gnome,breeze
Comment=A squary material icon pack! Comment=A squary material icon pack!
#Directory list #Directory list
Directories=apps/8,apps/16,apps/24,apps/32,apps/48,apps/64,apps/96,apps/128,apps/256,apps/scalable,places/8,places/16,places/24,places/32,places/48,places/64,places/96,places/128,places/256,places/scalable,categories/8,categories/16,categories/22,categories/24,categories/32,categories/48,categories/64,categories/96,categories/128,categories/scalable,devices/16,devices/24,devices/32,devices/48,devices/64,devices/96,devices/scalable,status/8,status/16,status/24,status/32,status/48,status/64,status/96,status/128,status/256,status/scalable,mimetypes/8,mimetypes/16,mimetypes/24,mimetypes/32,mimetypes/48,mimetypes/64,mimetypes/96,mimetypes/128,mimetypes/256,mimetypes/scalable,actions/8,actions/16,actions/22,actions/24,actions/32,actions/48,actions/64,actions/96,actions/128,actions/256,actions/scalable,animations/8,animations/16,animations/24,animations/32,animations/48,animations/64,animations/96,animations/128,animations/scalable Directories=apps/8,apps/16,apps/24,apps/32,apps/48,apps/64,apps/96,apps/128,apps/256,apps/scalable,places/8,places/16,places/24,places/32,places/48,places/64,places/96,places/128,places/256,places/scalable,categories/8,categories/16,categories/22,categories/24,categories/32,categories/48,categories/64,categories/96,categories/128,categories/scalable,devices/16,devices/24,devices/32,devices/48,devices/64,devices/96,devices/scalable,status/8,status/16,status/24,status/32,status/48,status/64,status/96,status/128,status/256,status/scalable,mimetypes/8,mimetypes/16,mimetypes/24,mimetypes/32,mimetypes/48,mimetypes/64,mimetypes/96,mimetypes/128,mimetypes/256,mimetypes/scalable,actions/8,actions/16,actions/22,actions/24,actions/32,actions/48,actions/64,actions/96,actions/128,actions/256,actions/scalable,animations/8,animations/16,animations/24,animations/32,animations/48,animations/64,animations/96,animations/128,animations/scalable,apps/8,apps/16,apps/24,apps/32,apps/48,apps/64,apps/scalable
# apps # apps
[apps/8] [apps/8]
@ -429,3 +429,59 @@ Size=16
MinSize=8 MinSize=8
MaxSize=2048 MaxSize=2048
Type=Scalable Type=Scalable
# ui
[ui/8]
Size=8
Context=UI
Type=Fixed
[ui/16]
Size=16
Context=UI
Type=Fixed
[ui/24]
Size=24
Context=UI
Type=Fixed
[ui/32]
Size=32
Context=UI
Type=Fixed
[ui/48]
Size=48
Context=UI
Type=Fixed
[ui/64]
Size=64
Context=UI
Type=Fixed
[ui/96]
Size=96
Context=UI
Type=Fixed
[ui/128]
Size=128
Context=UI
Type=Fixed
[ui/256]
Size=256
Context=UI
Type=Fixed
[ui/scalable]
Context=UI
Size=16
MinSize=8
MaxSize=1024
Type=Scalable

View File

@ -89,7 +89,7 @@ if [ "$RESTART" = yes ]; then
# this deletes the build directory # this deletes the build directory
printf "${info_color}cleaning up the build directory...${reset_colors}\\n" printf "${info_color}cleaning up the build directory...${reset_colors}\\n"
rm _build/aleta -rf rm _build/ -rf
# this creates the folder structure used in the build and while the building # this creates the folder structure used in the build and while the building
printf "${info_color}rebuilding folder structure...${reset_colors}\\n" printf "${info_color}rebuilding folder structure...${reset_colors}\\n"

View File

@ -14,6 +14,7 @@ cp icons/mimetypes/*.svg _build/icons-t/mimetypes/
cp icons/actions/*.svg _build/icons-t/actions/ cp icons/actions/*.svg _build/icons-t/actions/
cp icons/animations/*.svg _build/icons-t/animations/ cp icons/animations/*.svg _build/icons-t/animations/
cp icons/emblems/*.svg _build/icons-t/emblems/ cp icons/emblems/*.svg _build/icons-t/emblems/
cp icons/ui/*.svg _build/icons-t/ui/
printf "${info_color}copying symbolic icons...${reset_colors}\\n" printf "${info_color}copying symbolic icons...${reset_colors}\\n"
cp icons/apps-symbolic/*.svg _build/icons-t/apps-symbolic/ cp icons/apps-symbolic/*.svg _build/icons-t/apps-symbolic/
@ -25,3 +26,4 @@ cp icons/mimetypes-symbolic/*.svg _build/icons-t/mimetypes-symbolic/
cp icons/actions-symbolic/*.svg _build/icons-t/actions-symbolic/ cp icons/actions-symbolic/*.svg _build/icons-t/actions-symbolic/
cp icons/animations-symbolic/*.svg _build/icons-t/animations-symbolic/ cp icons/animations-symbolic/*.svg _build/icons-t/animations-symbolic/
cp icons/emblems-symbolic/*.svg _build/icons-t/emblems-symbolic/ cp icons/emblems-symbolic/*.svg _build/icons-t/emblems-symbolic/
cp icons/ui-symbolic/*.svg _build/icons-t/ui-symbolic/

6
tasks/export/ui.sh Normal file → Executable file
View File

@ -14,15 +14,11 @@ do
# this runs the export operation in paralell. # this runs the export operation in paralell.
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/ui/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/emblems/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/emblems/16/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 24 -h 24 -o _build/aleta/emblems/24/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 24 -h 24 -o _build/aleta/emblems/24/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 32 -h 32 -o _build/aleta/emblems/32/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 32 -h 32 -o _build/aleta/emblems/32/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 48 -h 48 -o _build/aleta/emblems/48/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 48 -h 48 -o _build/aleta/emblems/48/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 64 -h 64 -o _build/aleta/emblems/64/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 64 -h 64 -o _build/aleta/emblems/64/${N}.png ${SVG} >/dev/null 2>&1"
"inkscape -w 96 -h 96 -o _build/aleta/emblems/96/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 128 -h 128 -o _build/aleta/emblems/128/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 256 -h 256 -o _build/aleta/emblems/256/${N}.png ${SVG} >/dev/null 2>&1"
# this moves the icon to the icons-e folder. this # this moves the icon to the icons-e folder. this
# means that the icon is exported and you don't # means that the icon is exported and you don't

View File

@ -14,6 +14,7 @@ mkdir -p _build/icons-t/mimetypes
mkdir -p _build/icons-t/actions mkdir -p _build/icons-t/actions
mkdir -p _build/icons-t/animations mkdir -p _build/icons-t/animations
mkdir -p _build/icons-t/emblems mkdir -p _build/icons-t/emblems
mkdir -p _build/icons-t/ui
mkdir -p _build/icons-t/apps-symbolic mkdir -p _build/icons-t/apps-symbolic
mkdir -p _build/icons-t/places-symbolic mkdir -p _build/icons-t/places-symbolic
@ -24,6 +25,7 @@ mkdir -p _build/icons-t/mimetypes-symbolic
mkdir -p _build/icons-t/actions-symbolic mkdir -p _build/icons-t/actions-symbolic
mkdir -p _build/icons-t/animations-symbolic mkdir -p _build/icons-t/animations-symbolic
mkdir -p _build/icons-t/emblems-symbolic mkdir -p _build/icons-t/emblems-symbolic
mkdir -p _build/icons-t/ui-symbolic
# this creates the Exported folders. the exported svg will be placed here # this creates the Exported folders. the exported svg will be placed here
mkdir -p _build/icons-e/apps mkdir -p _build/icons-e/apps
@ -35,6 +37,7 @@ mkdir -p _build/icons-e/mimetypes
mkdir -p _build/icons-e/actions mkdir -p _build/icons-e/actions
mkdir -p _build/icons-e/animations mkdir -p _build/icons-e/animations
mkdir -p _build/icons-e/emblems mkdir -p _build/icons-e/emblems
mkdir -p _build/icons-e/ui
mkdir -p _build/icons-e/apps-symbolic mkdir -p _build/icons-e/apps-symbolic
mkdir -p _build/icons-e/places-symbolic mkdir -p _build/icons-e/places-symbolic
@ -45,6 +48,7 @@ mkdir -p _build/icons-e/mimetypes-symbolic
mkdir -p _build/icons-e/actions-symbolic mkdir -p _build/icons-e/actions-symbolic
mkdir -p _build/icons-e/animations-symbolic mkdir -p _build/icons-e/animations-symbolic
mkdir -p _build/icons-e/emblems-symbolic mkdir -p _build/icons-e/emblems-symbolic
mkdir -p _build/icons-e/ui-symbolic
# this creates the build folders. here is the result of the build. here will be the index.theme and the PNG exported from the svg # this creates the build folders. here is the result of the build. here will be the index.theme and the PNG exported from the svg
mkdir -p _build/aleta/apps mkdir -p _build/aleta/apps
@ -69,6 +73,13 @@ mkdir -p _build/aleta/apps/128
mkdir -p _build/aleta/apps/256 mkdir -p _build/aleta/apps/256
mkdir -p _build/aleta/apps/scalable mkdir -p _build/aleta/apps/scalable
mkdir -p _build/aleta/ui/16
mkdir -p _build/aleta/ui/24
mkdir -p _build/aleta/ui/32
mkdir -p _build/aleta/ui/48
mkdir -p _build/aleta/ui/64
mkdir -p _build/aleta/ui/scalable
mkdir -p _build/aleta/places/8 mkdir -p _build/aleta/places/8
mkdir -p _build/aleta/places/16 mkdir -p _build/aleta/places/16
mkdir -p _build/aleta/places/24 mkdir -p _build/aleta/places/24
@ -90,6 +101,7 @@ mkdir -p _build/aleta/categories/64
mkdir -p _build/aleta/categories/96 mkdir -p _build/aleta/categories/96
mkdir -p _build/aleta/categories/128 mkdir -p _build/aleta/categories/128
mkdir -p _build/aleta/categories/scalable mkdir -p _build/aleta/categories/scalable
mkdir -p _build/aleta/devices/16 mkdir -p _build/aleta/devices/16
mkdir -p _build/aleta/devices/24 mkdir -p _build/aleta/devices/24
mkdir -p _build/aleta/devices/32 mkdir -p _build/aleta/devices/32