forked from mirrors/hugo-tufte
4432cb953b
* move the syntax highlighting theme choice to the scss file Fixes #25 * move the syntax highlighting theme choice to the scss file Fixes #25
23 lines
No EOL
559 B
SCSS
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 }} |