1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 06:44:35 +02:00

Add [data-bs-theme="body"]

This commit is contained in:
louismaxime.piton
2023-09-15 15:02:46 +02:00
parent 9900cf33c0
commit c462942467
3 changed files with 4 additions and 0 deletions

View File

@@ -21,10 +21,12 @@
}
}
@include expect() {
:root[data-bs-theme=dark] [data-bs-theme=body] .element,
[data-bs-theme=dark] .element {
color: var(--bs-primary-text-emphasis);
background-color: var(--bs-primary-bg-subtle);
}
:root[data-bs-theme=dark] [data-bs-theme=body],
[data-bs-theme=dark] {
--custom-color: #3a3ff8;
}