mirror of https://github.com/twbs/bootstrap.git
Allow parent or current element trigger .dropdown-menu-dark variables
This commit is contained in:
parent
a5e1011e3a
commit
0e1ad5f4be
|
@ -232,7 +232,9 @@
|
|||
}
|
||||
|
||||
// Dark dropdowns
|
||||
.dropdown-menu-dark {
|
||||
.dropdown-menu-dark,
|
||||
[data-bs-theme="dark"] .dropdown-menu,
|
||||
.dropdown-menu[data-bs-theme="dark"] {
|
||||
// scss-docs-start dropdown-dark-css-vars
|
||||
--#{$prefix}dropdown-color: #{$dropdown-dark-color};
|
||||
--#{$prefix}dropdown-bg: #{$dropdown-dark-bg};
|
||||
|
|
Loading…
Reference in New Issue