Previously, the color of `<summary>` elements was hard-coded to `black`. This did not work well on the dark theme, where the background color of the page is also very dark. This commit fixes it by removing the explicit color style, thus letting `<summary>` elements inherit the color of their container. Closes #42616 PR Close #42620
8 lines
124 B
SCSS
8 lines
124 B
SCSS
@use '../../constants';
|
|
|
|
@mixin theme($theme) {
|
|
details {
|
|
box-shadow: 0 1px 4px 0 rgba(constants.$black, 0.37);
|
|
}
|
|
}
|