new-theme: vars.scss: add vars default value

$primary-color & $widget-unique-checkbox-position
This commit is contained in:
Thomas Jund 2021-01-29 11:29:38 +01:00
parent 8c103f2aa9
commit 4bca1ca870
1 changed files with 8 additions and 1 deletions

View File

@ -42,7 +42,14 @@ cat >${themefolderPath}/config.json <<EOF
EOF
# create css files
touch ${themefolderPath}/_vars.scss ${themefolderPath}/_custom.scss
touch ${themefolderPath}/_custom.scss
cat >${themefolderPath}/_vars.scss <<EOF
// Core vars
\$primary-color: ${themeColor};
\$widget-unique-checkbox-position: left;
EOF
cat >${themefolderPath}/style.scss <<EOF
@charset "UTF-8";
@import '../includes/fonts/source-sans-pro';