@siemens/element-theme 51.5.0 → 51.7.0
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/package.json +1 -1
- package/src/styles/_density.scss +43 -130
- package/src/styles/_variables.scss +2 -1
- package/src/styles/bootstrap/_alert.scss +22 -23
- package/src/styles/bootstrap/_badges.scss +42 -43
- package/src/styles/bootstrap/_button-group.scss +14 -15
- package/src/styles/bootstrap/_buttons.scss +70 -71
- package/src/styles/bootstrap/_card.scss +16 -16
- package/src/styles/bootstrap/_dropdowns.scss +6 -7
- package/src/styles/bootstrap/_functions.scss +4 -8
- package/src/styles/bootstrap/_images.scss +2 -2
- package/src/styles/bootstrap/_list-group.scss +14 -15
- package/src/styles/bootstrap/_modals.scss +4 -9
- package/src/styles/bootstrap/_nav.scss +12 -14
- package/src/styles/bootstrap/_pagination.scss +6 -8
- package/src/styles/bootstrap/_popovers.scss +4 -5
- package/src/styles/bootstrap/_reboot.scss +4 -3
- package/src/styles/bootstrap/_root.scss +11 -0
- package/src/styles/bootstrap/_tables.scss +4 -4
- package/src/styles/bootstrap/_type.scss +92 -91
- package/src/styles/bootstrap/_utilities.scss +39 -39
- package/src/styles/bootstrap/_variables.scss +129 -126
- package/src/styles/bootstrap/forms/_form-check.scss +22 -23
- package/src/styles/bootstrap/forms/_form-control.scss +15 -15
- package/src/styles/bootstrap/forms/_form-file.scss +7 -7
- package/src/styles/bootstrap/forms/_form-range.scss +13 -13
- package/src/styles/bootstrap/forms/_validation.scss +2 -2
- package/src/styles/bootstrap/mixins/_badge-text.scss +2 -1
- package/src/styles/components/_application-header.scss +24 -25
- package/src/styles/components/_datatable.scss +19 -21
- package/src/styles/components/_drag_drop.scss +1 -1
- package/src/styles/components/_elevation.scss +5 -5
- package/src/styles/components/_layout.scss +9 -9
- package/src/styles/components/_links.scss +2 -2
- package/src/styles/components/_list-item.scss +8 -8
- package/src/styles/components/_markdown.scss +1 -1
- package/src/styles/components/_scrollbar.scss +4 -4
- package/src/styles/components/_search-bar.scss +10 -10
- package/src/styles/components/_skeleton.scss +5 -6
- package/src/styles/components/_widgets.scss +6 -3
- package/src/styles/mixins/_utilities.scss +87 -87
- package/src/styles/variables/_elevation.scss +9 -9
- package/src/styles/variables/_focus.scss +20 -19
- package/src/styles/variables/_si-sys-variables-compat.scss +10 -0
- package/src/styles/variables/_sizing.scss +22 -20
- package/src/styles/variables/_spacers.scss +29 -28
- package/src/styles/variables/_system-tokens.scss +2 -202
- package/src/styles/variables/_typography.scss +97 -95
- package/src/styles/variables/_utilities.scss +56 -56
- package/src/styles/variables/si-sys-sizing.compact.map-flat.scss +86 -0
- package/src/styles/variables/si-sys-sizing.default.map-flat.scss +86 -0
- package/src/styles/variables/si-sys-typography.compact.map-flat.scss +140 -0
- package/src/styles/variables/si-sys-typography.default.map-flat.scss +140 -0
- package/src/styles/variables/si-sys-variables.scss +400 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
1
2
|
@use '../variables/typography';
|
|
2
3
|
@use '../selectors';
|
|
3
4
|
@use './variables';
|
|
@@ -343,9 +344,9 @@ table {
|
|
|
343
344
|
|
|
344
345
|
caption {
|
|
345
346
|
@include typography.si-font(
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
si-sys-variables.$si-sys-typography-body-sm-font-size,
|
|
348
|
+
si-sys-variables.$si-sys-typography-body-sm-line-height,
|
|
349
|
+
si-sys-variables.$si-sys-typography-body-sm-font-weight
|
|
349
350
|
);
|
|
350
351
|
padding-block: variables.$table-cell-padding-y;
|
|
351
352
|
color: variables.$table-caption-color;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use './variables';
|
|
2
2
|
@use '../selectors';
|
|
3
|
+
@use '../variables/semantic-tokens';
|
|
3
4
|
|
|
4
5
|
@use 'sass:meta';
|
|
5
6
|
|
|
@@ -15,4 +16,14 @@
|
|
|
15
16
|
--#{variables.$variable-prefix}body-line-height: #{variables.$line-height-base};
|
|
16
17
|
--#{variables.$variable-prefix}body-color: #{variables.$body-color};
|
|
17
18
|
--#{variables.$variable-prefix}body-bg: #{variables.$body-bg};
|
|
19
|
+
|
|
20
|
+
// DEPRECATED: Drop the shadow compat mappings below with Element 52.
|
|
21
|
+
// Support the new shadow token names with themes that still define the old names.
|
|
22
|
+
--si-sys-color-effects-shadow-10: var(--si-sys-color-effects-shadow-1);
|
|
23
|
+
--si-sys-color-effects-shadow-20: var(--si-sys-color-effects-shadow-2);
|
|
24
|
+
--si-sys-color-effects-shadow-30: var(--si-sys-color-effects-shadow-3);
|
|
25
|
+
--si-sys-color-effects-shadow-40: var(--si-sys-color-effects-shadow-4);
|
|
26
|
+
|
|
27
|
+
// Support the system opacity token with themes that still define only the legacy token.
|
|
28
|
+
--si-sys-color-effects-disable-opacity: #{semantic-tokens.$element-action-disabled-opacity};
|
|
18
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use '../variables/spacers';
|
|
2
|
-
@use '../variables/
|
|
2
|
+
@use '../variables/si-sys-variables';
|
|
3
3
|
@use 'mixins/breakpoints';
|
|
4
4
|
@use 'mixins/table-row';
|
|
5
5
|
@use 'variables';
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
|
|
69
69
|
th {
|
|
70
70
|
vertical-align: baseline;
|
|
71
|
-
font-size:
|
|
72
|
-
font-weight:
|
|
73
|
-
line-height:
|
|
71
|
+
font-size: si-sys-variables.$si-sys-typography-h5-font-size;
|
|
72
|
+
font-weight: si-sys-variables.$si-sys-typography-h5-font-weight;
|
|
73
|
+
line-height: si-sys-variables.$si-sys-typography-h5-line-height;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
1
2
|
@use '../variables/typography';
|
|
2
3
|
@use './mixins/lists';
|
|
3
4
|
@use './variables';
|
|
@@ -106,18 +107,18 @@ h1,
|
|
|
106
107
|
.h1,
|
|
107
108
|
.si-h1 {
|
|
108
109
|
@include typography.si-font(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
si-sys-variables.$si-sys-typography-h1-font-size,
|
|
111
|
+
si-sys-variables.$si-sys-typography-h1-line-height,
|
|
112
|
+
si-sys-variables.$si-sys-typography-h1-font-weight
|
|
112
113
|
);
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
// DEPRECATED: Use .si-h1 instead.
|
|
116
117
|
.si-h1-bold {
|
|
117
118
|
@include typography.si-font(
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
typography.$si-font-weight-
|
|
119
|
+
si-sys-variables.$si-sys-typography-h1-font-size,
|
|
120
|
+
si-sys-variables.$si-sys-typography-h1-line-height,
|
|
121
|
+
typography.$si-font-weight-bold
|
|
121
122
|
);
|
|
122
123
|
}
|
|
123
124
|
|
|
@@ -125,9 +126,9 @@ h2,
|
|
|
125
126
|
.h2,
|
|
126
127
|
.si-h2 {
|
|
127
128
|
@include typography.si-font(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
si-sys-variables.$si-sys-typography-h2-font-size,
|
|
130
|
+
si-sys-variables.$si-sys-typography-h2-line-height,
|
|
131
|
+
si-sys-variables.$si-sys-typography-h2-font-weight
|
|
131
132
|
);
|
|
132
133
|
}
|
|
133
134
|
|
|
@@ -135,18 +136,18 @@ h3,
|
|
|
135
136
|
.h3,
|
|
136
137
|
.si-h3 {
|
|
137
138
|
@include typography.si-font(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
si-sys-variables.$si-sys-typography-h3-font-size,
|
|
140
|
+
si-sys-variables.$si-sys-typography-h3-line-height,
|
|
141
|
+
si-sys-variables.$si-sys-typography-h3-font-weight
|
|
141
142
|
);
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
// DEPRECATED: Use .si-h4 instead.
|
|
145
146
|
.si-h4-bold {
|
|
146
147
|
@include typography.si-font(
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
typography.$si-font-weight-
|
|
148
|
+
si-sys-variables.$si-sys-typography-h4-font-size,
|
|
149
|
+
si-sys-variables.$si-sys-typography-h4-line-height,
|
|
150
|
+
typography.$si-font-weight-bold
|
|
150
151
|
);
|
|
151
152
|
}
|
|
152
153
|
|
|
@@ -154,17 +155,17 @@ h4,
|
|
|
154
155
|
.h4,
|
|
155
156
|
.si-h4 {
|
|
156
157
|
@include typography.si-font(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
si-sys-variables.$si-sys-typography-h4-font-size,
|
|
159
|
+
si-sys-variables.$si-sys-typography-h4-line-height,
|
|
160
|
+
si-sys-variables.$si-sys-typography-h4-font-weight
|
|
160
161
|
);
|
|
161
162
|
}
|
|
162
163
|
|
|
163
164
|
.si-h5-bold {
|
|
164
165
|
@include typography.si-font(
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
si-sys-variables.$si-sys-typography-h5-bold-font-size,
|
|
167
|
+
si-sys-variables.$si-sys-typography-h5-bold-line-height,
|
|
168
|
+
si-sys-variables.$si-sys-typography-h5-bold-font-weight
|
|
168
169
|
);
|
|
169
170
|
}
|
|
170
171
|
|
|
@@ -172,9 +173,9 @@ h5,
|
|
|
172
173
|
.h5,
|
|
173
174
|
.si-h5 {
|
|
174
175
|
@include typography.si-font(
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
si-sys-variables.$si-sys-typography-h5-font-size,
|
|
177
|
+
si-sys-variables.$si-sys-typography-h5-line-height,
|
|
178
|
+
si-sys-variables.$si-sys-typography-h5-font-weight
|
|
178
179
|
);
|
|
179
180
|
}
|
|
180
181
|
|
|
@@ -182,132 +183,132 @@ h6,
|
|
|
182
183
|
.h6,
|
|
183
184
|
.si-h6 {
|
|
184
185
|
@include typography.si-font(
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
si-sys-variables.$si-sys-typography-h6-font-size,
|
|
187
|
+
si-sys-variables.$si-sys-typography-h6-line-height,
|
|
188
|
+
si-sys-variables.$si-sys-typography-h6-font-weight
|
|
188
189
|
);
|
|
189
190
|
}
|
|
190
191
|
|
|
191
192
|
.si-body-lg {
|
|
192
193
|
@include typography.si-font(
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
si-sys-variables.$si-sys-typography-body-lg-font-size,
|
|
195
|
+
si-sys-variables.$si-sys-typography-body-lg-line-height,
|
|
196
|
+
si-sys-variables.$si-sys-typography-body-lg-font-weight
|
|
196
197
|
);
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
.si-body-lg-sbold {
|
|
200
201
|
@include typography.si-font(
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
si-sys-variables.$si-sys-typography-body-lg-sbold-font-size,
|
|
203
|
+
si-sys-variables.$si-sys-typography-body-lg-sbold-line-height,
|
|
204
|
+
si-sys-variables.$si-sys-typography-body-lg-sbold-font-weight
|
|
204
205
|
);
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
.si-body {
|
|
208
209
|
@include typography.si-font(
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
si-sys-variables.$si-sys-typography-body-font-size,
|
|
211
|
+
si-sys-variables.$si-sys-typography-body-line-height,
|
|
212
|
+
si-sys-variables.$si-sys-typography-body-font-weight
|
|
212
213
|
);
|
|
213
214
|
}
|
|
214
215
|
|
|
215
216
|
.si-body-sbold {
|
|
216
217
|
@include typography.si-font(
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
si-sys-variables.$si-sys-typography-body-sbold-font-size,
|
|
219
|
+
si-sys-variables.$si-sys-typography-body-sbold-line-height,
|
|
220
|
+
si-sys-variables.$si-sys-typography-body-sbold-font-weight
|
|
220
221
|
);
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
.si-body-paragraph {
|
|
224
225
|
@include typography.si-font(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
si-sys-variables.$si-sys-typography-body-paragraph-font-size,
|
|
227
|
+
si-sys-variables.$si-sys-typography-body-paragraph-line-height,
|
|
228
|
+
si-sys-variables.$si-sys-typography-body-paragraph-font-weight
|
|
228
229
|
);
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
.si-body-paragraph-sbold {
|
|
232
233
|
@include typography.si-font(
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
si-sys-variables.$si-sys-typography-body-paragraph-sbold-font-size,
|
|
235
|
+
si-sys-variables.$si-sys-typography-body-paragraph-sbold-line-height,
|
|
236
|
+
si-sys-variables.$si-sys-typography-body-paragraph-sbold-font-weight
|
|
236
237
|
);
|
|
237
238
|
}
|
|
238
239
|
|
|
239
240
|
.si-body-sm {
|
|
240
241
|
@include typography.si-font(
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
si-sys-variables.$si-sys-typography-body-sm-font-size,
|
|
243
|
+
si-sys-variables.$si-sys-typography-body-sm-line-height,
|
|
244
|
+
si-sys-variables.$si-sys-typography-body-sm-font-weight
|
|
244
245
|
);
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
.si-body-sm-sbold {
|
|
248
249
|
@include typography.si-font(
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
si-sys-variables.$si-sys-typography-body-sm-sbold-font-size,
|
|
251
|
+
si-sys-variables.$si-sys-typography-body-sm-sbold-line-height,
|
|
252
|
+
si-sys-variables.$si-sys-typography-body-sm-sbold-font-weight
|
|
252
253
|
);
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
// DEPRECATED: Use .si-body-sm instead.
|
|
256
257
|
.si-caption {
|
|
257
258
|
@include typography.si-font(
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
si-sys-variables.$si-sys-typography-body-sm-font-size,
|
|
260
|
+
si-sys-variables.$si-sys-typography-body-sm-line-height,
|
|
261
|
+
si-sys-variables.$si-sys-typography-body-sm-font-weight
|
|
261
262
|
);
|
|
262
263
|
}
|
|
263
264
|
|
|
264
265
|
.si-display-xl,
|
|
265
266
|
.display-1 {
|
|
266
267
|
@include typography.si-font(
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
si-sys-variables.$si-sys-typography-display-xl-font-size,
|
|
269
|
+
si-sys-variables.$si-sys-typography-display-xl-line-height,
|
|
270
|
+
si-sys-variables.$si-sys-typography-display-xl-font-weight
|
|
270
271
|
);
|
|
271
272
|
}
|
|
272
273
|
|
|
273
274
|
.si-display-xl-sbold {
|
|
274
275
|
@include typography.si-font(
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
si-sys-variables.$si-sys-typography-display-xl-sbold-font-size,
|
|
277
|
+
si-sys-variables.$si-sys-typography-display-xl-sbold-line-height,
|
|
278
|
+
si-sys-variables.$si-sys-typography-display-xl-sbold-font-weight
|
|
278
279
|
);
|
|
279
280
|
}
|
|
280
281
|
|
|
281
282
|
.si-display-xxl {
|
|
282
283
|
@include typography.si-font(
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
si-sys-variables.$si-sys-typography-display-xxl-font-size,
|
|
285
|
+
si-sys-variables.$si-sys-typography-display-xxl-line-height,
|
|
286
|
+
si-sys-variables.$si-sys-typography-display-xxl-font-weight
|
|
286
287
|
);
|
|
287
288
|
}
|
|
288
289
|
|
|
289
290
|
.si-display-xxl-sbold {
|
|
290
291
|
@include typography.si-font(
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
si-sys-variables.$si-sys-typography-display-xxl-sbold-font-size,
|
|
293
|
+
si-sys-variables.$si-sys-typography-display-xxl-sbold-line-height,
|
|
294
|
+
si-sys-variables.$si-sys-typography-display-xxl-sbold-font-weight
|
|
294
295
|
);
|
|
295
296
|
}
|
|
296
297
|
|
|
297
298
|
.si-display-lg,
|
|
298
299
|
.display-2 {
|
|
299
300
|
@include typography.si-font(
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
si-sys-variables.$si-sys-typography-display-lg-font-size,
|
|
302
|
+
si-sys-variables.$si-sys-typography-display-lg-line-height,
|
|
303
|
+
si-sys-variables.$si-sys-typography-display-lg-font-weight
|
|
303
304
|
);
|
|
304
305
|
}
|
|
305
306
|
|
|
306
307
|
.si-display-lg-sbold {
|
|
307
308
|
@include typography.si-font(
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
si-sys-variables.$si-sys-typography-display-lg-sbold-font-size,
|
|
310
|
+
si-sys-variables.$si-sys-typography-display-lg-sbold-line-height,
|
|
311
|
+
si-sys-variables.$si-sys-typography-display-lg-sbold-font-weight
|
|
311
312
|
);
|
|
312
313
|
}
|
|
313
314
|
|
|
@@ -315,56 +316,56 @@ h6,
|
|
|
315
316
|
.si-display-bold,
|
|
316
317
|
.display-3 {
|
|
317
318
|
@include typography.si-font(
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
typography.$si-font-weight-
|
|
319
|
+
si-sys-variables.$si-sys-typography-display-lg-font-size,
|
|
320
|
+
si-sys-variables.$si-sys-typography-display-lg-line-height,
|
|
321
|
+
typography.$si-font-weight-bold
|
|
321
322
|
);
|
|
322
323
|
}
|
|
323
324
|
|
|
324
325
|
.si-display-sbold {
|
|
325
326
|
@include typography.si-font(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
327
|
+
si-sys-variables.$si-sys-typography-display-sbold-font-size,
|
|
328
|
+
si-sys-variables.$si-sys-typography-display-sbold-line-height,
|
|
329
|
+
si-sys-variables.$si-sys-typography-display-sbold-font-weight
|
|
329
330
|
);
|
|
330
331
|
}
|
|
331
332
|
|
|
332
333
|
.si-display,
|
|
333
334
|
.display-4 {
|
|
334
335
|
@include typography.si-font(
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
si-sys-variables.$si-sys-typography-display-font-size,
|
|
337
|
+
si-sys-variables.$si-sys-typography-display-line-height,
|
|
338
|
+
si-sys-variables.$si-sys-typography-display-font-weight
|
|
338
339
|
);
|
|
339
340
|
}
|
|
340
341
|
|
|
341
342
|
.si-code-sm,
|
|
342
343
|
.si-code,
|
|
343
344
|
.si-code-lg {
|
|
344
|
-
font-family:
|
|
345
|
+
font-family: si-sys-variables.$si-sys-typography-code-font-family;
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
.si-code-sm {
|
|
348
349
|
@include typography.si-font(
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
si-sys-variables.$si-sys-typography-code-sm-font-size,
|
|
351
|
+
si-sys-variables.$si-sys-typography-code-sm-line-height,
|
|
352
|
+
si-sys-variables.$si-sys-typography-code-sm-font-weight
|
|
352
353
|
);
|
|
353
354
|
}
|
|
354
355
|
|
|
355
356
|
.si-code {
|
|
356
357
|
@include typography.si-font(
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
si-sys-variables.$si-sys-typography-code-font-size,
|
|
359
|
+
si-sys-variables.$si-sys-typography-code-line-height,
|
|
360
|
+
si-sys-variables.$si-sys-typography-code-font-weight
|
|
360
361
|
);
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
.si-code-lg {
|
|
364
365
|
@include typography.si-font(
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
si-sys-variables.$si-sys-typography-code-lg-font-size,
|
|
367
|
+
si-sys-variables.$si-sys-typography-code-lg-line-height,
|
|
368
|
+
si-sys-variables.$si-sys-typography-code-lg-font-weight
|
|
368
369
|
);
|
|
369
370
|
}
|
|
370
371
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../variables/
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
2
2
|
@use '../variables/utilities' as variables-utilities;
|
|
3
3
|
@use 'mixins/breakpoints';
|
|
4
4
|
@use 'mixins/utilities' as mixins-utilities;
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
|
|
38
38
|
// Deprecated legacy utilities. Use system-token text utilities instead.
|
|
39
39
|
$text-colors: (
|
|
40
|
-
'body':
|
|
41
|
-
'tertiary':
|
|
42
|
-
'info':
|
|
43
|
-
'muted':
|
|
40
|
+
'body': si-sys-variables.$si-sys-color-text-primary,
|
|
41
|
+
'tertiary': si-sys-variables.$si-sys-color-text-disabled,
|
|
42
|
+
'info': si-sys-variables.$si-sys-color-text-information,
|
|
43
|
+
'muted': si-sys-variables.$si-sys-color-text-disabled
|
|
44
44
|
) !default;
|
|
45
45
|
|
|
46
46
|
@each $color, $value in $text-colors {
|
|
@@ -51,26 +51,26 @@ $text-colors: (
|
|
|
51
51
|
|
|
52
52
|
// Deprecated legacy utilities. Use system-token background utilities instead.
|
|
53
53
|
$background-colors: (
|
|
54
|
-
'primary':
|
|
55
|
-
'secondary':
|
|
56
|
-
'tertiary':
|
|
57
|
-
'success':
|
|
58
|
-
'info':
|
|
59
|
-
'warning':
|
|
60
|
-
'danger':
|
|
61
|
-
'base-0':
|
|
62
|
-
'base-1':
|
|
63
|
-
'base-2':
|
|
64
|
-
'base-3':
|
|
65
|
-
'base-4':
|
|
66
|
-
'base-success':
|
|
67
|
-
'base-info':
|
|
68
|
-
'base-caution':
|
|
69
|
-
'base-warning':
|
|
70
|
-
'base-danger':
|
|
71
|
-
'base-critical':
|
|
72
|
-
'base-translucent-1':
|
|
73
|
-
'base-translucent-2':
|
|
54
|
+
'primary': si-sys-variables.$si-sys-color-background-accent,
|
|
55
|
+
'secondary': si-sys-variables.$si-sys-color-text-secondary,
|
|
56
|
+
'tertiary': si-sys-variables.$si-sys-color-text-disabled,
|
|
57
|
+
'success': si-sys-variables.$si-sys-color-background-success,
|
|
58
|
+
'info': si-sys-variables.$si-sys-color-background-information,
|
|
59
|
+
'warning': si-sys-variables.$si-sys-color-background-warning,
|
|
60
|
+
'danger': si-sys-variables.$si-sys-color-background-danger,
|
|
61
|
+
'base-0': si-sys-variables.$si-sys-color-background-0,
|
|
62
|
+
'base-1': si-sys-variables.$si-sys-color-background-1,
|
|
63
|
+
'base-2': si-sys-variables.$si-sys-color-background-2,
|
|
64
|
+
'base-3': si-sys-variables.$si-sys-color-background-3,
|
|
65
|
+
'base-4': si-sys-variables.$si-sys-color-background-4,
|
|
66
|
+
'base-success': si-sys-variables.$si-sys-color-background-success-subtle,
|
|
67
|
+
'base-info': si-sys-variables.$si-sys-color-background-information-subtle,
|
|
68
|
+
'base-caution': si-sys-variables.$si-sys-color-background-caution-subtle,
|
|
69
|
+
'base-warning': si-sys-variables.$si-sys-color-background-warning-subtle,
|
|
70
|
+
'base-danger': si-sys-variables.$si-sys-color-background-danger-subtle,
|
|
71
|
+
'base-critical': si-sys-variables.$si-sys-color-background-critical-subtle,
|
|
72
|
+
'base-translucent-1': si-sys-variables.$si-sys-color-effects-backdrop,
|
|
73
|
+
'base-translucent-2': si-sys-variables.$si-sys-color-background-inverse
|
|
74
74
|
) !default;
|
|
75
75
|
|
|
76
76
|
@each $color, $value in $background-colors {
|
|
@@ -80,20 +80,20 @@ $background-colors: (
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
$status-colors: (
|
|
83
|
-
'success':
|
|
84
|
-
'info':
|
|
85
|
-
'caution':
|
|
86
|
-
'warning':
|
|
87
|
-
'danger':
|
|
88
|
-
'critical':
|
|
89
|
-
'neutral':
|
|
90
|
-
'success-contrast':
|
|
91
|
-
'info-contrast':
|
|
92
|
-
'caution-contrast':
|
|
93
|
-
'warning-contrast':
|
|
94
|
-
'danger-contrast':
|
|
95
|
-
'critical-contrast':
|
|
96
|
-
'neutral-contrast':
|
|
83
|
+
'success': si-sys-variables.$si-sys-color-background-success,
|
|
84
|
+
'info': si-sys-variables.$si-sys-color-background-information,
|
|
85
|
+
'caution': si-sys-variables.$si-sys-color-background-caution,
|
|
86
|
+
'warning': si-sys-variables.$si-sys-color-background-warning,
|
|
87
|
+
'danger': si-sys-variables.$si-sys-color-background-danger,
|
|
88
|
+
'critical': si-sys-variables.$si-sys-color-background-critical,
|
|
89
|
+
'neutral': si-sys-variables.$si-sys-color-background-neutral,
|
|
90
|
+
'success-contrast': si-sys-variables.$si-sys-color-text-on-success,
|
|
91
|
+
'info-contrast': si-sys-variables.$si-sys-color-text-on-information,
|
|
92
|
+
'caution-contrast': si-sys-variables.$si-sys-color-text-on-caution,
|
|
93
|
+
'warning-contrast': si-sys-variables.$si-sys-color-text-on-warning,
|
|
94
|
+
'danger-contrast': si-sys-variables.$si-sys-color-text-on-danger,
|
|
95
|
+
'critical-contrast': si-sys-variables.$si-sys-color-text-on-critical,
|
|
96
|
+
'neutral-contrast': si-sys-variables.$si-sys-color-text-on-neutral
|
|
97
97
|
) !default;
|
|
98
98
|
|
|
99
99
|
@each $color, $value in $status-colors {
|