Skip to content

Commit 00e137a

Browse files
🌗
1 parent 981c315 commit 00e137a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

styles/prism-theme.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
padding: 1.5em !important;
88
}
99

10-
[data-theme='dark'] .notion-code {
10+
.dark-mode .notion-code {
1111
background-color: rgba(17, 24, 39, 1);
1212
border-color: rgba(55, 65, 81, 1);
1313
}
@@ -18,17 +18,17 @@
1818
background: none !important;
1919
padding: 0 !important;
2020
}
21-
[data-theme='dark'] .notion code {
21+
.dark-mode .notion code {
2222
color: rgba(229, 231, 235, 1);
2323
}
2424

25-
[data-theme='dark'] .notion .notion-inline-code {
25+
.dark-mode .notion .notion-inline-code {
2626
background: rgb(71, 76, 80) !important;
2727
color: #ff4081;
2828
padding: 0.2em 0.4em !important;
2929
}
3030

31-
.light-mode .notion .notion-inline-code {
31+
.notion .notion-inline-code {
3232
color: #ff4081;
3333
background: rgba(127, 122, 107, 0.1) !important;
3434
padding: 0.2em 0.4em !important;
@@ -42,15 +42,15 @@
4242
.token.comment {
4343
color: #5b9b4c;
4444
}
45-
[data-theme='dark'] .token.cdata,
46-
[data-theme='dark'] .token.doctype,
47-
[data-theme='dark'] .token.prolog {
45+
.dark-mode .token.cdata,
46+
.dark-mode .token.doctype,
47+
.dark-mode .token.prolog {
4848
color: rgba(209, 213, 219, 1);
4949
}
5050
.token.punctuation {
5151
color: rgba(55, 65, 81, 1);
5252
}
53-
[data-theme='dark'] .token.punctuation {
53+
.dark-mode .token.punctuation {
5454
color: rgba(209, 213, 219, 1);
5555
}
5656
.token.boolean,
@@ -95,8 +95,8 @@ code[class*='language-'],
9595
pre[class*='language-'] {
9696
color: rgba(31, 41, 55, 1);
9797
}
98-
[data-theme='dark'] code[class*='language-'],
99-
[data-theme='dark'] pre[class*='language-'] {
98+
.dark-mode code[class*='language-'],
99+
.dark-mode pre[class*='language-'] {
100100
color: rgba(249, 250, 251, 1);
101101
}
102102
pre::-webkit-scrollbar {

0 commit comments

Comments
 (0)