You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We definde contextual icons. If you don't like e.g. the share icon - override it without touching the share icon used by the system.
30
+
31
+
* Icons like copy, cut, paste
32
+
* Identical function all over the site
33
+
* That's why we reuse those icons
34
+
* Specific icon name is based on the usage in the system
35
+
36
+
## Icon expression
37
+
38
+
* icon_expression field is used again to define icons (e.g. for actions, contenttypes)
39
+
* Use icon name for icon expressions
40
+
41
+
26
42
# Customization
27
43
28
44
* Add custom icons
@@ -32,9 +48,9 @@ Icons are shipped via plone.staticresources. Check out the [package.json](https:
32
48
33
49
# Icon Font
34
50
35
-
* TODO
36
51
* Setup profile to install icon font
37
52
* Usage as known from e.g. Font Awesome
53
+
* TODO
38
54
39
55
40
56
# Iconresolver
@@ -49,8 +65,16 @@ URL method of @@icons view returns the actual URL to the SVG icon. This can be u
49
65
50
66
## Get Icon Tag
51
67
52
-
Tag method is used with tal:replace and returns an entire inline SVG image. tag_class and tag_alt is used to pass in custom classes and an alt text.
68
+
Tag method is used with tal:replace and returns an entire inline SVG image. Inline icons can be styled via CSS. tag_class and tag_alt is used to pass in custom classes and an alt text.
0 commit comments