[opt] gist darkmode textcolor (#445)

This commit is contained in:
星日语 2024-04-25 00:18:24 +08:00 committed by GitHub
parent 42db581a14
commit ae9700a4ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -75,7 +75,6 @@ p>code:not([class]),li>code:not([class])
padding-left: 0.25em padding-left: 0.25em
.md-text .gist .md-text .gist
--fgColor-default: var(--text-p1)
.gist-file .gist-file
border: 1px solid var(--block-border) border: 1px solid var(--block-border)
border-radius: $border-card border-radius: $border-card
@ -86,9 +85,12 @@ p>code:not([class]),li>code:not([class])
display: inherit display: inherit
border: none border: none
border-radius: 0 border-radius: 0
background: none background: var(--block)
margin: 0 margin: 0
padding: 1em 0 padding: 1em 0
.blob-code-inner
color: var(--text-p1)
font-family: $ff-codeblock
.gist-meta .gist-meta
background: var(--block-border) background: var(--block-border)