1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00
This commit is contained in:
Julien Déramond
2023-10-13 15:50:27 +02:00
parent ecab15443f
commit 4f8ec5db02
2 changed files with 33 additions and 44 deletions

View File

@@ -148,25 +148,14 @@
}
}
@include color-mode() {
@include color-mode(light, true) {
--#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};
--#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};
}
@if $enable-dark-mode {
@include color-mode(dark) {
@include color-mode(dark, true) {
--#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};
--#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};
}
}
/*
[data-bs-theme="light"] .accordion
[data-bs-theme="light"].accordion
[data-bs-theme="dark"] .accordion
[data-bs-theme="dark"].accordion
accordion data-bs-theme="dark"
<div data-bs-theme="light">
accordion
*/