@eturnity/eturnity_reusable_components 8.16.9-SLD.7 → 8.16.9-SLD.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.16.9-SLD.7",
3
+ "version": "8.16.9-SLD.8",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -1,3 +1,3 @@
1
1
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="2.5" y="2.5" width="11" height="11" rx="0.5" stroke="white"/>
2
+ <rect class="isStroke" x="2.5" y="2.5" width="11" height="11" rx="0.5" stroke="white"/>
3
3
  </svg>
@@ -186,6 +186,13 @@
186
186
  ${({ theme, color, fillType }) =>
187
187
  color && `${fillType}: ${theme.colors[color] || color};`}
188
188
  }
189
+ svg .isStroke {
190
+ ${({ theme, color }) =>
191
+ color && `stroke: ${theme.colors[color] || color};`}
192
+ }
193
+ svg .isFill {
194
+ ${({ theme, color }) => color && `fill: ${theme.colors[color] || color};`}
195
+ }
189
196
  svg .isStrokePath:not(.fix) {
190
197
  ${({ theme, color }) =>
191
198
  color && `stroke: ${theme.colors[color] || color};`}