1
0
Fork 0
forked from mirrors/hugo-tufte

move the syntax highlighting theme choice to the scss file ()

* move the syntax highlighting theme choice to the scss file
Fixes 

* move the syntax highlighting theme choice to the scss file
Fixes 
This commit is contained in:
slashformotion 2021-08-21 15:31:28 +02:00 committed by GitHub
commit 4432cb953b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 16 deletions

View file

@ -0,0 +1,12 @@
$ht-code-bgcolor: #282a36;
@import "syntax-dark.scss";
.highlight {
&::-webkit-scrollbar {
background: $ht-code-bgcolor;
}
&::-webkit-scrollbar-thumb {
background: scale-color($ht-code-bgcolor, $lightness: 23%, $saturation: -40%);
}
}

View file

@ -0,0 +1,12 @@
$ht-code-bgcolor: #dde2ff;
@import "syntax-light.scss";
.highlight {
&::-webkit-scrollbar {
background: $ht-code-bgcolor;
}
&::-webkit-scrollbar-thumb {
background: scale-color($ht-code-bgcolor, $lightness: -13%, $saturation: -80%);
}
}