change shiki dark theme and add light theme
This commit is contained in:
parent
c9db5773d3
commit
ea5b56acc8
4 changed files with 124 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue