fix(docs-infra): fix styling of `<summary>` elements on dark theme (#42620)

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
This commit is contained in:
George Kalpakas 2021-06-22 21:48:15 +03:00 committed by Jessica Janiuk
parent e5b4b83778
commit 70def3d3ed
1 changed files with 0 additions and 4 deletions

View File

@ -3,9 +3,5 @@
@mixin theme($theme) {
details {
box-shadow: 0 1px 4px 0 rgba(constants.$black, 0.37);
> summary {
color: constants.$black;
}
}
}