@siemens/element-theme 51.6.0 → 51.8.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 +23 -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,5 +1,5 @@
|
|
|
1
1
|
@use '../variables/animations';
|
|
2
|
-
@use '../variables/
|
|
2
|
+
@use '../variables/si-sys-variables';
|
|
3
3
|
@use '../variables/semantic-tokens';
|
|
4
4
|
@use '../variables/spacers';
|
|
5
5
|
@use '../variables/sizing';
|
|
@@ -43,20 +43,20 @@ $position-values: (
|
|
|
43
43
|
//
|
|
44
44
|
// Settings for the `<body>` element.
|
|
45
45
|
|
|
46
|
-
$body-bg:
|
|
47
|
-
$body-color:
|
|
46
|
+
$body-bg: si-sys-variables.$si-sys-color-background-0 !default;
|
|
47
|
+
$body-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
48
48
|
$body-text-align: null !default;
|
|
49
49
|
|
|
50
50
|
// Links
|
|
51
51
|
//
|
|
52
52
|
// Style anchor elements.
|
|
53
53
|
|
|
54
|
-
$link-color:
|
|
54
|
+
$link-color: si-sys-variables.$si-sys-color-text-accent;
|
|
55
55
|
$link-decoration: none !default;
|
|
56
56
|
$link-shade-percentage: 20% !default;
|
|
57
|
-
$link-hover-color:
|
|
57
|
+
$link-hover-color: si-sys-variables.$si-sys-color-text-accent-hover;
|
|
58
58
|
$link-hover-decoration: underline !default;
|
|
59
|
-
$link-border-radius:
|
|
59
|
+
$link-border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs;
|
|
60
60
|
|
|
61
61
|
$stretched-link-pseudo-element: after !default;
|
|
62
62
|
$stretched-link-z-index: 1 !default;
|
|
@@ -127,23 +127,23 @@ $border-widths: (
|
|
|
127
127
|
5: 5px
|
|
128
128
|
) !default;
|
|
129
129
|
|
|
130
|
-
$border-color:
|
|
130
|
+
$border-color: si-sys-variables.$si-sys-color-border-4 !default;
|
|
131
131
|
|
|
132
|
-
$border-radius:
|
|
133
|
-
$border-radius-sm:
|
|
134
|
-
$border-radius-lg:
|
|
132
|
+
$border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm !default;
|
|
133
|
+
$border-radius-sm: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|
|
134
|
+
$border-radius-lg: si-sys-variables.$si-sys-sizing-border-radius-sm !default;
|
|
135
135
|
$border-radius-pill: 50rem !default;
|
|
136
136
|
|
|
137
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
138
|
-
$box-shadow:
|
|
139
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
140
|
-
$box-shadow-sm:
|
|
141
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
142
|
-
$box-shadow-lg:
|
|
137
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-20 instead.
|
|
138
|
+
$box-shadow: si-sys-variables.$si-sys-color-effects-shadow-20 !default;
|
|
139
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-10 instead.
|
|
140
|
+
$box-shadow-sm: si-sys-variables.$si-sys-color-effects-shadow-10 !default;
|
|
141
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-30 instead.
|
|
142
|
+
$box-shadow-lg: si-sys-variables.$si-sys-color-effects-shadow-30 !default;
|
|
143
143
|
// DEPRECATED: There is no replacement.
|
|
144
144
|
$box-shadow-inset: inset 0 1px 1px var(--element-box-shadow-color-2);
|
|
145
145
|
|
|
146
|
-
$component-active-color:
|
|
146
|
+
$component-active-color: si-sys-variables.$si-sys-color-text-on-accent !default;
|
|
147
147
|
|
|
148
148
|
$transition-base: all animations.element-transition-duration(0.2s) ease-in-out !default;
|
|
149
149
|
$transition-fade: opacity animations.element-transition-duration(0.15s) linear !default;
|
|
@@ -160,16 +160,16 @@ $aspect-ratios: (
|
|
|
160
160
|
// Typography
|
|
161
161
|
//
|
|
162
162
|
// Font, line-height, and color for body text, headings, and more.
|
|
163
|
-
$font-family-sans-serif:
|
|
164
|
-
$font-family-monospace:
|
|
163
|
+
$font-family-sans-serif: si-sys-variables.$si-sys-typography-body-font-family;
|
|
164
|
+
$font-family-monospace: si-sys-variables.$si-sys-typography-code-font-family !default;
|
|
165
165
|
|
|
166
166
|
$font-family-base: $font-family-sans-serif !default;
|
|
167
167
|
$font-family-code: $font-family-monospace !default;
|
|
168
168
|
|
|
169
169
|
// $font-size-base effects the font size of the body text
|
|
170
|
-
$font-size-base:
|
|
171
|
-
$font-size-lg:
|
|
172
|
-
$font-size-sm:
|
|
170
|
+
$font-size-base: si-sys-variables.$si-sys-typography-body-font-size !default;
|
|
171
|
+
$font-size-lg: si-sys-variables.$si-sys-typography-body-lg-font-size !default;
|
|
172
|
+
$font-size-sm: si-sys-variables.$si-sys-typography-body-sm-font-size !default;
|
|
173
173
|
|
|
174
174
|
$font-weight-lighter: typography.$si-font-weight-lighter;
|
|
175
175
|
$font-weight-light: typography.$si-font-weight-light;
|
|
@@ -181,16 +181,16 @@ $font-weight-bolder: typography.$si-font-weight-bolder;
|
|
|
181
181
|
|
|
182
182
|
$font-weight-base: $font-weight-normal !default;
|
|
183
183
|
|
|
184
|
-
$line-height-base:
|
|
184
|
+
$line-height-base: si-sys-variables.$si-sys-typography-body-line-height !default;
|
|
185
185
|
$line-height-sm: 1.25 !default;
|
|
186
186
|
$line-height-lg: 2 !default;
|
|
187
187
|
|
|
188
|
-
$h1-font-size:
|
|
189
|
-
$h2-font-size:
|
|
190
|
-
$h3-font-size:
|
|
191
|
-
$h4-font-size:
|
|
192
|
-
$h5-font-size:
|
|
193
|
-
$h6-font-size:
|
|
188
|
+
$h1-font-size: si-sys-variables.$si-sys-typography-h1-font-size !default;
|
|
189
|
+
$h2-font-size: si-sys-variables.$si-sys-typography-h2-font-size !default;
|
|
190
|
+
$h3-font-size: si-sys-variables.$si-sys-typography-h3-font-size !default;
|
|
191
|
+
$h4-font-size: si-sys-variables.$si-sys-typography-h4-font-size !default;
|
|
192
|
+
$h5-font-size: si-sys-variables.$si-sys-typography-h5-font-size !default;
|
|
193
|
+
$h6-font-size: si-sys-variables.$si-sys-typography-h6-font-size !default;
|
|
194
194
|
|
|
195
195
|
$font-sizes: (
|
|
196
196
|
1: $h1-font-size,
|
|
@@ -206,27 +206,27 @@ $headings-font-family: null !default;
|
|
|
206
206
|
$headings-font-style: null !default;
|
|
207
207
|
$headings-font-weight: typography.$si-font-weight-sbold !default;
|
|
208
208
|
$headings-line-height: 1.2 !default;
|
|
209
|
-
$headings-color:
|
|
209
|
+
$headings-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
210
210
|
|
|
211
|
-
$lead-font-size:
|
|
212
|
-
$lead-line-height:
|
|
213
|
-
$lead-font-weight:
|
|
211
|
+
$lead-font-size: si-sys-variables.$si-sys-typography-body-lg-font-size !default;
|
|
212
|
+
$lead-line-height: si-sys-variables.$si-sys-typography-body-lg-line-height !default;
|
|
213
|
+
$lead-font-weight: si-sys-variables.$si-sys-typography-body-lg-font-weight !default;
|
|
214
214
|
|
|
215
|
-
$small-font-size:
|
|
215
|
+
$small-font-size: si-sys-variables.$si-sys-typography-body-sm-font-size !default;
|
|
216
216
|
|
|
217
217
|
$sub-sup-font-size: 0.75em !default;
|
|
218
218
|
|
|
219
219
|
$initialism-font-size: $small-font-size !default;
|
|
220
220
|
|
|
221
|
-
$text-disabled:
|
|
221
|
+
$text-disabled: si-sys-variables.$si-sys-color-text-disabled !default;
|
|
222
222
|
|
|
223
223
|
$blockquote-margin-y: map.get(spacers.$spacers-block, 6) !default;
|
|
224
|
-
$blockquote-font-size:
|
|
225
|
-
$blockquote-footer-color:
|
|
224
|
+
$blockquote-font-size: si-sys-variables.$si-sys-typography-body-lg-font-size !default;
|
|
225
|
+
$blockquote-footer-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
226
226
|
$blockquote-footer-font-size: $small-font-size !default;
|
|
227
227
|
|
|
228
228
|
$hr-margin-y: map.get(spacers.$spacers-block, 6) !default;
|
|
229
|
-
$hr-color:
|
|
229
|
+
$hr-color: si-sys-variables.$si-sys-color-border-4 !default;
|
|
230
230
|
$hr-height: $border-width !default;
|
|
231
231
|
$hr-opacity: 1 !default;
|
|
232
232
|
|
|
@@ -242,8 +242,8 @@ $nested-kbd-font-weight: $font-weight-bold !default;
|
|
|
242
242
|
|
|
243
243
|
$list-inline-padding: 0.5rem !default;
|
|
244
244
|
|
|
245
|
-
$mark-bg:
|
|
246
|
-
$mark-color:
|
|
245
|
+
$mark-bg: si-sys-variables.$si-sys-color-background-caution;
|
|
246
|
+
$mark-color: si-sys-variables.$si-sys-color-text-on-caution;
|
|
247
247
|
|
|
248
248
|
// Tables
|
|
249
249
|
//
|
|
@@ -257,19 +257,19 @@ $table-cell-padding-x-sm: map.get(spacers.$spacers-inline, 4) !default;
|
|
|
257
257
|
$table-cell-vertical-align: top !default;
|
|
258
258
|
|
|
259
259
|
$table-color: $body-color !default;
|
|
260
|
-
$table-bg:
|
|
260
|
+
$table-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
261
261
|
$table-accent-bg: transparent !default;
|
|
262
262
|
|
|
263
263
|
$table-th-font-weight: typography.$si-font-weight-sbold !default;
|
|
264
264
|
|
|
265
265
|
$table-striped-color: $table-color !default;
|
|
266
|
-
$table-striped-bg:
|
|
266
|
+
$table-striped-bg: si-sys-variables.$si-sys-color-background-0 !default;
|
|
267
267
|
|
|
268
268
|
$table-active-color: $table-color !default;
|
|
269
|
-
$table-active-bg:
|
|
269
|
+
$table-active-bg: si-sys-variables.$si-sys-color-background-active !default;
|
|
270
270
|
|
|
271
271
|
$table-hover-color: $table-color !default;
|
|
272
|
-
$table-hover-bg:
|
|
272
|
+
$table-hover-bg: si-sys-variables.$si-sys-color-background-hover !default;
|
|
273
273
|
|
|
274
274
|
$table-border-width: $border-width !default;
|
|
275
275
|
$table-border-color: $border-color !default;
|
|
@@ -278,13 +278,13 @@ $table-striped-order: odd !default;
|
|
|
278
278
|
|
|
279
279
|
$table-group-separator-color: currentColor !default;
|
|
280
280
|
|
|
281
|
-
$table-caption-color:
|
|
281
|
+
$table-caption-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
282
282
|
|
|
283
283
|
$table-variants: (
|
|
284
|
-
'success':
|
|
285
|
-
'info':
|
|
286
|
-
'warning':
|
|
287
|
-
'danger':
|
|
284
|
+
'success': si-sys-variables.$si-sys-color-background-success-subtle,
|
|
285
|
+
'info': si-sys-variables.$si-sys-color-background-information-subtle,
|
|
286
|
+
'warning': si-sys-variables.$si-sys-color-background-warning-subtle,
|
|
287
|
+
'danger': si-sys-variables.$si-sys-color-background-danger-subtle
|
|
288
288
|
) !default;
|
|
289
289
|
|
|
290
290
|
// Buttons
|
|
@@ -302,12 +302,12 @@ $btn-padding-y-lg: map.get(spacers.$spacers-block, 5);
|
|
|
302
302
|
|
|
303
303
|
$btn-link-color: $link-color !default;
|
|
304
304
|
$btn-link-hover-color: $link-hover-color !default;
|
|
305
|
-
$btn-link-disabled-color:
|
|
305
|
+
$btn-link-disabled-color: si-sys-variables.$si-sys-color-text-disabled !default;
|
|
306
306
|
|
|
307
307
|
// Allows for customizing button radius independently from global border radius
|
|
308
|
-
$btn-border-radius:
|
|
309
|
-
$btn-border-radius-sm:
|
|
310
|
-
$btn-border-radius-lg:
|
|
308
|
+
$btn-border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|
|
309
|
+
$btn-border-radius-sm: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|
|
310
|
+
$btn-border-radius-lg: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|
|
311
311
|
|
|
312
312
|
$btn-transition:
|
|
313
313
|
color 0.15s ease-in-out,
|
|
@@ -322,13 +322,13 @@ $form-text-margin-top: map.get(spacers.$spacers-block, 2);
|
|
|
322
322
|
$form-text-font-size: $small-font-size !default;
|
|
323
323
|
$form-text-font-style: null !default;
|
|
324
324
|
$form-text-font-weight: null !default;
|
|
325
|
-
$form-text-color:
|
|
325
|
+
$form-text-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
326
326
|
|
|
327
327
|
$form-label-margin-bottom: 4px !default;
|
|
328
|
-
$form-label-font-size:
|
|
328
|
+
$form-label-font-size: si-sys-variables.$si-sys-typography-body-font-size !default;
|
|
329
329
|
$form-label-font-style: null !default;
|
|
330
330
|
$form-label-font-weight: null !default;
|
|
331
|
-
$form-label-color:
|
|
331
|
+
$form-label-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
332
332
|
|
|
333
333
|
$input-padding-y-full: map.get(spacers.$spacers-block, 4);
|
|
334
334
|
$input-padding-y: calc(map.get(spacers.$spacers-block, 4) - 1px); // 8px including 1px border
|
|
@@ -339,26 +339,29 @@ $input-font-size: $font-size-base;
|
|
|
339
339
|
$input-font-weight: $font-weight-base;
|
|
340
340
|
// Use an explicit rem value instead of a unitless ratio to prevent cross-browser
|
|
341
341
|
// rounding differences (Safari rounds 14 × 1.1428... to 15px, Chrome to 16px). See #2031
|
|
342
|
-
$input-line-height: calc(
|
|
342
|
+
$input-line-height: calc(
|
|
343
|
+
si-sys-variables.$si-sys-typography-body-font-size *
|
|
344
|
+
si-sys-variables.$si-sys-typography-body-line-height
|
|
345
|
+
);
|
|
343
346
|
|
|
344
|
-
$input-bg:
|
|
345
|
-
$input-disabled-bg:
|
|
346
|
-
$input-disabled-color:
|
|
347
|
-
$input-disabled-border-color:
|
|
347
|
+
$input-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
348
|
+
$input-disabled-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
349
|
+
$input-disabled-color: si-sys-variables.$si-sys-color-text-disabled !default;
|
|
350
|
+
$input-disabled-border-color: si-sys-variables.$si-sys-color-border-4 !default;
|
|
348
351
|
|
|
349
|
-
$input-color:
|
|
350
|
-
$input-border-color:
|
|
351
|
-
$input-focus-border-color:
|
|
352
|
+
$input-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
353
|
+
$input-border-color: si-sys-variables.$si-sys-color-border-2 !default;
|
|
354
|
+
$input-focus-border-color: si-sys-variables.$si-sys-color-border-1 !default;
|
|
352
355
|
$input-border-width: $border-width !default;
|
|
353
356
|
// DEPRECATED: There is no replacement.
|
|
354
357
|
$input-box-shadow: $box-shadow-inset !default;
|
|
355
358
|
|
|
356
|
-
$input-border-radius:
|
|
359
|
+
$input-border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|
|
357
360
|
|
|
358
361
|
$input-focus-bg: $input-bg !default;
|
|
359
362
|
$input-focus-color: $input-color !default;
|
|
360
363
|
|
|
361
|
-
$input-placeholder-color:
|
|
364
|
+
$input-placeholder-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
362
365
|
$input-placeholder-disabled-color: transparent !default;
|
|
363
366
|
$input-plaintext-color: $body-color !default;
|
|
364
367
|
|
|
@@ -380,15 +383,15 @@ $input-group-addon-padding-y: $input-padding-y !default;
|
|
|
380
383
|
$input-group-addon-padding-x: $input-padding-x !default;
|
|
381
384
|
$input-group-addon-font-weight: $input-font-weight !default;
|
|
382
385
|
$input-group-addon-color: $input-color !default;
|
|
383
|
-
$input-group-addon-bg:
|
|
386
|
+
$input-group-addon-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
384
387
|
$input-group-addon-border-color: $input-border-color !default;
|
|
385
388
|
|
|
386
389
|
// Form validation
|
|
387
390
|
|
|
388
391
|
$form-feedback-font-size: $form-text-font-size !default;
|
|
389
392
|
$form-feedback-valid-color: null !default;
|
|
390
|
-
$form-feedback-warning-color:
|
|
391
|
-
$form-feedback-invalid-color:
|
|
393
|
+
$form-feedback-warning-color: si-sys-variables.$si-sys-color-text-warning !default;
|
|
394
|
+
$form-feedback-invalid-color: si-sys-variables.$si-sys-color-text-danger !default;
|
|
392
395
|
|
|
393
396
|
$form-feedback-icon-valid: semantic-tokens.$element-feedback-icon-valid;
|
|
394
397
|
$form-feedback-icon-invalid: semantic-tokens.$element-feedback-icon-invalid;
|
|
@@ -401,12 +404,12 @@ $form-validation-states: (
|
|
|
401
404
|
'icon': $form-feedback-icon-valid
|
|
402
405
|
),
|
|
403
406
|
'invalid': (
|
|
404
|
-
'color':
|
|
407
|
+
'color': si-sys-variables.$si-sys-color-border-danger,
|
|
405
408
|
'text-color': $form-feedback-invalid-color,
|
|
406
409
|
'icon': $form-feedback-icon-invalid
|
|
407
410
|
),
|
|
408
411
|
'warning': (
|
|
409
|
-
'color':
|
|
412
|
+
'color': si-sys-variables.$si-sys-color-border-warning,
|
|
410
413
|
'text-color': $form-feedback-warning-color,
|
|
411
414
|
'icon': $form-feedback-icon-warning
|
|
412
415
|
)
|
|
@@ -423,25 +426,25 @@ $form-validation-states: (
|
|
|
423
426
|
|
|
424
427
|
$nav-link-padding-y: 10px;
|
|
425
428
|
$nav-link-padding-x: map.get(spacers.$spacers-inline, 8);
|
|
426
|
-
$nav-link-font-size:
|
|
427
|
-
$nav-link-font-weight:
|
|
428
|
-
$nav-link-line-height:
|
|
429
|
-
$nav-link-color:
|
|
429
|
+
$nav-link-font-size: si-sys-variables.$si-sys-typography-h4-font-size;
|
|
430
|
+
$nav-link-font-weight: si-sys-variables.$si-sys-typography-h4-font-weight;
|
|
431
|
+
$nav-link-line-height: si-sys-variables.$si-sys-typography-h4-line-height;
|
|
432
|
+
$nav-link-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
430
433
|
$nav-link-hover-color: $link-hover-color !default;
|
|
431
434
|
$nav-link-transition: ();
|
|
432
|
-
$nav-link-disabled-color:
|
|
435
|
+
$nav-link-disabled-color: si-sys-variables.$si-sys-color-text-disabled !default;
|
|
433
436
|
|
|
434
437
|
$nav-tabs-border-color: transparent;
|
|
435
438
|
$nav-tabs-border-width: 2px;
|
|
436
439
|
$nav-tabs-border-radius: 0;
|
|
437
440
|
$nav-tabs-link-hover-border-color: transparent transparent $nav-tabs-border-color !default;
|
|
438
|
-
$nav-tabs-link-active-color:
|
|
441
|
+
$nav-tabs-link-active-color: si-sys-variables.$si-sys-color-text-accent-active !default;
|
|
439
442
|
$nav-tabs-link-active-bg: transparent !default;
|
|
440
443
|
|
|
441
444
|
// Badges
|
|
442
|
-
$badge-font-size:
|
|
443
|
-
$badge-font-weight:
|
|
444
|
-
$badge-color:
|
|
445
|
+
$badge-font-size: si-sys-variables.$si-sys-typography-body-font-size;
|
|
446
|
+
$badge-font-weight: si-sys-variables.$si-sys-typography-body-font-weight;
|
|
447
|
+
$badge-color: si-sys-variables.$si-sys-color-text-inverse !default;
|
|
445
448
|
$badge-padding-y: map.get(spacers.$spacers-block, 1);
|
|
446
449
|
$badge-padding-x: map.get(spacers.$spacers-inline, 4);
|
|
447
450
|
$badge-border-radius: 0.75rem;
|
|
@@ -460,16 +463,16 @@ $dropdown-font-size: $font-size-base !default;
|
|
|
460
463
|
// this is to have room for icon and badges
|
|
461
464
|
$dropdown-line-height: $badge-height;
|
|
462
465
|
$dropdown-color: $body-color !default;
|
|
463
|
-
$dropdown-bg:
|
|
464
|
-
$dropdown-border-radius:
|
|
465
|
-
$dropdown-divider-bg:
|
|
466
|
+
$dropdown-bg: si-sys-variables.$si-sys-color-background-3 !default;
|
|
467
|
+
$dropdown-border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm !default;
|
|
468
|
+
$dropdown-divider-bg: si-sys-variables.$si-sys-color-border-4 !default;
|
|
466
469
|
$dropdown-divider-margin-y: 4px !default;
|
|
467
|
-
$dropdown-box-shadow:
|
|
468
|
-
$dropdown-link-color:
|
|
469
|
-
$dropdown-link-disabled-color:
|
|
470
|
+
$dropdown-box-shadow: si-sys-variables.$si-sys-color-effects-shadow-30 !default;
|
|
471
|
+
$dropdown-link-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
472
|
+
$dropdown-link-disabled-color: si-sys-variables.$si-sys-color-text-disabled !default;
|
|
470
473
|
$dropdown-item-padding-y: map.get(spacers.$spacers-block, 2);
|
|
471
474
|
$dropdown-item-padding-x: map.get(spacers.$spacers-inline, 5);
|
|
472
|
-
$dropdown-header-color:
|
|
475
|
+
$dropdown-header-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
473
476
|
|
|
474
477
|
// Cards
|
|
475
478
|
|
|
@@ -480,11 +483,11 @@ $card-border-radius: $border-radius !default;
|
|
|
480
483
|
$card-inner-border-radius: $card-border-radius;
|
|
481
484
|
$card-cap-padding-y: map.get(spacers.$spacers-block, 5) !default;
|
|
482
485
|
$card-cap-padding-x: $card-spacer-x !default;
|
|
483
|
-
$card-cap-bg:
|
|
486
|
+
$card-cap-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
484
487
|
$card-cap-color: null !default;
|
|
485
488
|
$card-height: null !default;
|
|
486
489
|
$card-color: null !default;
|
|
487
|
-
$card-bg:
|
|
490
|
+
$card-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
488
491
|
$card-img-overlay-padding: map.get(spacers.$spacers-block, 6) map.get(spacers.$spacers-inline, 6) !default;
|
|
489
492
|
$card-group-margin: $grid-gutter-width !default;
|
|
490
493
|
|
|
@@ -492,9 +495,9 @@ $card-group-margin: $grid-gutter-width !default;
|
|
|
492
495
|
|
|
493
496
|
$tooltip-font-size: $font-size-base !default;
|
|
494
497
|
$tooltip-max-width: 200px !default;
|
|
495
|
-
$tooltip-color:
|
|
496
|
-
$tooltip-bg:
|
|
497
|
-
$tooltip-border-radius:
|
|
498
|
+
$tooltip-color: si-sys-variables.$si-sys-color-text-inverse !default;
|
|
499
|
+
$tooltip-bg: si-sys-variables.$si-sys-color-background-inverse !default;
|
|
500
|
+
$tooltip-border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm !default;
|
|
498
501
|
$tooltip-opacity: 0.9 !default;
|
|
499
502
|
$tooltip-padding-y: map.get(spacers.$spacers-block, 4) !default;
|
|
500
503
|
$tooltip-padding-x: map.get(spacers.$spacers-inline, 6) !default;
|
|
@@ -507,24 +510,24 @@ $tooltip-arrow-color: $tooltip-bg !default;
|
|
|
507
510
|
// Popovers
|
|
508
511
|
|
|
509
512
|
$popover-font-size: $font-size-base;
|
|
510
|
-
$popover-bg:
|
|
513
|
+
$popover-bg: si-sys-variables.$si-sys-color-background-3 !default;
|
|
511
514
|
$popover-max-width: 276px !default;
|
|
512
515
|
$popover-border-width: $border-width !default;
|
|
513
|
-
$popover-border-color:
|
|
516
|
+
$popover-border-color: si-sys-variables.$si-sys-color-border-4 !default;
|
|
514
517
|
$popover-border-radius: $border-radius-lg !default;
|
|
515
518
|
$popover-inner-border-radius: functions.subtract(
|
|
516
519
|
$popover-border-radius,
|
|
517
520
|
$popover-border-width
|
|
518
521
|
) !default;
|
|
519
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
522
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-30 instead.
|
|
520
523
|
$popover-box-shadow: $box-shadow !default;
|
|
521
524
|
|
|
522
|
-
$popover-header-bg:
|
|
523
|
-
$popover-header-color:
|
|
525
|
+
$popover-header-bg: si-sys-variables.$si-sys-color-background-3 !default;
|
|
526
|
+
$popover-header-color: si-sys-variables.$si-sys-color-text-accent;
|
|
524
527
|
$popover-header-padding-y: map.get(spacers.$spacers-block, 5) !default;
|
|
525
528
|
$popover-header-padding-x: map.get(spacers.$spacers-inline, 5) !default;
|
|
526
529
|
|
|
527
|
-
$popover-body-color:
|
|
530
|
+
$popover-body-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
528
531
|
$popover-body-padding-y: $popover-header-padding-y !default;
|
|
529
532
|
$popover-body-padding-x: $popover-header-padding-x !default;
|
|
530
533
|
|
|
@@ -545,22 +548,22 @@ $modal-footer-margin-between: map.get(spacers.$spacers-block, 6);
|
|
|
545
548
|
$modal-dialog-margin: map.get(spacers.$spacers-block, 4);
|
|
546
549
|
$modal-dialog-margin-y-sm-up: map.get(spacers.$spacers-block, 9);
|
|
547
550
|
|
|
548
|
-
$modal-title-line-height:
|
|
551
|
+
$modal-title-line-height: si-sys-variables.$si-sys-typography-h4-line-height !default;
|
|
549
552
|
|
|
550
553
|
$modal-content-color: null !default;
|
|
551
|
-
$modal-content-bg:
|
|
554
|
+
$modal-content-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
552
555
|
$modal-content-border-width: $border-width !default;
|
|
553
556
|
$modal-content-border-radius: $border-radius-lg !default;
|
|
554
557
|
$modal-content-inner-border-radius: functions.subtract(
|
|
555
558
|
$modal-content-border-radius,
|
|
556
559
|
$modal-content-border-width
|
|
557
560
|
) !default;
|
|
558
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
561
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-30 instead.
|
|
559
562
|
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
|
560
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
563
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-20 instead.
|
|
561
564
|
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
|
562
565
|
|
|
563
|
-
$modal-backdrop-bg:
|
|
566
|
+
$modal-backdrop-bg: si-sys-variables.$si-sys-color-effects-backdrop !default;
|
|
564
567
|
$modal-backdrop-opacity: 1 !default;
|
|
565
568
|
$modal-header-border-color: $border-color !default;
|
|
566
569
|
$modal-footer-border-color: $modal-header-border-color !default;
|
|
@@ -597,11 +600,11 @@ $alert-dismissible-padding-r: calc(
|
|
|
597
600
|
|
|
598
601
|
$progress-height: 0.5rem !default;
|
|
599
602
|
$progress-font-size: calc(#{$font-size-base} * 0.75) !default;
|
|
600
|
-
$progress-bg:
|
|
603
|
+
$progress-bg: si-sys-variables.$si-sys-color-border-4 !default;
|
|
601
604
|
$progress-border-radius: $progress-height * 0.5 !default;
|
|
602
605
|
$progress-box-shadow: none !default;
|
|
603
|
-
$progress-bar-color:
|
|
604
|
-
$progress-bar-bg:
|
|
606
|
+
$progress-bar-color: si-sys-variables.$si-sys-color-background-accent !default;
|
|
607
|
+
$progress-bar-bg: si-sys-variables.$si-sys-color-background-accent !default;
|
|
605
608
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
|
606
609
|
$progress-bar-transition: width animations.element-transition-duration(0.6s) ease;
|
|
607
610
|
|
|
@@ -609,8 +612,8 @@ $progress-bar-transition: width animations.element-transition-duration(0.6s) eas
|
|
|
609
612
|
// @deprecated All `$list-group-*` variables below belong to the deprecated
|
|
610
613
|
// Bootstrap list group. Use the Element list (`.list` / `.list-item`) instead.
|
|
611
614
|
|
|
612
|
-
$list-group-color:
|
|
613
|
-
$list-group-bg:
|
|
615
|
+
$list-group-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
616
|
+
$list-group-bg: si-sys-variables.$si-sys-color-background-1 !default;
|
|
614
617
|
$list-group-border-color: $border-color !default;
|
|
615
618
|
$list-group-border-width: $border-width !default;
|
|
616
619
|
$list-group-border-radius: $border-radius !default;
|
|
@@ -618,19 +621,19 @@ $list-group-border-radius: $border-radius !default;
|
|
|
618
621
|
$list-group-item-padding-y: map.get(spacers.$spacers-block, 4) !default;
|
|
619
622
|
$list-group-item-padding-x: map.get(spacers.$spacers-inline, 6) !default; // 1.25rem !default;
|
|
620
623
|
|
|
621
|
-
$list-group-hover-bg:
|
|
624
|
+
$list-group-hover-bg: si-sys-variables.$si-sys-color-background-hover !default;
|
|
622
625
|
$list-group-active-color: $body-color !default;
|
|
623
|
-
$list-group-active-bg:
|
|
626
|
+
$list-group-active-bg: si-sys-variables.$si-sys-color-background-active !default;
|
|
624
627
|
$list-group-active-border-color: $border-color !default;
|
|
625
628
|
|
|
626
|
-
$list-group-disabled-color:
|
|
629
|
+
$list-group-disabled-color: si-sys-variables.$si-sys-color-text-disabled !default;
|
|
627
630
|
$list-group-disabled-bg: $list-group-bg !default;
|
|
628
631
|
|
|
629
|
-
$list-group-action-color:
|
|
632
|
+
$list-group-action-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
630
633
|
$list-group-action-hover-color: $list-group-action-color !important !default;
|
|
631
634
|
|
|
632
635
|
$list-group-action-active-color: $body-color !default;
|
|
633
|
-
$list-group-action-active-bg:
|
|
636
|
+
$list-group-action-active-bg: si-sys-variables.$si-sys-color-background-0 !default;
|
|
634
637
|
|
|
635
638
|
// Image thumbnails
|
|
636
639
|
|
|
@@ -639,13 +642,13 @@ $thumbnail-bg: $body-bg !default;
|
|
|
639
642
|
$thumbnail-border-width: $border-width !default;
|
|
640
643
|
$thumbnail-border-color: $border-color !default;
|
|
641
644
|
$thumbnail-border-radius: $border-radius !default;
|
|
642
|
-
// DEPRECATED: Use $si-sys-color-effects-shadow-
|
|
645
|
+
// DEPRECATED: Use $si-sys-color-effects-shadow-10 instead.
|
|
643
646
|
$thumbnail-box-shadow: $box-shadow-sm !default;
|
|
644
647
|
|
|
645
648
|
// Figures
|
|
646
649
|
|
|
647
650
|
$figure-caption-font-size: $small-font-size !default;
|
|
648
|
-
$figure-caption-color:
|
|
651
|
+
$figure-caption-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
649
652
|
|
|
650
653
|
// Breadcrumbs
|
|
651
654
|
|
|
@@ -655,7 +658,7 @@ $breadcrumb-padding-x: 0;
|
|
|
655
658
|
$breadcrumb-item-padding-x: map.get(spacers.$spacers-inline, 5);
|
|
656
659
|
$breadcrumb-margin-bottom: 0;
|
|
657
660
|
$breadcrumb-bg: inherit !default;
|
|
658
|
-
$breadcrumb-divider-color:
|
|
661
|
+
$breadcrumb-divider-color: si-sys-variables.$si-sys-color-text-secondary !default;
|
|
659
662
|
$breadcrumb-active-color: $link-color !default;
|
|
660
663
|
$breadcrumb-divider: string.quote('>') !default;
|
|
661
664
|
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
|
@@ -663,24 +666,24 @@ $breadcrumb-border-radius: 0 !default;
|
|
|
663
666
|
|
|
664
667
|
// Code
|
|
665
668
|
|
|
666
|
-
$code-font-size:
|
|
667
|
-
$code-line-height:
|
|
668
|
-
$code-color:
|
|
669
|
-
$code-background:
|
|
669
|
+
$code-font-size: si-sys-variables.$si-sys-typography-body-font-size !default;
|
|
670
|
+
$code-line-height: si-sys-variables.$si-sys-typography-body-line-height !default;
|
|
671
|
+
$code-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
672
|
+
$code-background: si-sys-variables.$si-sys-color-background-active !default;
|
|
670
673
|
$code-padding-y: map.get(spacers.$spacers-block, 1) !default;
|
|
671
674
|
$code-padding-x: map.get(spacers.$spacers-inline, 2) !default;
|
|
672
|
-
$code-border-radius:
|
|
675
|
+
$code-border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|
|
673
676
|
|
|
674
677
|
$kbd-padding-y: 0.2rem !default;
|
|
675
678
|
$kbd-padding-x: 0.4rem !default;
|
|
676
|
-
$kbd-color:
|
|
677
|
-
$kbd-bg:
|
|
679
|
+
$kbd-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
680
|
+
$kbd-bg: si-sys-variables.$si-sys-color-background-3 !default;
|
|
678
681
|
// variable is unused. TODO: remove it.
|
|
679
682
|
$kbd-font-size: $code-font-size !default;
|
|
680
683
|
|
|
681
|
-
$pre-color:
|
|
684
|
+
$pre-color: si-sys-variables.$si-sys-color-text-primary !default;
|
|
682
685
|
$pre-padding-y: map.get(spacers.$spacers-block, 4) !default;
|
|
683
686
|
$pre-padding-x: map.get(spacers.$spacers-inline, 4) !default;
|
|
684
|
-
$pre-border-color:
|
|
687
|
+
$pre-border-color: si-sys-variables.$si-sys-color-border-4 !default;
|
|
685
688
|
$pre-border-width: $border-width !default;
|
|
686
|
-
$pre-border-radius:
|
|
689
|
+
$pre-border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs !default;
|