Skip to content

Commit 5ce4097

Browse files
committed
v6: Update colors and theme (#41763)
* new colors * WIP: Redo some theming * Fix sass warnings on unquoted map keys * Revamp colors, update docs, couple new utils * Remove key attributes * Bump bundlewatch * Bundlewatch * Fix some things up * Clean up tables, more color changes * Fix more table color generation, simplify markup with new Table component prop * More docs improvements, including utilities API, and checkbox and radio theme variants
1 parent 6b8a1bb commit 5ce4097

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1011
-1651
lines changed

.bundlewatch.config.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22
"files": [
33
{
44
"path": "./dist/css/bootstrap-grid.css",
5-
"maxSize": "7.75 kB"
5+
"maxSize": "9.00 kB"
66
},
77
{
88
"path": "./dist/css/bootstrap-grid.min.css",
9-
"maxSize": "7.00 kB"
9+
"maxSize": "8.25 kB"
1010
},
1111
{
1212
"path": "./dist/css/bootstrap-reboot.css",
13-
"maxSize": "4.5 kB"
13+
"maxSize": "5.0 kB"
1414
},
1515
{
1616
"path": "./dist/css/bootstrap-reboot.min.css",
1717
"maxSize": "4.5 kB"
1818
},
1919
{
2020
"path": "./dist/css/bootstrap-utilities.css",
21-
"maxSize": "13.0 kB"
21+
"maxSize": "13.5 kB"
2222
},
2323
{
2424
"path": "./dist/css/bootstrap-utilities.min.css",
2525
"maxSize": "12.0 kB"
2626
},
2727
{
2828
"path": "./dist/css/bootstrap.css",
29-
"maxSize": "36.0 kB"
29+
"maxSize": "36.5 kB"
3030
},
3131
{
3232
"path": "./dist/css/bootstrap.min.css",
33-
"maxSize": "32.0 kB"
33+
"maxSize": "33.0 kB"
3434
},
3535
{
3636
"path": "./dist/js/bootstrap.bundle.js",

scss/_alert.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@use "sass:map";
22
@use "config" as *;
3+
@use "theme" as *;
34
@use "variables" as *;
45
@use "mixins/border-radius" as *;
56

@@ -69,9 +70,9 @@ $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers widt
6970

7071
// scss-docs-start alert-modifiers
7172
// Generate contextual modifier classes for colorizing the alert
72-
@each $state in map.keys($theme-colors) {
73+
@each $state in map.keys($new-theme-colors) {
7374
.alert-#{$state} {
74-
--#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);
75+
--#{$prefix}alert-color: var(--#{$prefix}#{$state}-text);
7576
--#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
7677
--#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);
7778
--#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);

0 commit comments

Comments
 (0)