From 70def3d3edd1cfc0231552c0e51986c7017c20fc Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Tue, 22 Jun 2021 21:48:15 +0300 Subject: [PATCH] fix(docs-infra): fix styling of `` elements on dark theme (#42620) Previously, the color of `` 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 `` elements inherit the color of their container. Closes #42616 PR Close #42620 --- aio/src/styles/2-modules/details/_details-theme.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aio/src/styles/2-modules/details/_details-theme.scss b/aio/src/styles/2-modules/details/_details-theme.scss index fd0fc697b9..e618f89662 100644 --- a/aio/src/styles/2-modules/details/_details-theme.scss +++ b/aio/src/styles/2-modules/details/_details-theme.scss @@ -3,9 +3,5 @@ @mixin theme($theme) { details { box-shadow: 0 1px 4px 0 rgba(constants.$black, 0.37); - - > summary { - color: constants.$black; - } } }