forked from Sync/hugo-theme-stack
feat(css): add --pre-background and --pre-text-color variables
This commit is contained in:
parent
f1bbe37eee
commit
39eb9bdfb3
@ -271,8 +271,8 @@
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
display: block;
|
||||
background-color: #fafafa;
|
||||
color: #999;
|
||||
background-color: var(--pre-background);
|
||||
color: var(--pre-text-color);
|
||||
font-family: var(--code-font-family);
|
||||
line-height: 1.428571429;
|
||||
word-break: break-all;
|
||||
|
@ -65,6 +65,9 @@ $on-desktop-large: 1920px;
|
||||
--section-separation: 40px;
|
||||
|
||||
--small-card-padding: 25px;
|
||||
|
||||
--pre-background: #272822;
|
||||
--pre-text-color: #f8f8f2;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
Loading…
Reference in New Issue
Block a user