From: Yuan Fu Date: Fri, 31 Mar 2023 04:58:05 +0000 (-0700) Subject: Add some icons (bug#62562) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=626f2f744104bc14c28456134cf75ff2f16d9901;p=emacs.git Add some icons (bug#62562) * etc/images/symbols/README: New file. * etc/images/symbols/*.svg: New icons. --- diff --git a/etc/images/symbols/README b/etc/images/symbols/README new file mode 100644 index 00000000000..b2c7b8c3179 --- /dev/null +++ b/etc/images/symbols/README @@ -0,0 +1,37 @@ +This directory contains icons for some inline symbols. + +COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES + +Files: *.svg +Author: Yuan Fu +Copyright (C) 2023 Free Software Foundation, Inc. +License: GNU General Public License version 3 or later (see COPYING) + +How I made these icons: I made them with Figma, and exported them into +SVG. I made the shapes with vectors (SVG paths) rather than strokes, +merged all the shapes into a single shape with union operation, and +stripped filling attributes from the SVG files. This way the icons can +be colored like normal text! I'm not exactly sure how it works, but as +long as the icon uses SVG path, and there is only one path in the +file, and there is no filling attributes, the icons can be colored as +text. + +FWIW, this is the command I used to strip filling attributes: + +sed -i 's/fill="none"//g' +sed -i 's/fill="black"//g' + +Naming: Use underscore to separate styles, dash are considered normal +character so you can use it for names. End with the intended optical +size for the icon. + +There should also be an order for all the keywords. Right now we have +directions (left/right), circle, fill, and optical size. Among them, +the order should be + +1. direction +2. circle +3. fill +4. size + +E.g., arrow_right_circle_fill_16. \ No newline at end of file diff --git a/etc/images/symbols/check-mark_16.svg b/etc/images/symbols/check-mark_16.svg new file mode 100644 index 00000000000..10bf765f4d2 --- /dev/null +++ b/etc/images/symbols/check-mark_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/chevron_down_16.svg b/etc/images/symbols/chevron_down_16.svg new file mode 100644 index 00000000000..016e4a5720e --- /dev/null +++ b/etc/images/symbols/chevron_down_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/chevron_left_16.svg b/etc/images/symbols/chevron_left_16.svg new file mode 100644 index 00000000000..84ca3e28d8f --- /dev/null +++ b/etc/images/symbols/chevron_left_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/chevron_right_16.svg b/etc/images/symbols/chevron_right_16.svg new file mode 100644 index 00000000000..9ad6e1bf328 --- /dev/null +++ b/etc/images/symbols/chevron_right_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/chevron_up_16.svg b/etc/images/symbols/chevron_up_16.svg new file mode 100644 index 00000000000..1c4b9c47622 --- /dev/null +++ b/etc/images/symbols/chevron_up_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/cross_16.svg b/etc/images/symbols/cross_16.svg new file mode 100644 index 00000000000..f210cf230b6 --- /dev/null +++ b/etc/images/symbols/cross_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/cross_circle_16.svg b/etc/images/symbols/cross_circle_16.svg new file mode 100644 index 00000000000..1c05c7d8611 --- /dev/null +++ b/etc/images/symbols/cross_circle_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/menu_16.svg b/etc/images/symbols/menu_16.svg new file mode 100644 index 00000000000..bddc433b2eb --- /dev/null +++ b/etc/images/symbols/menu_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/minus_16.svg b/etc/images/symbols/minus_16.svg new file mode 100644 index 00000000000..9cb61d8d379 --- /dev/null +++ b/etc/images/symbols/minus_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/minus_circle_16.svg b/etc/images/symbols/minus_circle_16.svg new file mode 100644 index 00000000000..ced8594774f --- /dev/null +++ b/etc/images/symbols/minus_circle_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/plus_16.svg b/etc/images/symbols/plus_16.svg new file mode 100644 index 00000000000..a4d2f84f318 --- /dev/null +++ b/etc/images/symbols/plus_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/plus_circle_16.svg b/etc/images/symbols/plus_circle_16.svg new file mode 100644 index 00000000000..921857f5a84 --- /dev/null +++ b/etc/images/symbols/plus_circle_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/star_16.svg b/etc/images/symbols/star_16.svg new file mode 100644 index 00000000000..7ccbd6f01a5 --- /dev/null +++ b/etc/images/symbols/star_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/star_fill_16.svg b/etc/images/symbols/star_fill_16.svg new file mode 100644 index 00000000000..0e03675edd5 --- /dev/null +++ b/etc/images/symbols/star_fill_16.svg @@ -0,0 +1,3 @@ + + + diff --git a/etc/images/symbols/star_half_16.svg b/etc/images/symbols/star_half_16.svg new file mode 100644 index 00000000000..6c735ad64ae --- /dev/null +++ b/etc/images/symbols/star_half_16.svg @@ -0,0 +1,3 @@ + + +