hugo-tufte/assets/scss/hugo-tufte.scss
slashformotion 4432cb953b
move the syntax highlighting theme choice to the scss file (#30)
* move the syntax highlighting theme choice to the scss file
Fixes #25

* move the syntax highlighting theme choice to the scss file
Fixes #25
2021-08-21 15:31:28 +02:00

23 lines
No EOL
559 B
SCSS

// VENDOR
@import "vendor/normalize/import-now";
@import "vendor/tufte.scss";
// OUR CODE
@import "general";
/// PAGES
@import "pages/footer";
/// COMPONENTS
@import "components/code-highlight";
@import "components/toc";
@import "components/nav";
@import "components/header";
@import "components/meta";
// Look at this https://gohugo.io/hugo-pipes/resource-from-template/#readout
{{ if and (isset .Site.Params "codeblocksdark") .Site.Params.codeBlocksDark }}
@import "syntax/highlight-dark.scss"
{{ else }}
@import "syntax/highlight-light.scss"
{{ end }}