docs: tutorial for render tag content

This commit is contained in:
Harttle
2022-01-23 14:24:58 +08:00
parent 298db97b84
commit 8db6c7b28d
8 changed files with 296 additions and 33 deletions
+14 -30
View File
@@ -1,40 +1,24 @@
// https://github.com/chriskempson/tomorrow-theme
// Tomorrow Night Eighties
:root {
--highlight-background: #eee
--highlight-current-line: #efefef
--highlight-selection: #d6d6d6
--highlight-foreground: #4d4d4c
--highlight-comment: #8e908c
--highlight-red: #c82829
--highlight-orange: #f5871f
--highlight-yellow: #eab700
--highlight-green: #718c00
--highlight-aqua: #3e999f
--highlight-blue: #4271ae
--highlight-purple: #8959a8
}
@media (prefers-color-scheme: dark) {
:root {
--highlight-background: #000000
--highlight-current-line: #2a2a2a
--highlight-selection: #424242
--highlight-foreground: #eaeaea
--highlight-comment: #969896
--highlight-red: #d54e53
--highlight-orange: #e78c45
--highlight-yellow: #e7c547
--highlight-green: #b9ca4a
--highlight-aqua: #70c0b1
--highlight-blue: #7aa6da
--highlight-purple: #c397d8
}
--highlight-background: #2d2d2d
--highlight-current-line: #393939
--highlight-selection: #515151
--highlight-foreground: #cccccc
--highlight-comment: #999999
--highlight-red: #f2777a
--highlight-orange: #f99157
--highlight-yellow: #ffcc66
--highlight-green: #99cc99
--highlight-aqua: #66cccc
--highlight-blue: #6699cc
--highlight-purple: #cc99cc
}
pre, code
font-family: font-mono
color: var(--highlight-foreground)
background: var(--color-content-bg-hl)
background: var(--highlight-background)
code
padding: 0 5px
-2
View File
@@ -10,7 +10,6 @@ vendor-prefixes = webkit moz ms official
--color-border: #e3e3e3
--color-navy: hsl(210, 25%, 12%)
--color-content-bg: #fff
--color-content-bg-hl: #eee
--color-news-bg: darken(hsl(210, 25%, 12%), 5%)
--color-navy-lighter: lighten(hsl(210, 25%, 12%), 10%)
--color-link: #0e83cd
@@ -26,7 +25,6 @@ vendor-prefixes = webkit moz ms official
--color-backgrond: #fff
--color-navy: hsl(210, 25%, 12%)
--color-news-bg: darken(hsl(210, 25%, 12%), 5%)
--color-content-bg-hl: #000
--color-navy-lighter: lighten(hsl(210, 25%, 12%), 10%)
--color-content-bg: #1c1c1c
--color-link: #0e83cd