1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-03 12:50:45 -07:00
emacs/etc/images/symbols
2026-01-01 12:54:34 +00:00
..
check-mark_16.pbm
check-mark_16.svg
chevron_down_16.pbm
chevron_down_16.svg
chevron_left_16.pbm
chevron_left_16.svg
chevron_right_16.pbm
chevron_right_16.svg
chevron_up_16.pbm
chevron_up_16.svg
cross_16.pbm
cross_16.svg
cross_circle_16.pbm
cross_circle_16.svg
cross_circle_fill_16.pbm
cross_circle_fill_16.svg
dot_large_16.pbm
dot_large_16.svg
dot_medium_16.pbm
dot_medium_16.svg
dot_small_16.pbm
dot_small_16.svg
heart_16.pbm
heart_16.svg
heart_fill_16.pbm
heart_fill_16.svg
heart_half_16.pbm
heart_half_16.svg
menu_16.pbm
menu_16.svg
minus_16.pbm
minus_16.svg
minus_circle_16.pbm
minus_circle_16.svg
minus_circle_fill_16.pbm
minus_circle_fill_16.svg
plus_16.pbm
plus_16.svg
plus_circle_16.pbm
plus_circle_16.svg
plus_circle_fill_16.pbm
plus_circle_fill_16.svg
README ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
star_16.pbm
star_16.svg
star_fill_16.pbm
star_fill_16.svg
star_half_16.pbm
star_half_16.svg

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This directory contains icons for some inline symbols.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

Files: *.svg
Author: Yuan Fu <casouri@gmail.com>
Copyright (C) 2023-2026 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' <file>
sed -i 's/fill="black"//g' <file>

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.



Every time you modify the SVG icons, please use the ImageMagick
`convert' utility to convert them to PBM icons, for the sake of
Emacsen that cannot display SVG images.



The behavior described above for setting the foreground color to match
the text has changed.  It must now be set to `currentcolor', so the
above sed commands are now:

sed -i 's/fill="none"/fill="currentcolor"/g' <file>
sed -i 's/fill="black"/fille="currentcolor"/g' <file>