File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ pre.shiki {
58
58
}
59
59
60
60
.format-code pre code {
61
- @apply before:!content-none after:!content-none bg-slate-100 dark:bg-black border-[0px ] border-slate-500/50 px-1 py-0.5 rounded-sm w-full max-w-3xl mx-auto;
61
+ @apply before:!content-none after:!content-none bg-slate-100 dark:bg-slate-900 border-[0px ] border-slate-500/50 px-1 py-0.5 rounded-sm w-full max-w-3xl mx-auto;
62
62
}
63
63
64
64
figure {
@@ -68,19 +68,14 @@ figure {
68
68
@media (prefers-color-scheme : dark) {
69
69
.shiki ,
70
70
.shiki span {
71
- color : var (--shiki-dark ) !important ;
72
- background-color : var (--shiki-dark-bg ) !important ;
73
- /* Optional, if you also want font styles */
74
- font-style : var (--shiki-dark-font-style ) !important ;
75
- font-weight : var (--shiki-dark-font-weight ) !important ;
76
- text-decoration : var (--shiki-dark-text-decoration ) !important ;
71
+ @apply dark:!bg-slate-900;
77
72
}
78
73
}
79
74
80
75
@media (prefers-color-scheme : light) {
81
76
.shiki ,
82
77
.shiki span {
83
- @apply !bg- slate-100 dark:!bg-slate-700 ;
78
+ @apply !bg- slate-100 ;
84
79
}
85
80
}
86
81
You can’t perform that action at this time.
0 commit comments