Skip to content

Commit b9347f6

Browse files
dbusmnandre
authored andcommitted
[Icons] explain svg colors and improve example configuration
1 parent 405251f commit b9347f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Icons/doc/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ To keep your design consistent and easily adjustable, consider defining a
109109
:ref:`default attribute <icons_default_attributes>`. This allows you to control
110110
the size of all your icons from a single place.
111111

112+
Icon Color
113+
~~~~~~~~~~
114+
115+
Typically, SVG icons use ``fill="currentColor"`` to inherit the color of the containing element.
116+
You can set the color in CSS on the container or directly on the SVG element/class.
117+
118+
112119
Icon Sets
113120
~~~~~~~~~
114121

0 commit comments

Comments
 (0)