Refactor sass for theming

This commit is contained in:
Cadence Ember
2020-05-09 21:34:00 +12:00
parent 710400c4f1
commit 23e2ffecbf
14 changed files with 226 additions and 128 deletions

View File

@@ -1,5 +1,8 @@
meta(charset="utf-8")
link(rel="stylesheet" type="text/css" href=getStaticURL("sass", "main.sass"))
- let theme = settings ? settings.theme : "classic"
link(rel="stylesheet" type="text/css" href=getStaticURL("sass", `${theme}.sass`))
meta(name="viewport" content="width=device-width, initial-scale=1")
link(rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png")
link(rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png")