@weni/unnnic-system 3.5.1-alpha.1 → 3.5.1-alpha.3
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/assets/scss/scheme-colors.scss +1 -1
- package/src/components/Icon.vue +10 -0
package/package.json
CHANGED
|
@@ -223,7 +223,7 @@ $unnnic-scheme-colors:
|
|
|
223
223
|
'weni-950' $unnnic-color-teal-950,
|
|
224
224
|
'brand-weni' $unnnic-color-teal-600,
|
|
225
225
|
'brand-weni-dark' $unnnic-color-teal-800,
|
|
226
|
-
'brand-weni-soft' $unnnic-color-teal-
|
|
226
|
+
'brand-weni-soft' $unnnic-color-teal-600,
|
|
227
227
|
'brand-sec-dark' $unnnic-color-blue-800,
|
|
228
228
|
'brand-sec-soft' $unnnic-color-blue-100,
|
|
229
229
|
'brand-sec' $unnnic-color-blue-600,
|
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
|
|