File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
packages/docusaurus-theme-redoc/src/theme/Redoc Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " docusaurus-theme-redoc " : patch
3+ ---
4+
5+ fix callback dark mode background
Original file line number Diff line number Diff line change @@ -126,6 +126,21 @@ html[data-theme='dark']
126126 background-color : var (--ifm-background-color );
127127}
128128
129+ /* Fixes https://github.com/rohit-gohri/redocusaurus/issues/306 */
130+ html [data-theme = 'dark' ]
131+ .redocusaurus
132+ div [id ^= 'tag' ]
133+ button : has (span ): has (.operation-type ) {
134+ background-color : var (--ifm-color-gray-800 );
135+ }
136+
137+ html [data-theme = 'dark' ]
138+ .redocusaurus
139+ div [id ^= 'tag' ]
140+ button + div {
141+ background-color : var (--ifm-color-emphasis-0 );
142+ }
143+
129144/* Padding above Response Samples heading */
130145.redocusaurus .react-tabs__tab-panel--selected {
131146 margin-bottom : 10px ;
You can’t perform that action at this time.
0 commit comments