Commit 49b5d1d6 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Make colours.css executable as template and use to pull in variables

from /data and format correctly inside :root

Towards #164
parent 4f56a58b
This diff is collapsed.
......@@ -2,7 +2,9 @@
{{- $fontsFiles := resources.Get "css/fonts-fontface.css" }}
{{- /* get the variables to fit the colour theme options */}}
{{- $colours := resources.Get "css/colours.css" }}
{{- $coloursCSS := resources.Get "css/colours.css" }}
{{- $colours := $coloursCSS | resources.ExecuteAsTemplate "colours.css" . }}
{{- /* get the variables to fit the colour mode options */}}
{{- $coloursMode := resources.Get "css/colour-modes.css" }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment