diff options
Diffstat (limited to 'app/packages/web/src/styles/custom.css')
| -rw-r--r-- | app/packages/web/src/styles/custom.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/packages/web/src/styles/custom.css b/app/packages/web/src/styles/custom.css index 450be4319..9c4c71f00 100644 --- a/app/packages/web/src/styles/custom.css +++ b/app/packages/web/src/styles/custom.css @@ -2,3 +2,15 @@ --sl-color-bg-surface: var(--sl-color-bg-nav); --sl-color-divider: var(--sl-color-gray-5); } + +@media (prefers-color-scheme: dark) { + .shiki, + .shiki span { + color: var(--shiki-dark) !important; + background-color: var(--shiki-dark-bg) !important; + /* Optional, if you also want font styles */ + font-style: var(--shiki-dark-font-style) !important; + font-weight: var(--shiki-dark-font-weight) !important; + text-decoration: var(--shiki-dark-text-decoration) !important; + } +} |
