administrate-bootstrap-theme 1.0.6 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap.bundle.js +2503 -3001
  3. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_accordion.scss +73 -33
  4. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_alert.scss +25 -14
  5. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_badge.scss +14 -5
  6. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_breadcrumb.scss +22 -10
  7. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_button-group.scss +6 -3
  8. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_buttons.scss +133 -28
  9. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_card.scss +60 -37
  10. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_carousel.scss +22 -15
  11. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss +33 -10
  12. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_containers.scss +1 -1
  13. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_dropdown.scss +86 -76
  14. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_functions.scss +10 -10
  15. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_grid.scss +9 -3
  16. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_helpers.scss +3 -0
  17. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_list-group.scss +60 -37
  18. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_maps.scss +174 -0
  19. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_mixins.scss +1 -2
  20. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_modal.scss +71 -44
  21. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_nav.scss +86 -28
  22. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_navbar.scss +101 -147
  23. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_offcanvas.scss +121 -61
  24. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_pagination.scss +66 -21
  25. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_placeholders.scss +1 -1
  26. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_popover.scss +90 -52
  27. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_progress.scss +30 -10
  28. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_reboot.scss +31 -45
  29. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_root.scss +155 -22
  30. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_spinners.scss +38 -22
  31. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tables.scss +40 -24
  32. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_toasts.scss +38 -16
  33. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tooltip.scss +60 -56
  34. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_type.scss +2 -0
  35. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_utilities.scss +209 -33
  36. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables-dark.scss +87 -0
  37. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables.scss +404 -294
  38. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss +4 -9
  39. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss +4 -7
  40. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-utilities.scss +7 -6
  41. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap.scss +5 -6
  42. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_floating-labels.scss +37 -5
  43. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-check.scss +51 -14
  44. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-control.scss +36 -41
  45. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-range.scss +3 -3
  46. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-select.scss +12 -4
  47. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_input-group.scss +20 -9
  48. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_color-bg.scss +7 -0
  49. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_colored-links.scss +20 -2
  50. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_focus-ring.scss +5 -0
  51. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_icon-link.scss +25 -0
  52. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_position.scss +7 -1
  53. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_ratio.scss +2 -2
  54. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_vr.scss +2 -2
  55. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_alert.scss +11 -4
  56. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_banner.scss +7 -0
  57. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_breakpoints.scss +8 -8
  58. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_buttons.scss +32 -95
  59. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_caret.scss +30 -25
  60. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-mode.scss +21 -0
  61. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_container.scss +4 -2
  62. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_forms.scss +38 -19
  63. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_gradients.scss +1 -1
  64. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_grid.scss +14 -14
  65. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_list-group.scss +2 -0
  66. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_pagination.scss +4 -25
  67. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_reset-text.scss +1 -1
  68. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_table-variants.scss +12 -9
  69. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_utilities.scss +14 -6
  70. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_visually-hidden.scss +5 -1
  71. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/vendor/_rfs.scss +23 -29
  72. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss +21 -7
  73. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss +4 -0
  74. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_pagination.scss +11 -3
  75. data/lib/administrate-bootstrap-theme/version.rb +2 -2
  76. data/package.json +2 -2
  77. metadata +24 -3
@@ -60,40 +60,13 @@ $colors: (
60
60
  "green": $green,
61
61
  "teal": $teal,
62
62
  "cyan": $cyan,
63
+ "black": $black,
63
64
  "white": $white,
64
65
  "gray": $gray-600,
65
66
  "gray-dark": $gray-800
66
67
  ) !default;
67
68
  // scss-docs-end colors-map
68
69
 
69
- // scss-docs-start theme-color-variables
70
- $primary: $blue !default;
71
- $secondary: $gray-600 !default;
72
- $success: $green !default;
73
- $info: $cyan !default;
74
- $warning: $yellow !default;
75
- $danger: $red !default;
76
- $light: $gray-100 !default;
77
- $dark: $gray-900 !default;
78
- // scss-docs-end theme-color-variables
79
-
80
- // scss-docs-start theme-colors-map
81
- $theme-colors: (
82
- "primary": $primary,
83
- "secondary": $secondary,
84
- "success": $success,
85
- "info": $info,
86
- "warning": $warning,
87
- "danger": $danger,
88
- "light": $light,
89
- "dark": $dark
90
- ) !default;
91
- // scss-docs-end theme-colors-map
92
-
93
- // scss-docs-start theme-colors-rgb
94
- $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
95
- // scss-docs-end theme-colors-rgb
96
-
97
70
  // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
98
71
  // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
99
72
  $min-contrast-ratio: 4.5 !default;
@@ -228,8 +201,8 @@ $indigos: (
228
201
  ) !default;
229
202
 
230
203
  $purples: (
231
- "purple-100": $purple-200,
232
- "purple-200": $purple-100,
204
+ "purple-100": $purple-100,
205
+ "purple-200": $purple-200,
233
206
  "purple-300": $purple-300,
234
207
  "purple-400": $purple-400,
235
208
  "purple-500": $purple-500,
@@ -324,6 +297,63 @@ $cyans: (
324
297
  ) !default;
325
298
  // fusv-enable
326
299
 
300
+ // scss-docs-start theme-color-variables
301
+ $primary: $blue !default;
302
+ $secondary: $gray-600 !default;
303
+ $success: $green !default;
304
+ $info: $cyan !default;
305
+ $warning: $yellow !default;
306
+ $danger: $red !default;
307
+ $light: $gray-100 !default;
308
+ $dark: $gray-900 !default;
309
+ // scss-docs-end theme-color-variables
310
+
311
+ // scss-docs-start theme-colors-map
312
+ $theme-colors: (
313
+ "primary": $primary,
314
+ "secondary": $secondary,
315
+ "success": $success,
316
+ "info": $info,
317
+ "warning": $warning,
318
+ "danger": $danger,
319
+ "light": $light,
320
+ "dark": $dark
321
+ ) !default;
322
+ // scss-docs-end theme-colors-map
323
+
324
+ // scss-docs-start theme-text-variables
325
+ $primary-text-emphasis: shade-color($primary, 60%) !default;
326
+ $secondary-text-emphasis: shade-color($secondary, 60%) !default;
327
+ $success-text-emphasis: shade-color($success, 60%) !default;
328
+ $info-text-emphasis: shade-color($info, 60%) !default;
329
+ $warning-text-emphasis: shade-color($warning, 60%) !default;
330
+ $danger-text-emphasis: shade-color($danger, 60%) !default;
331
+ $light-text-emphasis: $gray-700 !default;
332
+ $dark-text-emphasis: $gray-700 !default;
333
+ // scss-docs-end theme-text-variables
334
+
335
+ // scss-docs-start theme-bg-subtle-variables
336
+ $primary-bg-subtle: tint-color($primary, 80%) !default;
337
+ $secondary-bg-subtle: tint-color($secondary, 80%) !default;
338
+ $success-bg-subtle: tint-color($success, 80%) !default;
339
+ $info-bg-subtle: tint-color($info, 80%) !default;
340
+ $warning-bg-subtle: tint-color($warning, 80%) !default;
341
+ $danger-bg-subtle: tint-color($danger, 80%) !default;
342
+ $light-bg-subtle: mix($gray-100, $white) !default;
343
+ $dark-bg-subtle: $gray-400 !default;
344
+ // scss-docs-end theme-bg-subtle-variables
345
+
346
+ // scss-docs-start theme-border-subtle-variables
347
+ $primary-border-subtle: tint-color($primary, 60%) !default;
348
+ $secondary-border-subtle: tint-color($secondary, 60%) !default;
349
+ $success-border-subtle: tint-color($success, 60%) !default;
350
+ $info-border-subtle: tint-color($info, 60%) !default;
351
+ $warning-border-subtle: tint-color($warning, 60%) !default;
352
+ $danger-border-subtle: tint-color($danger, 60%) !default;
353
+ $light-border-subtle: $gray-200 !default;
354
+ $dark-border-subtle: $gray-500 !default;
355
+ // scss-docs-end theme-border-subtle-variables
356
+
327
357
  // Characters which are escaped by the escape-svg function
328
358
  $escaped-characters: (
329
359
  ("<", "%3c"),
@@ -345,6 +375,7 @@ $enable-transitions: true !default;
345
375
  $enable-reduced-motion: true !default;
346
376
  $enable-smooth-scroll: true !default;
347
377
  $enable-grid-classes: true !default;
378
+ $enable-container-classes: true !default;
348
379
  $enable-cssgrid: false !default;
349
380
  $enable-button-pointers: true !default;
350
381
  $enable-rfs: true !default;
@@ -353,9 +384,13 @@ $enable-negative-margins: false !default;
353
384
  $enable-deprecation-messages: true !default;
354
385
  $enable-important-utilities: true !default;
355
386
 
387
+ $enable-dark-mode: true !default;
388
+ $color-mode-type: data !default; // `data` or `media-query`
389
+
356
390
  // Prefix for :root CSS variables
357
391
 
358
- $variable-prefix: bs- !default;
392
+ $variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
393
+ $prefix: $variable-prefix !default;
359
394
 
360
395
  // Gradient
361
396
  //
@@ -381,8 +416,6 @@ $spacers: (
381
416
  4: $spacer * 1.5,
382
417
  5: $spacer * 3,
383
418
  ) !default;
384
-
385
- $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
386
419
  // scss-docs-end spacer-variables-maps
387
420
 
388
421
  // Position
@@ -401,42 +434,17 @@ $position-values: (
401
434
  //
402
435
  // Settings for the `<body>` element.
403
436
 
404
- $body-bg: $white !default;
405
- $body-color: $gray-900 !default;
406
437
  $body-text-align: null !default;
438
+ $body-color: $gray-900 !default;
439
+ $body-bg: $white !default;
407
440
 
408
- // Utilities maps
409
- //
410
- // Extends the default `$theme-colors` maps to help create our utilities.
411
-
412
- // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
413
- // scss-docs-start utilities-colors
414
- $utilities-colors: $theme-colors-rgb !default;
415
- // scss-docs-end utilities-colors
416
-
417
- // scss-docs-start utilities-text-colors
418
- $utilities-text: map-merge(
419
- $utilities-colors,
420
- (
421
- "black": to-rgb($black),
422
- "white": to-rgb($white),
423
- "body": to-rgb($body-color)
424
- )
425
- ) !default;
426
- $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
427
- // scss-docs-end utilities-text-colors
428
-
429
- // scss-docs-start utilities-bg-colors
430
- $utilities-bg: map-merge(
431
- $utilities-colors,
432
- (
433
- "black": to-rgb($black),
434
- "white": to-rgb($white),
435
- "body": to-rgb($body-bg)
436
- )
437
- ) !default;
438
- $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
439
- // scss-docs-end utilities-bg-colors
441
+ $body-secondary-color: rgba($body-color, .75) !default;
442
+ $body-secondary-bg: $gray-200 !default;
443
+
444
+ $body-tertiary-color: rgba($body-color, .5) !default;
445
+ $body-tertiary-bg: $gray-100 !default;
446
+
447
+ $body-emphasis-color: $black !default;
440
448
 
441
449
  // Links
442
450
  //
@@ -451,6 +459,15 @@ $link-hover-decoration: null !default;
451
459
  $stretched-link-pseudo-element: after !default;
452
460
  $stretched-link-z-index: 1 !default;
453
461
 
462
+ // Icon links
463
+ // scss-docs-start icon-link-variables
464
+ $icon-link-gap: .375rem !default;
465
+ $icon-link-underline-offset: .25em !default;
466
+ $icon-link-icon-size: 1em !default;
467
+ $icon-link-icon-transition: .2s ease-in-out transform !default;
468
+ $icon-link-icon-transform: translate3d(.25em, 0, 0) !default;
469
+ // scss-docs-end icon-link-variables
470
+
454
471
  // Paragraphs
455
472
  //
456
473
  // Style p element.
@@ -503,11 +520,9 @@ $grid-columns: 12 !default;
503
520
  $grid-gutter-width: 1.5rem !default;
504
521
  $grid-row-columns: 6 !default;
505
522
 
506
- $gutters: $spacers !default;
507
-
508
523
  // Container padding
509
524
 
510
- $container-padding-x: $grid-gutter-width * .5 !default;
525
+ $container-padding-x: $grid-gutter-width !default;
511
526
 
512
527
 
513
528
  // Components
@@ -523,16 +538,22 @@ $border-widths: (
523
538
  4: 4px,
524
539
  5: 5px
525
540
  ) !default;
526
-
541
+ $border-style: solid !default;
527
542
  $border-color: $gray-300 !default;
543
+ $border-color-translucent: rgba($black, .175) !default;
528
544
  // scss-docs-end border-variables
529
545
 
530
546
  // scss-docs-start border-radius-variables
531
- $border-radius: .25rem !default;
532
- $border-radius-sm: .2rem !default;
533
- $border-radius-lg: .3rem !default;
547
+ $border-radius: .375rem !default;
548
+ $border-radius-sm: .25rem !default;
549
+ $border-radius-lg: .5rem !default;
550
+ $border-radius-xl: 1rem !default;
551
+ $border-radius-xxl: 2rem !default;
534
552
  $border-radius-pill: 50rem !default;
535
553
  // scss-docs-end border-radius-variables
554
+ // fusv-disable
555
+ $border-radius-2xl: $border-radius-xxl !default; // Deprecated in v5.3.0
556
+ // fusv-enable
536
557
 
537
558
  // scss-docs-start box-shadow-variables
538
559
  $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
@@ -544,6 +565,14 @@ $box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
544
565
  $component-active-color: $white !default;
545
566
  $component-active-bg: $primary !default;
546
567
 
568
+ // scss-docs-start focus-ring-variables
569
+ $focus-ring-width: .25rem !default;
570
+ $focus-ring-opacity: .25 !default;
571
+ $focus-ring-color: rgba($primary, $focus-ring-opacity) !default;
572
+ $focus-ring-blur: 0 !default;
573
+ $focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color !default;
574
+ // scss-docs-end focus-ring-variables
575
+
547
576
  // scss-docs-start caret-variables
548
577
  $caret-width: .3em !default;
549
578
  $caret-vertical-align: $caret-width * .85 !default;
@@ -574,11 +603,11 @@ $aspect-ratios: (
574
603
 
575
604
  // scss-docs-start font-variables
576
605
  // stylelint-disable value-keyword-case
577
- $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
606
+ $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
578
607
  $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
579
608
  // stylelint-enable value-keyword-case
580
- $font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
581
- $font-family-code: var(--#{$variable-prefix}font-monospace) !default;
609
+ $font-family-base: var(--#{$prefix}font-sans-serif) !default;
610
+ $font-family-code: var(--#{$prefix}font-monospace) !default;
582
611
 
583
612
  // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
584
613
  // $font-size-base affects the font size of the body text
@@ -590,6 +619,8 @@ $font-size-lg: $font-size-base * 1.25 !default;
590
619
  $font-weight-lighter: lighter !default;
591
620
  $font-weight-light: 300 !default;
592
621
  $font-weight-normal: 400 !default;
622
+ $font-weight-medium: 500 !default;
623
+ $font-weight-semibold: 600 !default;
593
624
  $font-weight-bold: 700 !default;
594
625
  $font-weight-bolder: bolder !default;
595
626
 
@@ -624,7 +655,7 @@ $headings-font-family: null !default;
624
655
  $headings-font-style: null !default;
625
656
  $headings-font-weight: 500 !default;
626
657
  $headings-line-height: 1.2 !default;
627
- $headings-color: null !default;
658
+ $headings-color: inherit !default;
628
659
  // scss-docs-end headings-variables
629
660
 
630
661
  // scss-docs-start display-headings
@@ -637,6 +668,8 @@ $display-font-sizes: (
637
668
  6: 2.5rem
638
669
  ) !default;
639
670
 
671
+ $display-font-family: null !default;
672
+ $display-font-style: null !default;
640
673
  $display-font-weight: 300 !default;
641
674
  $display-line-height: $headings-line-height !default;
642
675
  // scss-docs-end display-headings
@@ -649,7 +682,9 @@ $small-font-size: .875em !default;
649
682
 
650
683
  $sub-sup-font-size: .75em !default;
651
684
 
652
- $text-muted: $gray-600 !default;
685
+ // fusv-disable
686
+ $text-muted: var(--#{$prefix}secondary-color) !default; // Deprecated in 5.3.0
687
+ // fusv-enable
653
688
 
654
689
  $initialism-font-size: $small-font-size !default;
655
690
 
@@ -660,22 +695,31 @@ $blockquote-footer-font-size: $small-font-size !default;
660
695
 
661
696
  $hr-margin-y: $spacer !default;
662
697
  $hr-color: inherit !default;
663
- $hr-height: $border-width !default;
698
+
699
+ // fusv-disable
700
+ $hr-bg-color: null !default; // Deprecated in v5.2.0
701
+ $hr-height: null !default; // Deprecated in v5.2.0
702
+ // fusv-enable
703
+
704
+ $hr-border-color: null !default; // Allows for inherited colors
705
+ $hr-border-width: var(--#{$prefix}border-width) !default;
664
706
  $hr-opacity: .25 !default;
665
707
 
708
+ // scss-docs-start vr-variables
709
+ $vr-border-width: var(--#{$prefix}border-width) !default;
710
+ // scss-docs-end vr-variables
711
+
666
712
  $legend-margin-bottom: .5rem !default;
667
713
  $legend-font-size: 1.5rem !default;
668
714
  $legend-font-weight: null !default;
669
715
 
670
- $mark-padding: .2em !default;
671
-
672
716
  $dt-font-weight: $font-weight-bold !default;
673
717
 
674
- $nested-kbd-font-weight: $font-weight-bold !default;
675
-
676
718
  $list-inline-padding: .5rem !default;
677
719
 
678
- $mark-bg: #fcf8e3 !default;
720
+ $mark-padding: .1875em !default;
721
+ $mark-color: $body-color !default;
722
+ $mark-bg: $yellow-100 !default;
679
723
  // scss-docs-end type-variables
680
724
 
681
725
 
@@ -691,33 +735,34 @@ $table-cell-padding-x-sm: .25rem !default;
691
735
 
692
736
  $table-cell-vertical-align: top !default;
693
737
 
694
- $table-color: $body-color !default;
695
- $table-bg: transparent !default;
738
+ $table-color: var(--#{$prefix}emphasis-color) !default;
739
+ $table-bg: var(--#{$prefix}body-bg) !default;
696
740
  $table-accent-bg: transparent !default;
697
741
 
698
742
  $table-th-font-weight: null !default;
699
743
 
700
744
  $table-striped-color: $table-color !default;
701
745
  $table-striped-bg-factor: .05 !default;
702
- $table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
746
+ $table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;
703
747
 
704
748
  $table-active-color: $table-color !default;
705
749
  $table-active-bg-factor: .1 !default;
706
- $table-active-bg: rgba($black, $table-active-bg-factor) !default;
750
+ $table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;
707
751
 
708
752
  $table-hover-color: $table-color !default;
709
753
  $table-hover-bg-factor: .075 !default;
710
- $table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
754
+ $table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;
711
755
 
712
- $table-border-factor: .1 !default;
713
- $table-border-width: $border-width !default;
714
- $table-border-color: $border-color !default;
756
+ $table-border-factor: .2 !default;
757
+ $table-border-width: var(--#{$prefix}border-width) !default;
758
+ $table-border-color: var(--#{$prefix}border-color) !default;
715
759
 
716
760
  $table-striped-order: odd !default;
761
+ $table-striped-columns-order: even !default;
717
762
 
718
- $table-group-separator-color: currentColor !default;
763
+ $table-group-separator-color: currentcolor !default;
719
764
 
720
- $table-caption-color: $text-muted !default;
765
+ $table-caption-color: var(--#{$prefix}secondary-color) !default;
721
766
 
722
767
  $table-bg-scale: -80% !default;
723
768
  // scss-docs-end table-variables
@@ -747,11 +792,11 @@ $input-btn-font-family: null !default;
747
792
  $input-btn-font-size: $font-size-base !default;
748
793
  $input-btn-line-height: $line-height-base !default;
749
794
 
750
- $input-btn-focus-width: .25rem !default;
751
- $input-btn-focus-color-opacity: .25 !default;
752
- $input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
753
- $input-btn-focus-blur: 0 !default;
754
- $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
795
+ $input-btn-focus-width: $focus-ring-width !default;
796
+ $input-btn-focus-color-opacity: $focus-ring-opacity !default;
797
+ $input-btn-focus-color: $focus-ring-color !default;
798
+ $input-btn-focus-blur: $focus-ring-blur !default;
799
+ $input-btn-focus-box-shadow: $focus-ring-box-shadow !default;
755
800
 
756
801
  $input-btn-padding-y-sm: .25rem !default;
757
802
  $input-btn-padding-x-sm: .5rem !default;
@@ -761,7 +806,7 @@ $input-btn-padding-y-lg: .5rem !default;
761
806
  $input-btn-padding-x-lg: 1rem !default;
762
807
  $input-btn-font-size-lg: $font-size-lg !default;
763
808
 
764
- $input-btn-border-width: $border-width !default;
809
+ $input-btn-border-width: var(--#{$prefix}border-width) !default;
765
810
  // scss-docs-end input-btn-variables
766
811
 
767
812
 
@@ -770,6 +815,7 @@ $input-btn-border-width: $border-width !default;
770
815
  // For each of Bootstrap's buttons, define text, background, and border color.
771
816
 
772
817
  // scss-docs-start btn-variables
818
+ $btn-color: var(--#{$prefix}body-color) !default;
773
819
  $btn-padding-y: $input-btn-padding-y !default;
774
820
  $btn-padding-x: $input-btn-padding-x !default;
775
821
  $btn-font-family: $input-btn-font-family !default;
@@ -794,14 +840,15 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
794
840
  $btn-disabled-opacity: .65 !default;
795
841
  $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
796
842
 
797
- $btn-link-color: $link-color !default;
798
- $btn-link-hover-color: $link-hover-color !default;
843
+ $btn-link-color: var(--#{$prefix}link-color) !default;
844
+ $btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
799
845
  $btn-link-disabled-color: $gray-600 !default;
846
+ $btn-link-focus-shadow-rgb: to-rgb(mix(color-contrast($link-color), $link-color, 15%)) !default;
800
847
 
801
848
  // Allows for customizing button radius independently from global border radius
802
- $btn-border-radius: $border-radius !default;
803
- $btn-border-radius-sm: $border-radius-sm !default;
804
- $btn-border-radius-lg: $border-radius-lg !default;
849
+ $btn-border-radius: var(--#{$prefix}border-radius) !default;
850
+ $btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
851
+ $btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
805
852
 
806
853
  $btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
807
854
 
@@ -823,7 +870,7 @@ $form-text-margin-top: .25rem !default;
823
870
  $form-text-font-size: $small-font-size !default;
824
871
  $form-text-font-style: null !default;
825
872
  $form-text-font-weight: null !default;
826
- $form-text-color: $text-muted !default;
873
+ $form-text-color: var(--#{$prefix}secondary-color) !default;
827
874
  // scss-docs-end form-text-variables
828
875
 
829
876
  // scss-docs-start form-label-variables
@@ -850,18 +897,19 @@ $input-padding-y-lg: $input-btn-padding-y-lg !default;
850
897
  $input-padding-x-lg: $input-btn-padding-x-lg !default;
851
898
  $input-font-size-lg: $input-btn-font-size-lg !default;
852
899
 
853
- $input-bg: $body-bg !default;
854
- $input-disabled-bg: $gray-200 !default;
900
+ $input-bg: var(--#{$prefix}body-bg) !default;
901
+ $input-disabled-color: null !default;
902
+ $input-disabled-bg: var(--#{$prefix}secondary-bg) !default;
855
903
  $input-disabled-border-color: null !default;
856
904
 
857
- $input-color: $body-color !default;
858
- $input-border-color: $gray-400 !default;
905
+ $input-color: var(--#{$prefix}body-color) !default;
906
+ $input-border-color: var(--#{$prefix}border-color) !default;
859
907
  $input-border-width: $input-btn-border-width !default;
860
- $input-box-shadow: $box-shadow-inset !default;
908
+ $input-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
861
909
 
862
- $input-border-radius: $border-radius !default;
863
- $input-border-radius-sm: $border-radius-sm !default;
864
- $input-border-radius-lg: $border-radius-lg !default;
910
+ $input-border-radius: var(--#{$prefix}border-radius) !default;
911
+ $input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
912
+ $input-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
865
913
 
866
914
  $input-focus-bg: $input-bg !default;
867
915
  $input-focus-border-color: tint-color($component-active-bg, 50%) !default;
@@ -869,10 +917,10 @@ $input-focus-color: $input-color !default;
869
917
  $input-focus-width: $input-btn-focus-width !default;
870
918
  $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
871
919
 
872
- $input-placeholder-color: $gray-600 !default;
873
- $input-plaintext-color: $body-color !default;
920
+ $input-placeholder-color: var(--#{$prefix}secondary-color) !default;
921
+ $input-plaintext-color: var(--#{$prefix}body-color) !default;
874
922
 
875
- $input-height-border: $input-border-width * 2 !default;
923
+ $input-height-border: calc(#{$input-border-width} * 2) !default; // stylelint-disable-line function-disallowed-list
876
924
 
877
925
  $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
878
926
  $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
@@ -899,16 +947,16 @@ $form-check-transition: null !default;
899
947
  $form-check-input-active-filter: brightness(90%) !default;
900
948
 
901
949
  $form-check-input-bg: $input-bg !default;
902
- $form-check-input-border: 1px solid rgba($black, .25) !default;
950
+ $form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color) !default;
903
951
  $form-check-input-border-radius: .25em !default;
904
952
  $form-check-radio-border-radius: 50% !default;
905
953
  $form-check-input-focus-border: $input-focus-border-color !default;
906
- $form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
954
+ $form-check-input-focus-box-shadow: $focus-ring-box-shadow !default;
907
955
 
908
956
  $form-check-input-checked-color: $component-active-color !default;
909
957
  $form-check-input-checked-bg-color: $component-active-bg !default;
910
958
  $form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
911
- $form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") !default;
959
+ $form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>") !default;
912
960
  $form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
913
961
 
914
962
  $form-check-input-indeterminate-color: $component-active-color !default;
@@ -944,7 +992,7 @@ $input-group-addon-padding-y: $input-padding-y !default;
944
992
  $input-group-addon-padding-x: $input-padding-x !default;
945
993
  $input-group-addon-font-weight: $input-font-weight !default;
946
994
  $input-group-addon-color: $input-color !default;
947
- $input-group-addon-bg: $gray-200 !default;
995
+ $input-group-addon-bg: var(--#{$prefix}tertiary-bg) !default;
948
996
  $input-group-addon-border-color: $input-border-color !default;
949
997
  // scss-docs-end input-group-variables
950
998
 
@@ -959,12 +1007,12 @@ $form-select-line-height: $input-line-height !default;
959
1007
  $form-select-color: $input-color !default;
960
1008
  $form-select-bg: $input-bg !default;
961
1009
  $form-select-disabled-color: null !default;
962
- $form-select-disabled-bg: $gray-200 !default;
1010
+ $form-select-disabled-bg: $input-disabled-bg !default;
963
1011
  $form-select-disabled-border-color: $input-disabled-border-color !default;
964
1012
  $form-select-bg-position: right $form-select-padding-x center !default;
965
1013
  $form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
966
1014
  $form-select-indicator-color: $gray-800 !default;
967
- $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
1015
+ $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") !default;
968
1016
 
969
1017
  $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
970
1018
  $form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
@@ -973,7 +1021,7 @@ $form-select-feedback-icon-size: $input-height-inner-half $input-height-i
973
1021
  $form-select-border-width: $input-border-width !default;
974
1022
  $form-select-border-color: $input-border-color !default;
975
1023
  $form-select-border-radius: $input-border-radius !default;
976
- $form-select-box-shadow: $box-shadow-inset !default;
1024
+ $form-select-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
977
1025
 
978
1026
  $form-select-focus-border-color: $input-focus-border-color !default;
979
1027
  $form-select-focus-width: $input-focus-width !default;
@@ -996,9 +1044,9 @@ $form-select-transition: $input-transition !default;
996
1044
  $form-range-track-width: 100% !default;
997
1045
  $form-range-track-height: .5rem !default;
998
1046
  $form-range-track-cursor: pointer !default;
999
- $form-range-track-bg: $gray-300 !default;
1047
+ $form-range-track-bg: var(--#{$prefix}secondary-bg) !default;
1000
1048
  $form-range-track-border-radius: 1rem !default;
1001
- $form-range-track-box-shadow: $box-shadow-inset !default;
1049
+ $form-range-track-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1002
1050
 
1003
1051
  $form-range-thumb-width: 1rem !default;
1004
1052
  $form-range-thumb-height: $form-range-thumb-width !default;
@@ -1009,26 +1057,28 @@ $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !defa
1009
1057
  $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
1010
1058
  $form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
1011
1059
  $form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
1012
- $form-range-thumb-disabled-bg: $gray-500 !default;
1060
+ $form-range-thumb-disabled-bg: var(--#{$prefix}secondary-color) !default;
1013
1061
  $form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
1014
1062
  // scss-docs-end form-range-variables
1015
1063
 
1016
1064
  // scss-docs-start form-file-variables
1017
1065
  $form-file-button-color: $input-color !default;
1018
- $form-file-button-bg: $input-group-addon-bg !default;
1019
- $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
1066
+ $form-file-button-bg: var(--#{$prefix}tertiary-bg) !default;
1067
+ $form-file-button-hover-bg: var(--#{$prefix}secondary-bg) !default;
1020
1068
  // scss-docs-end form-file-variables
1021
1069
 
1022
1070
  // scss-docs-start form-floating-variables
1023
- $form-floating-height: add(3.5rem, $input-height-border) !default;
1024
- $form-floating-line-height: 1.25 !default;
1025
- $form-floating-padding-x: $input-padding-x !default;
1026
- $form-floating-padding-y: 1rem !default;
1027
- $form-floating-input-padding-t: 1.625rem !default;
1028
- $form-floating-input-padding-b: .625rem !default;
1029
- $form-floating-label-opacity: .65 !default;
1030
- $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
1031
- $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
1071
+ $form-floating-height: add(3.5rem, $input-height-border) !default;
1072
+ $form-floating-line-height: 1.25 !default;
1073
+ $form-floating-padding-x: $input-padding-x !default;
1074
+ $form-floating-padding-y: 1rem !default;
1075
+ $form-floating-input-padding-t: 1.625rem !default;
1076
+ $form-floating-input-padding-b: .625rem !default;
1077
+ $form-floating-label-height: 1.5em !default;
1078
+ $form-floating-label-opacity: .65 !default;
1079
+ $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
1080
+ $form-floating-label-disabled-color: $gray-600 !default;
1081
+ $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
1032
1082
  // scss-docs-end form-floating-variables
1033
1083
 
1034
1084
  // Form validation
@@ -1041,20 +1091,35 @@ $form-feedback-valid-color: $success !default;
1041
1091
  $form-feedback-invalid-color: $danger !default;
1042
1092
 
1043
1093
  $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
1044
- $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
1094
+ $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
1045
1095
  $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
1046
1096
  $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
1047
1097
  // scss-docs-end form-feedback-variables
1048
1098
 
1099
+ // scss-docs-start form-validation-colors
1100
+ $form-valid-color: $form-feedback-valid-color !default;
1101
+ $form-valid-border-color: $form-feedback-valid-color !default;
1102
+ $form-invalid-color: $form-feedback-invalid-color !default;
1103
+ $form-invalid-border-color: $form-feedback-invalid-color !default;
1104
+ // scss-docs-end form-validation-colors
1105
+
1049
1106
  // scss-docs-start form-validation-states
1050
1107
  $form-validation-states: (
1051
1108
  "valid": (
1052
- "color": $form-feedback-valid-color,
1053
- "icon": $form-feedback-icon-valid
1109
+ "color": var(--#{$prefix}form-valid-color),
1110
+ "icon": $form-feedback-icon-valid,
1111
+ "tooltip-color": #fff,
1112
+ "tooltip-bg-color": var(--#{$prefix}success),
1113
+ "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}success-rgb), $input-btn-focus-color-opacity),
1114
+ "border-color": var(--#{$prefix}form-valid-border-color),
1054
1115
  ),
1055
1116
  "invalid": (
1056
- "color": $form-feedback-invalid-color,
1057
- "icon": $form-feedback-icon-invalid
1117
+ "color": var(--#{$prefix}form-invalid-color),
1118
+ "icon": $form-feedback-icon-invalid,
1119
+ "tooltip-color": #fff,
1120
+ "tooltip-bg-color": var(--#{$prefix}danger),
1121
+ "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}danger-rgb), $input-btn-focus-color-opacity),
1122
+ "border-color": var(--#{$prefix}form-invalid-border-color),
1058
1123
  )
1059
1124
  ) !default;
1060
1125
  // scss-docs-end form-validation-states
@@ -1074,8 +1139,19 @@ $zindex-modal-backdrop: 1050 !default;
1074
1139
  $zindex-modal: 1055 !default;
1075
1140
  $zindex-popover: 1070 !default;
1076
1141
  $zindex-tooltip: 1080 !default;
1142
+ $zindex-toast: 1090 !default;
1077
1143
  // scss-docs-end zindex-stack
1078
1144
 
1145
+ // scss-docs-start zindex-levels-map
1146
+ $zindex-levels: (
1147
+ n1: -1,
1148
+ 0: 0,
1149
+ 1: 1,
1150
+ 2: 2,
1151
+ 3: 3
1152
+ ) !default;
1153
+ // scss-docs-end zindex-levels-map
1154
+
1079
1155
 
1080
1156
  // Navs
1081
1157
 
@@ -1084,22 +1160,27 @@ $nav-link-padding-y: .5rem !default;
1084
1160
  $nav-link-padding-x: 1rem !default;
1085
1161
  $nav-link-font-size: null !default;
1086
1162
  $nav-link-font-weight: null !default;
1087
- $nav-link-color: $link-color !default;
1088
- $nav-link-hover-color: $link-hover-color !default;
1163
+ $nav-link-color: var(--#{$prefix}link-color) !default;
1164
+ $nav-link-hover-color: var(--#{$prefix}link-hover-color) !default;
1089
1165
  $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
1090
- $nav-link-disabled-color: $gray-600 !default;
1091
-
1092
- $nav-tabs-border-color: $gray-300 !default;
1093
- $nav-tabs-border-width: $border-width !default;
1094
- $nav-tabs-border-radius: $border-radius !default;
1095
- $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
1096
- $nav-tabs-link-active-color: $gray-700 !default;
1097
- $nav-tabs-link-active-bg: $body-bg !default;
1098
- $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
1099
-
1100
- $nav-pills-border-radius: $border-radius !default;
1166
+ $nav-link-disabled-color: var(--#{$prefix}secondary-color) !default;
1167
+ $nav-link-focus-box-shadow: $focus-ring-box-shadow !default;
1168
+
1169
+ $nav-tabs-border-color: var(--#{$prefix}border-color) !default;
1170
+ $nav-tabs-border-width: var(--#{$prefix}border-width) !default;
1171
+ $nav-tabs-border-radius: var(--#{$prefix}border-radius) !default;
1172
+ $nav-tabs-link-hover-border-color: var(--#{$prefix}secondary-bg) var(--#{$prefix}secondary-bg) $nav-tabs-border-color !default;
1173
+ $nav-tabs-link-active-color: var(--#{$prefix}emphasis-color) !default;
1174
+ $nav-tabs-link-active-bg: var(--#{$prefix}body-bg) !default;
1175
+ $nav-tabs-link-active-border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) $nav-tabs-link-active-bg !default;
1176
+
1177
+ $nav-pills-border-radius: var(--#{$prefix}border-radius) !default;
1101
1178
  $nav-pills-link-active-color: $component-active-color !default;
1102
1179
  $nav-pills-link-active-bg: $component-active-bg !default;
1180
+
1181
+ $nav-underline-gap: 1rem !default;
1182
+ $nav-underline-border-width: .125rem !default;
1183
+ $nav-underline-link-active-color: var(--#{$prefix}emphasis-color) !default;
1103
1184
  // scss-docs-end nav-variables
1104
1185
 
1105
1186
 
@@ -1124,28 +1205,29 @@ $navbar-toggler-font-size: $font-size-lg !default;
1124
1205
  $navbar-toggler-border-radius: $btn-border-radius !default;
1125
1206
  $navbar-toggler-focus-width: $btn-focus-width !default;
1126
1207
  $navbar-toggler-transition: box-shadow .15s ease-in-out !default;
1208
+
1209
+ $navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .65) !default;
1210
+ $navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8) !default;
1211
+ $navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1) !default;
1212
+ $navbar-light-disabled-color: rgba(var(--#{$prefix}emphasis-color-rgb), .3) !default;
1213
+ $navbar-light-icon-color: rgba($body-color, .75) !default;
1214
+ $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1215
+ $navbar-light-toggler-border-color: rgba(var(--#{$prefix}emphasis-color-rgb), .15) !default;
1216
+ $navbar-light-brand-color: $navbar-light-active-color !default;
1217
+ $navbar-light-brand-hover-color: $navbar-light-active-color !default;
1127
1218
  // scss-docs-end navbar-variables
1128
1219
 
1129
- // scss-docs-start navbar-theme-variables
1220
+ // scss-docs-start navbar-dark-variables
1130
1221
  $navbar-dark-color: rgba($white, .55) !default;
1131
1222
  $navbar-dark-hover-color: rgba($white, .75) !default;
1132
1223
  $navbar-dark-active-color: $white !default;
1133
1224
  $navbar-dark-disabled-color: rgba($white, .25) !default;
1134
- $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1225
+ $navbar-dark-icon-color: $navbar-dark-color !default;
1226
+ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1135
1227
  $navbar-dark-toggler-border-color: rgba($white, .1) !default;
1136
-
1137
- $navbar-light-color: rgba($black, .55) !default;
1138
- $navbar-light-hover-color: rgba($black, .7) !default;
1139
- $navbar-light-active-color: rgba($black, .9) !default;
1140
- $navbar-light-disabled-color: rgba($black, .3) !default;
1141
- $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1142
- $navbar-light-toggler-border-color: rgba($black, .1) !default;
1143
-
1144
- $navbar-light-brand-color: $navbar-light-active-color !default;
1145
- $navbar-light-brand-hover-color: $navbar-light-active-color !default;
1146
- $navbar-dark-brand-color: $navbar-dark-active-color !default;
1147
- $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
1148
- // scss-docs-end navbar-theme-variables
1228
+ $navbar-dark-brand-color: $navbar-dark-active-color !default;
1229
+ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
1230
+ // scss-docs-end navbar-dark-variables
1149
1231
 
1150
1232
 
1151
1233
  // Dropdowns
@@ -1158,30 +1240,34 @@ $dropdown-padding-x: 0 !default;
1158
1240
  $dropdown-padding-y: .5rem !default;
1159
1241
  $dropdown-spacer: .125rem !default;
1160
1242
  $dropdown-font-size: $font-size-base !default;
1161
- $dropdown-color: $body-color !default;
1162
- $dropdown-bg: $white !default;
1163
- $dropdown-border-color: rgba($black, .15) !default;
1164
- $dropdown-border-radius: $border-radius !default;
1165
- $dropdown-border-width: $border-width !default;
1166
- $dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
1243
+ $dropdown-color: var(--#{$prefix}body-color) !default;
1244
+ $dropdown-bg: var(--#{$prefix}body-bg) !default;
1245
+ $dropdown-border-color: var(--#{$prefix}border-color-translucent) !default;
1246
+ $dropdown-border-radius: var(--#{$prefix}border-radius) !default;
1247
+ $dropdown-border-width: var(--#{$prefix}border-width) !default;
1248
+ $dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default; // stylelint-disable-line function-disallowed-list
1167
1249
  $dropdown-divider-bg: $dropdown-border-color !default;
1168
1250
  $dropdown-divider-margin-y: $spacer * .5 !default;
1169
- $dropdown-box-shadow: $box-shadow !default;
1251
+ $dropdown-box-shadow: var(--#{$prefix}box-shadow) !default;
1170
1252
 
1171
- $dropdown-link-color: $gray-900 !default;
1172
- $dropdown-link-hover-color: shade-color($dropdown-link-color, 10%) !default;
1173
- $dropdown-link-hover-bg: $gray-200 !default;
1253
+ $dropdown-link-color: var(--#{$prefix}body-color) !default;
1254
+ $dropdown-link-hover-color: $dropdown-link-color !default;
1255
+ $dropdown-link-hover-bg: var(--#{$prefix}tertiary-bg) !default;
1174
1256
 
1175
1257
  $dropdown-link-active-color: $component-active-color !default;
1176
1258
  $dropdown-link-active-bg: $component-active-bg !default;
1177
1259
 
1178
- $dropdown-link-disabled-color: $gray-500 !default;
1260
+ $dropdown-link-disabled-color: var(--#{$prefix}tertiary-color) !default;
1179
1261
 
1180
1262
  $dropdown-item-padding-y: $spacer * .25 !default;
1181
1263
  $dropdown-item-padding-x: $spacer !default;
1182
1264
 
1183
1265
  $dropdown-header-color: $gray-600 !default;
1184
- $dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
1266
+ $dropdown-header-padding-x: $dropdown-item-padding-x !default;
1267
+ $dropdown-header-padding-y: $dropdown-padding-y !default;
1268
+ // fusv-disable
1269
+ $dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x !default; // Deprecated in v5.2.0
1270
+ // fusv-enable
1185
1271
  // scss-docs-end dropdown-variables
1186
1272
 
1187
1273
  // scss-docs-start dropdown-dark-variables
@@ -1210,34 +1296,36 @@ $pagination-padding-x-sm: .5rem !default;
1210
1296
  $pagination-padding-y-lg: .75rem !default;
1211
1297
  $pagination-padding-x-lg: 1.5rem !default;
1212
1298
 
1213
- $pagination-color: $link-color !default;
1214
- $pagination-bg: $white !default;
1215
- $pagination-border-width: $border-width !default;
1216
- $pagination-border-radius: $border-radius !default;
1217
- $pagination-margin-start: -$pagination-border-width !default;
1218
- $pagination-border-color: $gray-300 !default;
1299
+ $pagination-font-size: $font-size-base !default;
1300
+
1301
+ $pagination-color: var(--#{$prefix}link-color) !default;
1302
+ $pagination-bg: var(--#{$prefix}body-bg) !default;
1303
+ $pagination-border-radius: var(--#{$prefix}border-radius) !default;
1304
+ $pagination-border-width: var(--#{$prefix}border-width) !default;
1305
+ $pagination-margin-start: calc(#{$pagination-border-width} * -1) !default; // stylelint-disable-line function-disallowed-list
1306
+ $pagination-border-color: var(--#{$prefix}border-color) !default;
1219
1307
 
1220
- $pagination-focus-color: $link-hover-color !default;
1221
- $pagination-focus-bg: $gray-200 !default;
1222
- $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
1308
+ $pagination-focus-color: var(--#{$prefix}link-hover-color) !default;
1309
+ $pagination-focus-bg: var(--#{$prefix}secondary-bg) !default;
1310
+ $pagination-focus-box-shadow: $focus-ring-box-shadow !default;
1223
1311
  $pagination-focus-outline: 0 !default;
1224
1312
 
1225
- $pagination-hover-color: $link-hover-color !default;
1226
- $pagination-hover-bg: $gray-200 !default;
1227
- $pagination-hover-border-color: $gray-300 !default;
1313
+ $pagination-hover-color: var(--#{$prefix}link-hover-color) !default;
1314
+ $pagination-hover-bg: var(--#{$prefix}tertiary-bg) !default;
1315
+ $pagination-hover-border-color: var(--#{$prefix}border-color) !default; // Todo in v6: remove this?
1228
1316
 
1229
1317
  $pagination-active-color: $component-active-color !default;
1230
1318
  $pagination-active-bg: $component-active-bg !default;
1231
- $pagination-active-border-color: $pagination-active-bg !default;
1319
+ $pagination-active-border-color: $component-active-bg !default;
1232
1320
 
1233
- $pagination-disabled-color: $gray-600 !default;
1234
- $pagination-disabled-bg: $white !default;
1235
- $pagination-disabled-border-color: $gray-300 !default;
1321
+ $pagination-disabled-color: var(--#{$prefix}secondary-color) !default;
1322
+ $pagination-disabled-bg: var(--#{$prefix}secondary-bg) !default;
1323
+ $pagination-disabled-border-color: var(--#{$prefix}border-color) !default;
1236
1324
 
1237
1325
  $pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
1238
1326
 
1239
- $pagination-border-radius-sm: $border-radius-sm !default;
1240
- $pagination-border-radius-lg: $border-radius-lg !default;
1327
+ $pagination-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
1328
+ $pagination-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
1241
1329
  // scss-docs-end pagination-variables
1242
1330
 
1243
1331
 
@@ -1254,18 +1342,20 @@ $placeholder-opacity-min: .2 !default;
1254
1342
  $card-spacer-y: $spacer !default;
1255
1343
  $card-spacer-x: $spacer !default;
1256
1344
  $card-title-spacer-y: $spacer * .5 !default;
1257
- $card-border-width: $border-width !default;
1258
- $card-border-color: rgba($black, .125) !default;
1259
- $card-border-radius: $border-radius !default;
1345
+ $card-title-color: null !default;
1346
+ $card-subtitle-color: null !default;
1347
+ $card-border-width: var(--#{$prefix}border-width) !default;
1348
+ $card-border-color: var(--#{$prefix}border-color-translucent) !default;
1349
+ $card-border-radius: var(--#{$prefix}border-radius) !default;
1260
1350
  $card-box-shadow: null !default;
1261
1351
  $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
1262
1352
  $card-cap-padding-y: $card-spacer-y * .5 !default;
1263
1353
  $card-cap-padding-x: $card-spacer-x !default;
1264
- $card-cap-bg: rgba($black, .03) !default;
1354
+ $card-cap-bg: rgba(var(--#{$prefix}body-color-rgb), .03) !default;
1265
1355
  $card-cap-color: null !default;
1266
1356
  $card-height: null !default;
1267
1357
  $card-color: null !default;
1268
- $card-bg: $white !default;
1358
+ $card-bg: var(--#{$prefix}body-bg) !default;
1269
1359
  $card-img-overlay-padding: $spacer !default;
1270
1360
  $card-group-margin: $grid-gutter-width * .5 !default;
1271
1361
  // scss-docs-end card-variables
@@ -1275,11 +1365,11 @@ $card-group-margin: $grid-gutter-width * .5 !default;
1275
1365
  // scss-docs-start accordion-variables
1276
1366
  $accordion-padding-y: 1rem !default;
1277
1367
  $accordion-padding-x: 1.25rem !default;
1278
- $accordion-color: $body-color !default;
1279
- $accordion-bg: $body-bg !default;
1280
- $accordion-border-width: $border-width !default;
1281
- $accordion-border-color: rgba($black, .125) !default;
1282
- $accordion-border-radius: $border-radius !default;
1368
+ $accordion-color: var(--#{$prefix}body-color) !default;
1369
+ $accordion-bg: var(--#{$prefix}body-bg) !default;
1370
+ $accordion-border-width: var(--#{$prefix}border-width) !default;
1371
+ $accordion-border-color: var(--#{$prefix}border-color) !default;
1372
+ $accordion-border-radius: var(--#{$prefix}border-radius) !default;
1283
1373
  $accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
1284
1374
 
1285
1375
  $accordion-body-padding-y: $accordion-padding-y !default;
@@ -1287,23 +1377,25 @@ $accordion-body-padding-x: $accordion-padding-x !default;
1287
1377
 
1288
1378
  $accordion-button-padding-y: $accordion-padding-y !default;
1289
1379
  $accordion-button-padding-x: $accordion-padding-x !default;
1290
- $accordion-button-color: $accordion-color !default;
1291
- $accordion-button-bg: $accordion-bg !default;
1380
+ $accordion-button-color: var(--#{$prefix}body-color) !default;
1381
+ $accordion-button-bg: var(--#{$prefix}accordion-bg) !default;
1292
1382
  $accordion-transition: $btn-transition, border-radius .15s ease !default;
1293
- $accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
1294
- $accordion-button-active-color: shade-color($primary, 10%) !default;
1383
+ $accordion-button-active-bg: var(--#{$prefix}primary-bg-subtle) !default;
1384
+ $accordion-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
1295
1385
 
1296
- $accordion-button-focus-border-color: $input-focus-border-color !default;
1386
+ // fusv-disable
1387
+ $accordion-button-focus-border-color: $input-focus-border-color !default; // Deprecated in v5.3.3
1388
+ // fusv-enable
1297
1389
  $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
1298
1390
 
1299
1391
  $accordion-icon-width: 1.25rem !default;
1300
- $accordion-icon-color: $accordion-button-color !default;
1301
- $accordion-icon-active-color: $accordion-button-active-color !default;
1392
+ $accordion-icon-color: $body-color !default;
1393
+ $accordion-icon-active-color: $primary-text-emphasis !default;
1302
1394
  $accordion-icon-transition: transform .2s ease-in-out !default;
1303
1395
  $accordion-icon-transform: rotate(-180deg) !default;
1304
1396
 
1305
- $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1306
- $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1397
+ $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-color}' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>") !default;
1398
+ $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-active-color}' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>") !default;
1307
1399
  // scss-docs-end accordion-variables
1308
1400
 
1309
1401
  // Tooltips
@@ -1311,17 +1403,19 @@ $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w
1311
1403
  // scss-docs-start tooltip-variables
1312
1404
  $tooltip-font-size: $font-size-sm !default;
1313
1405
  $tooltip-max-width: 200px !default;
1314
- $tooltip-color: $white !default;
1315
- $tooltip-bg: $black !default;
1316
- $tooltip-border-radius: $border-radius !default;
1406
+ $tooltip-color: var(--#{$prefix}body-bg) !default;
1407
+ $tooltip-bg: var(--#{$prefix}emphasis-color) !default;
1408
+ $tooltip-border-radius: var(--#{$prefix}border-radius) !default;
1317
1409
  $tooltip-opacity: .9 !default;
1318
1410
  $tooltip-padding-y: $spacer * .25 !default;
1319
1411
  $tooltip-padding-x: $spacer * .5 !default;
1320
- $tooltip-margin: 0 !default;
1412
+ $tooltip-margin: null !default; // TODO: remove this in v6
1321
1413
 
1322
1414
  $tooltip-arrow-width: .8rem !default;
1323
1415
  $tooltip-arrow-height: .4rem !default;
1324
- $tooltip-arrow-color: $tooltip-bg !default;
1416
+ // fusv-disable
1417
+ $tooltip-arrow-color: null !default; // Deprecated in Bootstrap 5.2.0 for CSS variables
1418
+ // fusv-enable
1325
1419
  // scss-docs-end tooltip-variables
1326
1420
 
1327
1421
  // Form tooltips must come after regular tooltips
@@ -1339,30 +1433,34 @@ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
1339
1433
 
1340
1434
  // scss-docs-start popover-variables
1341
1435
  $popover-font-size: $font-size-sm !default;
1342
- $popover-bg: $white !default;
1436
+ $popover-bg: var(--#{$prefix}body-bg) !default;
1343
1437
  $popover-max-width: 276px !default;
1344
- $popover-border-width: $border-width !default;
1345
- $popover-border-color: rgba($black, .2) !default;
1346
- $popover-border-radius: $border-radius-lg !default;
1347
- $popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
1348
- $popover-box-shadow: $box-shadow !default;
1349
-
1350
- $popover-header-bg: shade-color($popover-bg, 6%) !default;
1438
+ $popover-border-width: var(--#{$prefix}border-width) !default;
1439
+ $popover-border-color: var(--#{$prefix}border-color-translucent) !default;
1440
+ $popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
1441
+ $popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default; // stylelint-disable-line function-disallowed-list
1442
+ $popover-box-shadow: var(--#{$prefix}box-shadow) !default;
1443
+
1444
+ $popover-header-font-size: $font-size-base !default;
1445
+ $popover-header-bg: var(--#{$prefix}secondary-bg) !default;
1351
1446
  $popover-header-color: $headings-color !default;
1352
1447
  $popover-header-padding-y: .5rem !default;
1353
1448
  $popover-header-padding-x: $spacer !default;
1354
1449
 
1355
- $popover-body-color: $body-color !default;
1450
+ $popover-body-color: var(--#{$prefix}body-color) !default;
1356
1451
  $popover-body-padding-y: $spacer !default;
1357
1452
  $popover-body-padding-x: $spacer !default;
1358
1453
 
1359
1454
  $popover-arrow-width: 1rem !default;
1360
1455
  $popover-arrow-height: .5rem !default;
1361
- $popover-arrow-color: $popover-bg !default;
1362
-
1363
- $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
1364
1456
  // scss-docs-end popover-variables
1365
1457
 
1458
+ // fusv-disable
1459
+ // Deprecated in Bootstrap 5.2.0 for CSS variables
1460
+ $popover-arrow-color: $popover-bg !default;
1461
+ $popover-arrow-outer-color: var(--#{$prefix}border-color-translucent) !default;
1462
+ // fusv-enable
1463
+
1366
1464
 
1367
1465
  // Toasts
1368
1466
 
@@ -1372,16 +1470,16 @@ $toast-padding-x: .75rem !default;
1372
1470
  $toast-padding-y: .5rem !default;
1373
1471
  $toast-font-size: .875rem !default;
1374
1472
  $toast-color: null !default;
1375
- $toast-background-color: rgba($white, .85) !default;
1376
- $toast-border-width: 1px !default;
1377
- $toast-border-color: rgba($black, .1) !default;
1378
- $toast-border-radius: $border-radius !default;
1379
- $toast-box-shadow: $box-shadow !default;
1473
+ $toast-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
1474
+ $toast-border-width: var(--#{$prefix}border-width) !default;
1475
+ $toast-border-color: var(--#{$prefix}border-color-translucent) !default;
1476
+ $toast-border-radius: var(--#{$prefix}border-radius) !default;
1477
+ $toast-box-shadow: var(--#{$prefix}box-shadow) !default;
1380
1478
  $toast-spacing: $container-padding-x !default;
1381
1479
 
1382
- $toast-header-color: $gray-600 !default;
1383
- $toast-header-background-color: rgba($white, .85) !default;
1384
- $toast-header-border-color: rgba($black, .05) !default;
1480
+ $toast-header-color: var(--#{$prefix}secondary-color) !default;
1481
+ $toast-header-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
1482
+ $toast-header-border-color: $toast-border-color !default;
1385
1483
  // scss-docs-end toast-variables
1386
1484
 
1387
1485
 
@@ -1393,7 +1491,7 @@ $badge-font-weight: $font-weight-bold !default;
1393
1491
  $badge-color: $white !default;
1394
1492
  $badge-padding-y: .35em !default;
1395
1493
  $badge-padding-x: .65em !default;
1396
- $badge-border-radius: $border-radius !default;
1494
+ $badge-border-radius: var(--#{$prefix}border-radius) !default;
1397
1495
  // scss-docs-end badge-variables
1398
1496
 
1399
1497
 
@@ -1410,24 +1508,27 @@ $modal-dialog-margin-y-sm-up: 1.75rem !default;
1410
1508
  $modal-title-line-height: $line-height-base !default;
1411
1509
 
1412
1510
  $modal-content-color: null !default;
1413
- $modal-content-bg: $white !default;
1414
- $modal-content-border-color: rgba($black, .2) !default;
1415
- $modal-content-border-width: $border-width !default;
1416
- $modal-content-border-radius: $border-radius-lg !default;
1511
+ $modal-content-bg: var(--#{$prefix}body-bg) !default;
1512
+ $modal-content-border-color: var(--#{$prefix}border-color-translucent) !default;
1513
+ $modal-content-border-width: var(--#{$prefix}border-width) !default;
1514
+ $modal-content-border-radius: var(--#{$prefix}border-radius-lg) !default;
1417
1515
  $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
1418
- $modal-content-box-shadow-xs: $box-shadow-sm !default;
1419
- $modal-content-box-shadow-sm-up: $box-shadow !default;
1516
+ $modal-content-box-shadow-xs: var(--#{$prefix}box-shadow-sm) !default;
1517
+ $modal-content-box-shadow-sm-up: var(--#{$prefix}box-shadow) !default;
1420
1518
 
1421
1519
  $modal-backdrop-bg: $black !default;
1422
1520
  $modal-backdrop-opacity: .5 !default;
1423
- $modal-header-border-color: $border-color !default;
1424
- $modal-footer-border-color: $modal-header-border-color !default;
1521
+
1522
+ $modal-header-border-color: var(--#{$prefix}border-color) !default;
1425
1523
  $modal-header-border-width: $modal-content-border-width !default;
1426
- $modal-footer-border-width: $modal-header-border-width !default;
1427
1524
  $modal-header-padding-y: $modal-inner-padding !default;
1428
1525
  $modal-header-padding-x: $modal-inner-padding !default;
1429
1526
  $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
1430
1527
 
1528
+ $modal-footer-bg: null !default;
1529
+ $modal-footer-border-color: $modal-header-border-color !default;
1530
+ $modal-footer-border-width: $modal-header-border-width !default;
1531
+
1431
1532
  $modal-sm: 300px !default;
1432
1533
  $modal-md: 500px !default;
1433
1534
  $modal-lg: 800px !default;
@@ -1448,24 +1549,26 @@ $modal-scale-transform: scale(1.02) !default;
1448
1549
  $alert-padding-y: $spacer !default;
1449
1550
  $alert-padding-x: $spacer !default;
1450
1551
  $alert-margin-bottom: 1rem !default;
1451
- $alert-border-radius: $border-radius !default;
1552
+ $alert-border-radius: var(--#{$prefix}border-radius) !default;
1452
1553
  $alert-link-font-weight: $font-weight-bold !default;
1453
- $alert-border-width: $border-width !default;
1454
- $alert-bg-scale: -80% !default;
1455
- $alert-border-scale: -70% !default;
1456
- $alert-color-scale: 40% !default;
1554
+ $alert-border-width: var(--#{$prefix}border-width) !default;
1457
1555
  $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
1458
1556
  // scss-docs-end alert-variables
1459
1557
 
1558
+ // fusv-disable
1559
+ $alert-bg-scale: -80% !default; // Deprecated in v5.2.0, to be removed in v6
1560
+ $alert-border-scale: -70% !default; // Deprecated in v5.2.0, to be removed in v6
1561
+ $alert-color-scale: 40% !default; // Deprecated in v5.2.0, to be removed in v6
1562
+ // fusv-enable
1460
1563
 
1461
1564
  // Progress bars
1462
1565
 
1463
1566
  // scss-docs-start progress-variables
1464
1567
  $progress-height: 1rem !default;
1465
1568
  $progress-font-size: $font-size-base * .75 !default;
1466
- $progress-bg: $gray-200 !default;
1467
- $progress-border-radius: $border-radius !default;
1468
- $progress-box-shadow: $box-shadow-inset !default;
1569
+ $progress-bg: var(--#{$prefix}secondary-bg) !default;
1570
+ $progress-border-radius: var(--#{$prefix}border-radius) !default;
1571
+ $progress-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
1469
1572
  $progress-bar-color: $white !default;
1470
1573
  $progress-bar-bg: $primary !default;
1471
1574
  $progress-bar-animation-timing: 1s linear infinite !default;
@@ -1476,30 +1579,32 @@ $progress-bar-transition: width .6s ease !default;
1476
1579
  // List group
1477
1580
 
1478
1581
  // scss-docs-start list-group-variables
1479
- $list-group-color: $gray-900 !default;
1480
- $list-group-bg: $white !default;
1481
- $list-group-border-color: rgba($black, .125) !default;
1482
- $list-group-border-width: $border-width !default;
1483
- $list-group-border-radius: $border-radius !default;
1582
+ $list-group-color: var(--#{$prefix}body-color) !default;
1583
+ $list-group-bg: var(--#{$prefix}body-bg) !default;
1584
+ $list-group-border-color: var(--#{$prefix}border-color) !default;
1585
+ $list-group-border-width: var(--#{$prefix}border-width) !default;
1586
+ $list-group-border-radius: var(--#{$prefix}border-radius) !default;
1484
1587
 
1485
1588
  $list-group-item-padding-y: $spacer * .5 !default;
1486
1589
  $list-group-item-padding-x: $spacer !default;
1487
- $list-group-item-bg-scale: -80% !default;
1488
- $list-group-item-color-scale: 40% !default;
1590
+ // fusv-disable
1591
+ $list-group-item-bg-scale: -80% !default; // Deprecated in v5.3.0
1592
+ $list-group-item-color-scale: 40% !default; // Deprecated in v5.3.0
1593
+ // fusv-enable
1489
1594
 
1490
- $list-group-hover-bg: $gray-100 !default;
1595
+ $list-group-hover-bg: var(--#{$prefix}tertiary-bg) !default;
1491
1596
  $list-group-active-color: $component-active-color !default;
1492
1597
  $list-group-active-bg: $component-active-bg !default;
1493
1598
  $list-group-active-border-color: $list-group-active-bg !default;
1494
1599
 
1495
- $list-group-disabled-color: $gray-600 !default;
1600
+ $list-group-disabled-color: var(--#{$prefix}secondary-color) !default;
1496
1601
  $list-group-disabled-bg: $list-group-bg !default;
1497
1602
 
1498
- $list-group-action-color: $gray-700 !default;
1499
- $list-group-action-hover-color: $list-group-action-color !default;
1603
+ $list-group-action-color: var(--#{$prefix}secondary-color) !default;
1604
+ $list-group-action-hover-color: var(--#{$prefix}emphasis-color) !default;
1500
1605
 
1501
- $list-group-action-active-color: $body-color !default;
1502
- $list-group-action-active-bg: $gray-200 !default;
1606
+ $list-group-action-active-color: var(--#{$prefix}body-color) !default;
1607
+ $list-group-action-active-bg: var(--#{$prefix}secondary-bg) !default;
1503
1608
  // scss-docs-end list-group-variables
1504
1609
 
1505
1610
 
@@ -1507,11 +1612,11 @@ $list-group-action-active-bg: $gray-200 !default;
1507
1612
 
1508
1613
  // scss-docs-start thumbnail-variables
1509
1614
  $thumbnail-padding: .25rem !default;
1510
- $thumbnail-bg: $body-bg !default;
1511
- $thumbnail-border-width: $border-width !default;
1512
- $thumbnail-border-color: $gray-300 !default;
1513
- $thumbnail-border-radius: $border-radius !default;
1514
- $thumbnail-box-shadow: $box-shadow-sm !default;
1615
+ $thumbnail-bg: var(--#{$prefix}body-bg) !default;
1616
+ $thumbnail-border-width: var(--#{$prefix}border-width) !default;
1617
+ $thumbnail-border-color: var(--#{$prefix}border-color) !default;
1618
+ $thumbnail-border-radius: var(--#{$prefix}border-radius) !default;
1619
+ $thumbnail-box-shadow: var(--#{$prefix}box-shadow-sm) !default;
1515
1620
  // scss-docs-end thumbnail-variables
1516
1621
 
1517
1622
 
@@ -1519,7 +1624,7 @@ $thumbnail-box-shadow: $box-shadow-sm !default;
1519
1624
 
1520
1625
  // scss-docs-start figure-variables
1521
1626
  $figure-caption-font-size: $small-font-size !default;
1522
- $figure-caption-color: $gray-600 !default;
1627
+ $figure-caption-color: var(--#{$prefix}secondary-color) !default;
1523
1628
  // scss-docs-end figure-variables
1524
1629
 
1525
1630
 
@@ -1532,8 +1637,8 @@ $breadcrumb-padding-x: 0 !default;
1532
1637
  $breadcrumb-item-padding-x: .5rem !default;
1533
1638
  $breadcrumb-margin-bottom: 1rem !default;
1534
1639
  $breadcrumb-bg: null !default;
1535
- $breadcrumb-divider-color: $gray-600 !default;
1536
- $breadcrumb-active-color: $gray-600 !default;
1640
+ $breadcrumb-divider-color: var(--#{$prefix}secondary-color) !default;
1641
+ $breadcrumb-active-color: var(--#{$prefix}secondary-color) !default;
1537
1642
  $breadcrumb-divider: quote("/") !default;
1538
1643
  $breadcrumb-divider-flipped: $breadcrumb-divider !default;
1539
1644
  $breadcrumb-border-radius: null !default;
@@ -1569,11 +1674,13 @@ $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://
1569
1674
 
1570
1675
  $carousel-transition-duration: .6s !default;
1571
1676
  $carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
1677
+ // scss-docs-end carousel-variables
1572
1678
 
1679
+ // scss-docs-start carousel-dark-variables
1573
1680
  $carousel-dark-indicator-active-bg: $black !default;
1574
1681
  $carousel-dark-caption-color: $black !default;
1575
1682
  $carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
1576
- // scss-docs-end carousel-variables
1683
+ // scss-docs-end carousel-dark-variables
1577
1684
 
1578
1685
 
1579
1686
  // Spinners
@@ -1599,8 +1706,8 @@ $btn-close-height: $btn-close-width !default;
1599
1706
  $btn-close-padding-x: .25em !default;
1600
1707
  $btn-close-padding-y: $btn-close-padding-x !default;
1601
1708
  $btn-close-color: $black !default;
1602
- $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
1603
- $btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
1709
+ $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>") !default;
1710
+ $btn-close-focus-shadow: $focus-ring-box-shadow !default;
1604
1711
  $btn-close-opacity: .5 !default;
1605
1712
  $btn-close-hover-opacity: .75 !default;
1606
1713
  $btn-close-focus-opacity: 1 !default;
@@ -1620,8 +1727,8 @@ $offcanvas-transition-duration: .3s !default;
1620
1727
  $offcanvas-border-color: $modal-content-border-color !default;
1621
1728
  $offcanvas-border-width: $modal-content-border-width !default;
1622
1729
  $offcanvas-title-line-height: $modal-title-line-height !default;
1623
- $offcanvas-bg-color: $modal-content-bg !default;
1624
- $offcanvas-color: $modal-content-color !default;
1730
+ $offcanvas-bg-color: var(--#{$prefix}body-bg) !default;
1731
+ $offcanvas-color: var(--#{$prefix}body-color) !default;
1625
1732
  $offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
1626
1733
  $offcanvas-backdrop-bg: $modal-backdrop-bg !default;
1627
1734
  $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
@@ -1632,10 +1739,13 @@ $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
1632
1739
  $code-font-size: $small-font-size !default;
1633
1740
  $code-color: $pink !default;
1634
1741
 
1635
- $kbd-padding-y: .2rem !default;
1636
- $kbd-padding-x: .4rem !default;
1742
+ $kbd-padding-y: .1875rem !default;
1743
+ $kbd-padding-x: .375rem !default;
1637
1744
  $kbd-font-size: $code-font-size !default;
1638
- $kbd-color: $white !default;
1639
- $kbd-bg: $gray-900 !default;
1745
+ $kbd-color: var(--#{$prefix}body-bg) !default;
1746
+ $kbd-bg: var(--#{$prefix}body-color) !default;
1747
+ $nested-kbd-font-weight: null !default; // Deprecated in v5.2.0, removing in v6
1640
1748
 
1641
1749
  $pre-color: null !default;
1750
+
1751
+ @import "variables-dark"; // TODO: can be removed safely in v6, only here to avoid breaking changes in v5.3