We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pre
code
1 parent 6d60eba commit 9dbe035Copy full SHA for 9dbe035
site/src/theme/static/highlight.dark.less
@@ -0,0 +1,16 @@
1
+html[data-doc-theme='dark'] {
2
+ pre code {
3
+ background: #262626;
4
+ border-color: #262626;
5
+ }
6
+
7
+ code[class*='language-'],
8
+ pre[class*='language-'] {
9
+ color: black;
10
11
12
+ :not(pre) > code[class*='language-'],
13
14
15
16
+}
site/src/theme/static/index.less
@@ -9,6 +9,7 @@
@import './toc';
@import './not-found';
@import './highlight';
+@import './highlight.dark';
@import './demo';
@import './icons';
@import './mock-browser';
0 commit comments