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
The `<path />` portion within the `<symbol>` tags is the definition of the actual drawing.
86
+
87
+
You are defining a small icon, so it should fit within a square boundary and have a single solid color.
88
+
89
+
There are many simple SVG icon examples available online, for example, the link:https://www.svgviewer.dev/[SVG viewer site, window=_blank].
90
+
91
+
You only need to copy the `<path>` tags from your example SVG within the `<symbol> </symbol>` tags.
92
+
93
+
=== viewBox property
94
+
95
+
The link:https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox[viewBox property^] is in the order `min-x`, `min-y`, `width`, and `height`.
96
+
97
+
The first two properties should be `0 0` while the second should match any `width` and `height` properties from the source of your SVG paths.
98
+
99
+
The `width` and `height` properties may be added directly in the `<svg>` tag, or as part of `viewBox` property in that tag, or perhaps in another tag above `<path>`. Use the values from your source SVG in the `viewBox` property of the `<symbol>` element within your override file.
100
+
101
+
=== fill property
102
+
You can add the `fill` property to the `<symbol>` tag to define a different fill color than the default:
The `cdn.jsdeliver.net` domain is allowed on ThoughtSpot Embedded link:https://try-everywhere.thoughtspot.cloud/v2/#/everywhere/playground/search[public playground] and trial sites.
128
+
On your ThoughtSpot application instance, make sure to add the domain that will host the SVG file to xref:security-settings.adoc#csp-trusted-domain[the *CSP img-src domains* allowlist].
0 commit comments