@filip.mazev/blocks-core 1.0.28 → 1.0.31

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.
@@ -0,0 +1,249 @@
1
+ @use 'sass:map';
2
+ @use 'sass:list';
3
+ @use 'palettes' as *;
4
+
5
+ $required-theme-keys: (
6
+ 'bg-canvas',
7
+ 'bg-surface',
8
+ 'bg-surface-alt',
9
+ 'bg-element',
10
+ 'bg-element-hover',
11
+ 'bg-element-active',
12
+
13
+ 'primary',
14
+ 'primary-hover',
15
+ 'primary-active',
16
+ 'primary-subtle',
17
+ 'on-primary',
18
+
19
+ 'text-heading',
20
+ 'text-primary',
21
+ 'text-secondary',
22
+ 'text-brand',
23
+ 'text-inverse',
24
+ 'text-info',
25
+ 'text-warn',
26
+ 'text-success',
27
+ 'text-danger',
28
+
29
+ 'border-subtle',
30
+ 'border-default',
31
+ 'border-strong',
32
+ 'border-brand',
33
+ 'border-info',
34
+ 'border-success',
35
+ 'border-warn',
36
+ 'border-danger',
37
+
38
+ 'bg-info',
39
+ 'bg-info-hover',
40
+ 'bg-info-active',
41
+ 'bg-info-disabled',
42
+ 'bg-info-subtle',
43
+
44
+ 'bg-success',
45
+ 'bg-success-hover',
46
+ 'bg-success-active',
47
+ 'bg-success-disabled',
48
+ 'bg-success-subtle',
49
+
50
+ 'bg-warn',
51
+ 'bg-warn-hover',
52
+ 'bg-warn-active',
53
+ 'bg-warn-disabled',
54
+ 'bg-warn-subtle',
55
+
56
+ 'bg-danger',
57
+ 'bg-danger-hover',
58
+ 'bg-danger-active',
59
+ 'bg-danger-disabled',
60
+ 'bg-danger-subtle',
61
+
62
+ 'scroll-bg',
63
+ 'scroll-thumb',
64
+ 'scroll-thumb-hover'
65
+ );
66
+
67
+ @function validate-theme($theme, $theme-name) {
68
+ @each $key in $required-theme-keys {
69
+ @if not map.has-key($theme, $key) {
70
+ @error "Strict Theme Error: '#{$theme-name}' is missing the required key '#{$key}'.";
71
+ }
72
+ }
73
+
74
+ @each $key, $value in $theme {
75
+ @if not list.index($required-theme-keys, $key) {
76
+ @error "Strict Theme Error: '#{$theme-name}' contains an invalid key '#{$key}'. Remove or rename it.";
77
+ }
78
+ }
79
+
80
+ @return $theme;
81
+ }
82
+
83
+ @function make-light-theme($brand, $overrides: ()) {
84
+ $base: (
85
+ 'bg-canvas': #ffffff,
86
+ 'bg-surface': #ffffff,
87
+ 'bg-surface-alt': get-color-from-palette($brand, 50),
88
+ 'bg-element': get-color-from-palette('neutral', 100),
89
+ 'bg-element-hover': get-color-from-palette($brand, 200),
90
+ 'bg-element-active': get-color-from-palette($brand, 300),
91
+
92
+ 'primary': get-color-from-palette($brand, 500),
93
+ 'primary-hover': get-color-from-palette($brand, 600),
94
+ 'primary-active': get-color-from-palette($brand, 700),
95
+ 'primary-subtle': rgba(get-color-from-palette($brand, 300), 0.6),
96
+ 'on-primary': get-color-from-palette('neutral', 100),
97
+
98
+ 'text-heading': get-color-from-palette('neutral', 900),
99
+ 'text-primary': get-color-from-palette('neutral', 700),
100
+ 'text-secondary': get-color-from-palette('neutral', 500),
101
+ 'text-brand': get-color-from-palette($brand, 700),
102
+ 'text-inverse': get-color-from-palette('neutral', 100),
103
+ 'text-info': get-color-from-palette('information', 700),
104
+ 'text-warn': get-color-from-palette('warn', 700),
105
+ 'text-success': get-color-from-palette('success', 700),
106
+ 'text-danger': get-color-from-palette('danger', 700),
107
+
108
+ 'border-subtle': get-color-from-palette('neutral', 200),
109
+ 'border-default': get-color-from-palette('neutral', 300),
110
+ 'border-strong': get-color-from-palette('neutral', 400),
111
+ 'border-brand': get-color-from-palette($brand, 400),
112
+ 'border-info': get-color-from-palette('information', 400),
113
+ 'border-success': get-color-from-palette('success', 400),
114
+ 'border-warn': get-color-from-palette('warn', 400),
115
+ 'border-danger': get-color-from-palette('danger', 400),
116
+
117
+ 'bg-info': get-color-from-palette('information', 100),
118
+ 'bg-info-hover': get-color-from-palette('information', 200),
119
+ 'bg-info-active': get-color-from-palette('information', 300),
120
+ 'bg-info-disabled': get-color-from-palette('information', 50),
121
+ 'bg-info-subtle': rgba(get-color-from-palette('information', 50), 0.95),
122
+
123
+ 'bg-success': get-color-from-palette('success', 100),
124
+ 'bg-success-hover': get-color-from-palette('success', 200),
125
+ 'bg-success-active': get-color-from-palette('success', 300),
126
+ 'bg-success-disabled': get-color-from-palette('success', 50),
127
+ 'bg-success-subtle': rgba(get-color-from-palette('success', 50), 0.95),
128
+
129
+ 'bg-warn': get-color-from-palette('warn', 100),
130
+ 'bg-warn-hover': get-color-from-palette('warn', 200),
131
+ 'bg-warn-active': get-color-from-palette('warn', 300),
132
+ 'bg-warn-disabled': get-color-from-palette('warn', 50),
133
+ 'bg-warn-subtle': rgba(get-color-from-palette('warn', 50), 0.95),
134
+
135
+ 'bg-danger': get-color-from-palette('danger', 100),
136
+ 'bg-danger-hover': get-color-from-palette('danger', 200),
137
+ 'bg-danger-active': get-color-from-palette('danger', 300),
138
+ 'bg-danger-disabled': get-color-from-palette('danger', 50),
139
+ 'bg-danger-subtle': rgba(get-color-from-palette('danger', 50), 0.95),
140
+
141
+ 'scroll-bg': get-color-from-palette($brand, 100),
142
+ 'scroll-thumb': linear-gradient(278deg, get-color-from-palette($brand, 300) -10.44%, get-color-from-palette($brand, 400) 100%),
143
+ 'scroll-thumb-hover': linear-gradient(278deg, get-color-from-palette($brand, 400) -10.44%, get-color-from-palette($brand, 700) 100%),
144
+ );
145
+
146
+ $merged-theme: map.merge($base, $overrides);
147
+
148
+ @return validate-theme($merged-theme, '#{$brand}-light');
149
+ }
150
+
151
+ @function make-dark-theme($brand, $overrides: ()) {
152
+ $base: (
153
+ 'bg-canvas': #000000,
154
+ 'bg-surface': get-color-from-palette('neutral', 1000),
155
+ 'bg-surface-alt': get-color-from-palette('neutral', 900),
156
+ 'bg-element': get-color-from-palette('neutral', 800),
157
+ 'bg-element-hover': get-color-from-palette($brand, 700),
158
+ 'bg-element-active': get-color-from-palette($brand, 800),
159
+
160
+ 'primary': get-color-from-palette($brand, 500),
161
+ 'primary-hover': get-color-from-palette($brand, 400),
162
+ 'primary-active': get-color-from-palette($brand, 300),
163
+ 'primary-subtle': rgba(get-color-from-palette($brand, 700), 0.6),
164
+ 'on-primary': #ffffff,
165
+
166
+ 'text-heading': #ffffff,
167
+ 'text-primary': get-color-from-palette('neutral', 200),
168
+ 'text-secondary': get-color-from-palette('neutral', 400),
169
+ 'text-brand': get-color-from-palette($brand, 300),
170
+ 'text-inverse': get-color-from-palette('neutral', 900),
171
+ 'text-info': get-color-from-palette('information', 400),
172
+ 'text-success': get-color-from-palette('success', 400),
173
+ 'text-warn': get-color-from-palette('warn', 400),
174
+ 'text-danger': get-color-from-palette('danger', 400),
175
+
176
+ 'border-subtle': get-color-from-palette('neutral', 900),
177
+ 'border-default': get-color-from-palette('neutral', 800),
178
+ 'border-strong': get-color-from-palette('neutral', 700),
179
+ 'border-brand': get-color-from-palette($brand, 600),
180
+ 'border-info': get-color-from-palette('information', 400),
181
+ 'border-success': get-color-from-palette('success', 400),
182
+ 'border-warn': get-color-from-palette('warn', 400),
183
+ 'border-danger': get-color-from-palette('danger', 400),
184
+
185
+ 'bg-info': get-color-from-palette('information', 900),
186
+ 'bg-info-hover': get-color-from-palette('information', 800),
187
+ 'bg-info-active': get-color-from-palette('information', 700),
188
+ 'bg-info-disabled': get-color-from-palette('information', 1000),
189
+ 'bg-info-subtle': rgba(get-color-from-palette('information', 1000), 0.95),
190
+
191
+ 'bg-success': get-color-from-palette('success', 900),
192
+ 'bg-success-hover': get-color-from-palette('success', 800),
193
+ 'bg-success-active': get-color-from-palette('success', 700),
194
+ 'bg-success-disabled': get-color-from-palette('success', 1000),
195
+ 'bg-success-subtle': rgba(get-color-from-palette('success', 1000), 0.95),
196
+
197
+ 'bg-warn': get-color-from-palette('warn', 900),
198
+ 'bg-warn-hover': get-color-from-palette('warn', 800),
199
+ 'bg-warn-active': get-color-from-palette('warn', 700),
200
+ 'bg-warn-disabled': get-color-from-palette('warn', 1000),
201
+ 'bg-warn-subtle': rgba(get-color-from-palette('warn', 1000), 0.95),
202
+
203
+ 'bg-danger': get-color-from-palette('danger', 900),
204
+ 'bg-danger-hover': get-color-from-palette('danger', 800),
205
+ 'bg-danger-active': get-color-from-palette('danger', 700),
206
+ 'bg-danger-disabled': get-color-from-palette('danger', 1000),
207
+ 'bg-danger-subtle': rgba(get-color-from-palette('danger', 1000), 0.95),
208
+
209
+ 'scroll-bg': get-color-from-palette($brand, 900),
210
+ 'scroll-thumb': linear-gradient(278deg, get-color-from-palette($brand, 700) -10.44%, get-color-from-palette($brand, 500) 100%),
211
+ 'scroll-thumb-hover': linear-gradient(278deg, get-color-from-palette($brand, 500) -10.44%, get-color-from-palette($brand, 400) 100%),
212
+ );
213
+
214
+ $merged-theme: map.merge($base, $overrides);
215
+
216
+ @return validate-theme($merged-theme, '#{$brand}-dark');
217
+ }
218
+
219
+ @mixin core-theme($config) {
220
+ @each $key, $value in $config {
221
+
222
+ @if $key !='meta-brand-palette' {
223
+ --bx-#{$key}: #{$value};
224
+
225
+ .bx-bg-#{$key} {
226
+ background-color: var(--bx-#{$key});
227
+ transition: background-color 0.2s ease-in-out;
228
+ }
229
+
230
+ .bx-text-#{$key} {
231
+ color: var(--bx-#{$key});
232
+ transition: color 0.2s ease-in-out;
233
+ }
234
+
235
+ .bx-border-#{$key} {
236
+ border-color: var(--bx-#{$key});
237
+ transition: border-color 0.2s ease-in-out;
238
+ }
239
+ }
240
+
241
+ @if $key =='meta-brand-palette' {
242
+ $brand-palette: get-palette($value);
243
+
244
+ @each $shade, $color in $brand-palette {
245
+ --bx-color-primary-#{$shade}: #{$color};
246
+ }
247
+ }
248
+ }
249
+ }
@@ -145,4 +145,12 @@
145
145
  }
146
146
  }
147
147
  }
148
+
149
+ .bx-icon-pos-start {
150
+ margin-right: 0.5rem;
151
+ }
152
+
153
+ .bx-icon-pos-end {
154
+ margin-left: 0.5rem;
155
+ }
148
156
  }
@@ -1,99 +1,4 @@
1
- @use '../palettes' as *;
1
+ @use '../theme-engine' as *;
2
2
 
3
- $green-light-theme: (
4
- 'bg-canvas': #ffffff,
5
- 'bg-surface': #ffffff,
6
- 'bg-surface-alt': get-color-from-palette('green', 50),
7
- 'bg-element': get-color-from-palette('neutral', 100),
8
- 'bg-element-hover': get-color-from-palette('green', 200),
9
-
10
- 'primary': get-color-from-palette('green', 500),
11
- 'primary-hover': get-color-from-palette('green', 600),
12
- 'primary-active': get-color-from-palette('green', 700),
13
- 'primary-subtle': rgba(get-color-from-palette('green', 300), 0.6),
14
- 'on-primary': get-color-from-palette('neutral', 100),
15
-
16
- 'text-heading': get-color-from-palette('neutral', 900),
17
- 'text-primary': get-color-from-palette('neutral', 700),
18
- 'text-secondary': get-color-from-palette('neutral', 500),
19
- 'text-brand': get-color-from-palette('green', 700),
20
- 'text-inverse': get-color-from-palette('neutral', 100),
21
-
22
- 'border-subtle': get-color-from-palette('neutral', 200),
23
- 'border-default': get-color-from-palette('neutral', 300),
24
- 'border-strong': get-color-from-palette('neutral', 400),
25
- 'border-brand': get-color-from-palette('green', 400),
26
-
27
- 'info-bg': get-color-from-palette('information', 100),
28
- 'info-bg-subtle': rgba(get-color-from-palette('information', 50), 0.95),
29
- 'info-border': get-color-from-palette('information', 200),
30
- 'info-text': get-color-from-palette('information', 700),
31
-
32
- 'success-bg': get-color-from-palette('success', 100),
33
- 'success-bg-subtle': rgba(get-color-from-palette('success', 50), 0.95),
34
- 'success-border': get-color-from-palette('success', 200),
35
- 'success-text': get-color-from-palette('success', 700),
36
-
37
- 'warn-bg': get-color-from-palette('warn', 100),
38
- 'warn-bg-subtle': rgba(get-color-from-palette('warn', 50), 0.95),
39
- 'warn-border': get-color-from-palette('warn', 200),
40
- 'warn-text': get-color-from-palette('warn', 700),
41
-
42
- 'error-bg': get-color-from-palette('error', 100),
43
- 'error-bg-subtle': rgba(get-color-from-palette('error', 50), 0.95),
44
- 'error-border': get-color-from-palette('error', 200),
45
- 'error-text': get-color-from-palette('error', 700),
46
-
47
- 'scroll-bg': get-color-from-palette('green', 100),
48
- 'scroll-thumb': linear-gradient(278deg, get-color-from-palette('green', 300) -10.44%, get-color-from-palette('green', 400) 100%),
49
- 'scroll-thumb-hover': linear-gradient(278deg, get-color-from-palette('green', 400) -10.44%, get-color-from-palette('green', 700) 100%),
50
- ) !default;
51
-
52
- $green-dark-theme: (
53
- 'bg-canvas': #000000,
54
- 'bg-surface': get-color-from-palette('neutral', 1000),
55
- 'bg-surface-alt': get-color-from-palette('neutral', 900),
56
- 'bg-element': get-color-from-palette('neutral', 800),
57
- 'bg-element-hover': get-color-from-palette('green', 700),
58
-
59
- 'primary': get-color-from-palette('green', 500),
60
- 'primary-hover': get-color-from-palette('green', 400),
61
- 'primary-active': get-color-from-palette('green', 300),
62
- 'primary-subtle': rgba(get-color-from-palette('green', 700), 0.6),
63
- 'on-primary': #ffffff,
64
-
65
- 'text-heading': #ffffff,
66
- 'text-primary': get-color-from-palette('neutral', 200),
67
- 'text-secondary': get-color-from-palette('neutral', 400),
68
- 'text-brand': get-color-from-palette('green', 300),
69
- 'text-inverse': get-color-from-palette('neutral', 900),
70
-
71
- 'border-subtle': get-color-from-palette('neutral', 900),
72
- 'border-default': get-color-from-palette('neutral', 800),
73
- 'border-strong': get-color-from-palette('neutral', 700),
74
- 'border-brand': get-color-from-palette('green', 600),
75
-
76
- 'info-bg': get-color-from-palette('information', 900),
77
- 'info-bg-subtle': rgba(get-color-from-palette('information', 1000), 0.95),
78
- 'info-border': get-color-from-palette('information', 900),
79
- 'info-text': get-color-from-palette('information', 400),
80
-
81
- 'success-bg': get-color-from-palette('success', 900),
82
- 'success-bg-subtle': rgba(get-color-from-palette('success', 1000), 0.95),
83
- 'success-border': get-color-from-palette('success', 900),
84
- 'success-text': get-color-from-palette('success', 400),
85
-
86
- 'warn-bg': get-color-from-palette('warn', 900),
87
- 'warn-bg-subtle': rgba(get-color-from-palette('warn', 1000), 0.95),
88
- 'warn-border': get-color-from-palette('warn', 900),
89
- 'warn-text': get-color-from-palette('warn', 400),
90
-
91
- 'error-bg': get-color-from-palette('error', 900),
92
- 'error-bg-subtle': rgba(get-color-from-palette('error', 1000), 0.95),
93
- 'error-border': get-color-from-palette('error', 900),
94
- 'error-text': get-color-from-palette('error', 400),
95
-
96
- 'scroll-bg': get-color-from-palette('green', 900),
97
- 'scroll-thumb': linear-gradient(278deg, get-color-from-palette('green', 700) -10.44%, get-color-from-palette('green', 500) 100%),
98
- 'scroll-thumb-hover': linear-gradient(278deg, get-color-from-palette('green', 500) -10.44%, get-color-from-palette('green', 400) 100%),
99
- ) !default;
3
+ $green-light-theme: make-light-theme('green');
4
+ $green-dark-theme: make-dark-theme('green');
@@ -1,97 +1,122 @@
1
1
  @use '../palettes' as *;
2
-
3
- $high-contrast-light-theme: (
4
- 'bg-canvas': $hc-white,
5
- 'bg-surface': $hc-white,
6
- 'bg-surface-alt': $hc-white,
7
- 'bg-element': $hc-white,
8
- 'bg-element-hover': $hc-yellow,
9
-
10
- 'primary': $hc-black,
11
- 'primary-hover': $hc-black,
12
- 'primary-active': $hc-black,
13
- 'primary-subtle': $hc-white,
14
- 'on-primary': $hc-white,
15
-
16
- 'text-heading': $hc-black,
17
- 'text-primary': $hc-black,
18
- 'text-secondary': $hc-black,
19
- 'text-brand': $hc-black,
20
- 'text-inverse': $hc-white,
21
-
22
- 'border-subtle': $hc-black,
23
- 'border-default': $hc-black,
24
- 'border-strong': $hc-black,
25
- 'border-brand': $hc-black,
26
-
27
- 'info-bg': $hc-white,
28
- 'info-bg-subtle': $hc-white,
29
- 'info-border': $hc-black,
30
- 'info-text': $hc-cyan,
31
-
32
- 'success-bg': $hc-white,
33
- 'success-bg-subtle': $hc-white,
34
- 'success-border': $hc-black,
35
- 'success-text': $hc-green,
36
-
37
- 'warn-bg': $hc-white,
38
- 'warn-bg-subtle': $hc-white,
39
- 'warn-border': $hc-black,
40
- 'warn-text': $hc-yellow,
41
-
42
- 'error-bg': $hc-white,
43
- 'error-bg-subtle': $hc-white,
44
- 'error-border': $hc-black,
45
- 'error-text': $hc-red,
46
-
47
- 'scroll-bg': $hc-white,
48
- 'scroll-thumb': $hc-black,
49
- 'scroll-thumb-hover': $hc-yellow) !default;
50
-
51
- $high-contrast-dark-theme: (
52
- 'bg-canvas': $hc-black,
53
- 'bg-surface': $hc-black,
54
- 'bg-surface-alt': $hc-black,
55
- 'bg-element': $hc-black,
56
- 'bg-element-hover': $hc-yellow,
57
-
58
- 'primary': $hc-white,
59
- 'primary-hover': $hc-white,
60
- 'primary-active': $hc-white,
61
- 'primary-subtle': $hc-black,
62
- 'on-primary': $hc-black,
63
-
64
- 'text-heading': $hc-white,
65
- 'text-primary': $hc-white,
66
- 'text-secondary': $hc-white,
67
- 'text-brand': $hc-white,
68
- 'text-inverse': $hc-black,
69
-
70
- 'border-subtle': $hc-white,
71
- 'border-default': $hc-white,
72
- 'border-strong': $hc-white,
73
- 'border-brand': $hc-white,
74
-
75
- 'info-bg': $hc-black,
76
- 'info-bg-subtle': $hc-black,
77
- 'info-border': $hc-white,
78
- 'info-text': $hc-cyan,
79
-
80
- 'success-bg': $hc-black,
81
- 'success-bg-subtle': $hc-black,
82
- 'success-border': $hc-white,
83
- 'success-text': $hc-green,
84
-
85
- 'warn-bg': $hc-black,
86
- 'warn-bg-subtle': $hc-black,
87
- 'warn-border': $hc-white,
88
- 'warn-text': $hc-yellow,
89
-
90
- 'error-bg': $hc-black,
91
- 'error-bg-subtle': $hc-black,
92
- 'error-border': $hc-white,
93
- 'error-text': $hc-red,
94
-
95
- 'scroll-bg': $hc-black,
96
- 'scroll-thumb': $hc-white,
97
- 'scroll-thumb-hover': $hc-yellow) !default;
2
+ @use '../theme-engine' as *;
3
+
4
+ $high-contrast-light-theme: validate-theme(('bg-canvas': $hc-white,
5
+ 'bg-surface': $hc-white,
6
+ 'bg-surface-alt': $hc-white,
7
+ 'bg-element': $hc-white,
8
+ 'bg-element-hover': $hc-yellow,
9
+ 'bg-element-active': $hc-yellow,
10
+
11
+ 'primary': $hc-black,
12
+ 'primary-hover': $hc-black,
13
+ 'primary-active': $hc-black,
14
+ 'primary-subtle': $hc-white,
15
+ 'on-primary': $hc-white,
16
+
17
+ 'text-heading': $hc-black,
18
+ 'text-primary': $hc-black,
19
+ 'text-secondary': $hc-black,
20
+ 'text-brand': $hc-black,
21
+ 'text-inverse': $hc-white,
22
+ 'text-info': $hc-cyan,
23
+ 'text-success': $hc-green,
24
+ 'text-warn': $hc-yellow,
25
+ 'text-danger': $hc-red,
26
+
27
+ 'border-subtle': $hc-black,
28
+ 'border-default': $hc-black,
29
+ 'border-strong': $hc-black,
30
+ 'border-brand': $hc-black,
31
+ 'border-info': $hc-black,
32
+ 'border-success': $hc-black,
33
+ 'border-warn': $hc-black,
34
+ 'border-danger': $hc-black,
35
+
36
+ 'bg-info': $hc-white,
37
+ 'bg-info-hover': $hc-white,
38
+ 'bg-info-active': $hc-white,
39
+ 'bg-info-disabled': $hc-white,
40
+ 'bg-info-subtle': $hc-white,
41
+
42
+ 'bg-success': $hc-white,
43
+ 'bg-success-hover': $hc-white,
44
+ 'bg-success-active': $hc-white,
45
+ 'bg-success-disabled': $hc-white,
46
+ 'bg-success-subtle': $hc-white,
47
+
48
+ 'bg-warn': $hc-white,
49
+ 'bg-warn-hover': $hc-white,
50
+ 'bg-warn-active': $hc-white,
51
+ 'bg-warn-disabled': $hc-white,
52
+ 'bg-warn-subtle': $hc-white,
53
+
54
+ 'bg-danger': $hc-white,
55
+ 'bg-danger-hover': $hc-white,
56
+ 'bg-danger-active': $hc-white,
57
+ 'bg-danger-disabled': $hc-white,
58
+ 'bg-danger-subtle': $hc-white,
59
+
60
+ 'scroll-bg': $hc-white,
61
+ 'scroll-thumb': $hc-black,
62
+ 'scroll-thumb-hover': $hc-yellow), 'high-contrast-light') !default;
63
+
64
+ $high-contrast-dark-theme: validate-theme(('bg-canvas': $hc-black,
65
+ 'bg-surface': $hc-black,
66
+ 'bg-surface-alt': $hc-black,
67
+ 'bg-element': $hc-black,
68
+ 'bg-element-hover': $hc-yellow,
69
+ 'bg-element-active': $hc-yellow,
70
+
71
+ 'primary': $hc-white,
72
+ 'primary-hover': $hc-white,
73
+ 'primary-active': $hc-white,
74
+ 'primary-subtle': $hc-black,
75
+ 'on-primary': $hc-black,
76
+
77
+ 'text-heading': $hc-white,
78
+ 'text-primary': $hc-white,
79
+ 'text-secondary': $hc-white,
80
+ 'text-brand': $hc-white,
81
+ 'text-inverse': $hc-black,
82
+ 'text-info': $hc-cyan,
83
+ 'text-success': $hc-green,
84
+ 'text-warn': $hc-yellow,
85
+ 'text-danger': $hc-red,
86
+
87
+ 'border-subtle': $hc-white,
88
+ 'border-default': $hc-white,
89
+ 'border-strong': $hc-white,
90
+ 'border-brand': $hc-white,
91
+ 'border-info': $hc-white,
92
+ 'border-success': $hc-white,
93
+ 'border-warn': $hc-white,
94
+ 'border-danger': $hc-white,
95
+
96
+ 'bg-info': $hc-black,
97
+ 'bg-info-hover': $hc-black,
98
+ 'bg-info-active': $hc-black,
99
+ 'bg-info-disabled': $hc-black,
100
+ 'bg-info-subtle': $hc-black,
101
+
102
+ 'bg-success': $hc-black,
103
+ 'bg-success-hover': $hc-black,
104
+ 'bg-success-active': $hc-black,
105
+ 'bg-success-disabled': $hc-black,
106
+ 'bg-success-subtle': $hc-black,
107
+
108
+ 'bg-warn': $hc-black,
109
+ 'bg-warn-hover': $hc-black,
110
+ 'bg-warn-active': $hc-black,
111
+ 'bg-warn-disabled': $hc-black,
112
+ 'bg-warn-subtle': $hc-black,
113
+
114
+ 'bg-danger': $hc-black,
115
+ 'bg-danger-hover': $hc-black,
116
+ 'bg-danger-active': $hc-black,
117
+ 'bg-danger-disabled': $hc-black,
118
+ 'bg-danger-subtle': $hc-black,
119
+
120
+ 'scroll-bg': $hc-black,
121
+ 'scroll-thumb': $hc-white,
122
+ 'scroll-thumb-hover': $hc-yellow), 'high-contrast-dark') !default;