File tree 3 files changed +1559
-1550
lines changed
packages/docusaurus-theme-redoc/src/theme/Redoc
3 files changed +1559
-1550
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' docusaurus-theme-redoc ' : patch
3
+ ---
4
+
5
+ Fix code samples background color
Original file line number Diff line number Diff line change @@ -131,14 +131,18 @@ html[data-theme='dark']
131
131
margin-bottom : 10px ;
132
132
}
133
133
134
- /* Code Samples */
134
+ /*
135
+ * Code Samples
136
+ * @see https://github.com/rohit-gohri/redocusaurus/issues/217
137
+ */
135
138
html : not ([data-theme='dark'])
136
139
.redocusaurus
137
140
div [id ^= 'react-tabs' ]
138
141
> div : nth-child (1 )
139
142
> pre : nth-child (2 ) {
140
- background-color : var ( --ifm-background-color ) ;
143
+ background-color : transparent ;
141
144
}
145
+
142
146
/** https://github.com/rohit-gohri/redocusaurus/issues/45 */
143
147
html : not ([data-theme='dark']) .redocusaurus div [id ^= 'react-tabs' ] code {
144
148
color : var (--ifm-color-emphasis-0 );
You can’t perform that action at this time.
0 commit comments