@kizmann/nano-ui 0.8.7 → 0.8.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,2 @@
1
+ @import "./src/tags/tags";
2
+ @import "./src/tags-item/tags-item";
@@ -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
+ }