@weni/unnnic-system 3.5.1-alpha.1 → 3.5.1-alpha.2
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/dist/components/Icon.vue.d.ts.map +1 -1
- package/dist/{es-7035263a.mjs → es-d869d0fd.mjs} +1 -1
- package/dist/{index-b18284b9.mjs → index-bf654118.mjs} +5 -3
- package/dist/{pt-br-63dbb96b.mjs → pt-br-c72f0d66.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/Icon.vue +10 -0
package/package.json
CHANGED
package/src/components/Icon.vue
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
:class="[
|
|
23
23
|
'unnnic-icon',
|
|
24
24
|
`unnnic-icon--size-svg-${size}`,
|
|
25
|
+
`unnnic-icon__size--${size}`,
|
|
25
26
|
clickable ? 'unnnic--clickable' : '',
|
|
26
27
|
scheme ? `unnnic-icon-scheme--${scheme}` : '',
|
|
27
28
|
]"
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
'material-symbols-rounded',
|
|
39
40
|
`unnnic-icon-scheme--${scheme}`,
|
|
40
41
|
`unnnic-icon-size--${size}`,
|
|
42
|
+
`unnnic-icon__size--${size}`,
|
|
41
43
|
{
|
|
42
44
|
'unnnic--clickable': clickable,
|
|
43
45
|
'material-symbols-rounded--filled': filled,
|
|
@@ -151,6 +153,14 @@ $icon-sizes:
|
|
|
151
153
|
@each $name, $color in $unnnic-scheme-colors {
|
|
152
154
|
&.unnnic-icon-scheme--#{$name} {
|
|
153
155
|
color: $color;
|
|
156
|
+
|
|
157
|
+
& .primary {
|
|
158
|
+
fill: $color;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
& .primary-stroke {
|
|
162
|
+
stroke: $color;
|
|
163
|
+
}
|
|
154
164
|
}
|
|
155
165
|
}
|
|
156
166
|
|