Skip to content

Commit 0cb985d

Browse files
authored
Merge pull request #792 from zackproser/codex/fix-code-snippet-theme-to-gruvbox-dark
Fix gruvbox code theme
2 parents 7897734 + 7327c87 commit 0cb985d

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

src/styles/global.css

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -257,29 +257,4 @@ h4, h5, h6 { @apply text-blue-600 dark:text-blue-400; }
257257
background: #555;
258258
}
259259

260-
/* Style inline code within prose blocks */
261-
.prose :where(code):not(:where([class~="not-prose"] *)) {
262-
color: #222;
263-
background: #f5f5f7;
264-
}
265-
266-
@media (prefers-color-scheme: dark) {
267-
.prose :where(code):not(:where([class~="not-prose"] *)) {
268-
color: #f5f5f7;
269-
background: #222;
270-
}
271-
}
272-
273-
/* Code blocks: readable in both modes */
274-
pre[class*="language-"], code[class*="language-"] {
275-
background: #f5f5f7;
276-
color: #222;
277-
}
278-
279-
@media (prefers-color-scheme: dark) {
280-
pre[class*="language-"], code[class*="language-"] {
281-
background: #222 !important;
282-
color: #f5f5f7 !important;
283-
}
284-
}
285260

src/styles/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import './gruvbox.css';
21
@import 'tailwindcss/base';
32
@import 'tailwindcss/components';
43
@import 'tailwindcss/utilities';
4+
@import './gruvbox.css';

0 commit comments

Comments
 (0)