File tree Expand file tree Collapse file tree 6 files changed +30
-5
lines changed Expand file tree Collapse file tree 6 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 17
17
18
18
.btn {
19
19
padding : 0 $input-btn-padding-x ;
20
- color : $text-muted ;
21
20
vertical-align : top ;
22
21
border : 0 ;
23
22
26
25
color : $body-color ;
27
26
background : transparent ;
28
27
}
28
+ @include themes ($typography-theme-map , $create : parent) {
29
+ color : themes-get-value (" text-muted" );
30
+ }
29
31
}
30
32
31
33
.show {
Original file line number Diff line number Diff line change 32
32
33
33
& ::before {
34
34
display : inline-block ; // Suppress underlining of the separator in modern browsers
35
- color : $breadcrumb-divider-color ;
35
+ @include themes ($breadcrumb-theme-map , $create : parent) {
36
+ color : themes-get-value (" breadcrumb-divider-color" );
37
+ }
36
38
content : escape-svg ($breadcrumb-divider );
37
39
@include ltr {
38
40
padding-right : $breadcrumb-item-padding ;
58
60
}
59
61
60
62
& .active {
61
- color : $breadcrumb-active-color ;
63
+ @include themes ($breadcrumb-theme-map , $create : parent) {
64
+ color : themes-get-value (" breadcrumb-active-color" );
65
+ }
62
66
}
63
67
}
Original file line number Diff line number Diff line change @@ -249,7 +249,9 @@ textarea.form-control {
249
249
// Use [disabled] and :disabled for workaround https://github.com/twbs/bootstrap/issues/28247
250
250
& [disabled ] ~ .form-check-label ,
251
251
& :disabled ~ .form-check-label {
252
- color : $text-muted ;
252
+ @include themes ($typography-theme-map , $create : parent) {
253
+ color : themes-get-value (" text-muted" );
254
+ }
253
255
}
254
256
}
255
257
Original file line number Diff line number Diff line change 49
49
}
50
50
51
51
.text-body { color : $body-color !important ; }
52
- .text-muted { color : $text-muted !important ; }
52
+ .text-muted {
53
+ @include themes ($typography-theme-map , $create : parent) {
54
+ color : themes-get-value (" text-muted" ) !important ;
55
+ }
56
+ }
53
57
54
58
.text-black-50 { color : rgba ($black , .5 ) !important ; }
55
59
.text-white-50 { color : rgba ($white , .5 ) !important ; }
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ $enable-deprecation-messages: false !default;
23
23
$enable-sidebar-nav-rounded : false !default ;
24
24
$layout-transition-speed : .3s !default ;
25
25
$enable-elevations : true !default ;
26
+ $enable-prefers-color-scheme : false !default ;
26
27
27
28
$options : () !default ;
28
29
Original file line number Diff line number Diff line change @@ -89,3 +89,15 @@ $icon-size-base: 1rem !default;
89
89
$icon-size-sm : $icon-size-base * .875 !default ;
90
90
$icon-size-lg : $icon-size-base * 1.25 !default ;
91
91
$icon-size-xl : $icon-size-base * 1.5 !default ;
92
+
93
+
94
+ $typography-theme-map : () !default ;
95
+ // stylelint-disable-next-line scss/dollar-variable-default
96
+ $typography-theme-map : map-merge (
97
+ (
98
+ default : (
99
+ " text-muted" : $text-muted
100
+ )
101
+ ),
102
+ $typography-theme-map
103
+ );
You can’t perform that action at this time.
0 commit comments