@kizmann/nano-ui 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- package/demos/overview.html +32 -0
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +3 -3
- package/dist/nano-ui.js.map +1 -1
- package/dist/themes/light.css +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -0
- package/src/index.scss +1 -0
- package/src/info/src/info/info.js +5 -1
- package/src/tags/index.js +7 -0
- package/src/tags/index.scss +2 -0
- package/src/tags/src/tags/tags.js +109 -0
- package/src/tags/src/tags/tags.scss +5 -0
- package/src/tags/src/tags-item/tags-item.js +104 -0
- package/src/tags/src/tags-item/tags-item.scss +55 -0
- package/themes/light/index.scss +1 -0
- package/themes/light/root/vars.scss +23 -0
- package/themes/light/tags/index.scss +2 -0
- package/themes/light/tags/src/tags/tags.scss +1 -0
- package/themes/light/tags/src/tags-item/tags-item.scss +12 -0
@@ -158,3 +158,26 @@ $colors: (
|
|
158
158
|
'dark': $color-danger-dark
|
159
159
|
),
|
160
160
|
) !default;
|
161
|
+
|
162
|
+
$colors-tags: (
|
163
|
+
'0': mix($color-secondary, $color-secondary, 65%),
|
164
|
+
'1': mix($color-primary, $color-secondary, 65%),
|
165
|
+
'2': mix($color-danger, $color-secondary, 65%),
|
166
|
+
'3': mix($color-success, $color-secondary, 65%),
|
167
|
+
'4': mix($color-warning, $color-secondary, 65%),
|
168
|
+
'5': mix($color-primary, $color-success, 65%),
|
169
|
+
'6': mix($color-secondary, $color-success, 65%),
|
170
|
+
'7': mix($color-danger, $color-success, 65%),
|
171
|
+
'8': mix($color-success, $color-success, 65%),
|
172
|
+
'9': mix($color-warning, $color-success, 65%),
|
173
|
+
'10': mix($color-primary, $color-danger, 65%),
|
174
|
+
'11': mix($color-secondary, $color-danger, 65%),
|
175
|
+
'12': mix($color-danger, $color-danger, 65%),
|
176
|
+
'13': mix($color-success, $color-danger, 65%),
|
177
|
+
'14': mix($color-warning, $color-danger, 65%),
|
178
|
+
'15': mix($color-primary, $color-warning, 65%),
|
179
|
+
'16': mix($color-secondary, $color-warning, 65%),
|
180
|
+
'17': mix($color-danger, $color-warning, 65%),
|
181
|
+
'18': mix($color-success, $color-warning, 65%),
|
182
|
+
'19': mix($color-warning, $color-warning, 65%),
|
183
|
+
) !default;
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "../../../root/vars";
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
@each $-tags-index, $-tags-color in $colors-tags {
|
4
|
+
|
5
|
+
.n-tags-item--color-#{$-tags-index} {
|
6
|
+
background: rgba($-tags-color, 0.15);
|
7
|
+
}
|
8
|
+
.n-tags-item--color-#{$-tags-index} i {
|
9
|
+
color: rgba($-tags-color, 0.75);
|
10
|
+
}
|
11
|
+
|
12
|
+
}
|