mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-03 15:28:14 +00:00
syntax higlighting
This commit is contained in:
parent
42d3a7de17
commit
04eeb2d10c
11 changed files with 198 additions and 44 deletions
quartz/styles
|
@ -1,5 +1,5 @@
|
|||
// npx convert-sh-theme https://raw.githubusercontent.com/shikijs/shiki/main/packages/shiki/themes/github-light.json
|
||||
body {
|
||||
:root {
|
||||
--shiki-color-text: #24292e;
|
||||
--shiki-color-background: #f8f8f8;
|
||||
--shiki-token-constant: #005cc5;
|
||||
|
@ -14,7 +14,7 @@ body {
|
|||
}
|
||||
|
||||
// npx convert-sh-theme https://raw.githubusercontent.com/shikijs/shiki/main/packages/shiki/themes/github-dark.json
|
||||
:root[saved-theme="dark"] body {
|
||||
:root[saved-theme="dark"] {
|
||||
--shiki-color-text: #e1e4e8 !important;
|
||||
--shiki-color-background: #24292e !important;
|
||||
--shiki-token-constant: #79b8ff !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue