change shiki dark theme and add light theme

This commit is contained in:
outfoxxed 2024-10-17 01:03:12 -07:00
parent c9db5773d3
commit ea5b56acc8
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 124 additions and 6 deletions

View file

@ -5,6 +5,18 @@
background-color: hsl(var(--blue) 85 35 / 0.1);
}
.shiki,
.shiki span {
color: var(--shiki-light);
background-color: var(--shiki-light-bg);
}
html.dark .shiki,
html.dark .shiki span {
color: var(--shiki-dark);
background-color: var(--shiki-dark-bg);
}
pre {
padding: 1rem;
border-radius: 0.618rem;