-
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy path_index.scss
More file actions
39 lines (30 loc) · 784 Bytes
/
_index.scss
File metadata and controls
39 lines (30 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Specifics
@import './controls';
/* Dividers */
.hr {
@include colorize($contrasted-border-color: primary background -70%);
}
.hr-light {
@include colorize($border-color: accent-light);
}
.hr-dark {
@include colorize($border-color: accent-dark);
}
// export each map to CSS custom variables
.ns-root,
.ns-modal {
@each $name in map-keys($colors) {
--color-#{"" + $name}: #{color($name)};
}
@each $name in map-keys($constants) {
@if (not map-has-key($colors, $name)) {
--const-#{"" + $name}: #{const($name)};
}
}
@each $name in map-keys($light-colors) {
--light-#{"" + $name}: #{light($name)};
}
@each $name in map-keys($dark-colors) {
--dark-#{"" + $name}: #{dark($name)};
}
}