From 20647ea319eb3828fe788a800d023e600f6fafa0 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 19 Dec 2021 23:17:24 +0100 Subject: [PATCH] improve theming docs --- changedetectionio/static/styles/package.json | 4 ++-- changedetectionio/static/styles/styles.scss | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changedetectionio/static/styles/package.json b/changedetectionio/static/styles/package.json index b801f7e76..34a08cd4b 100644 --- a/changedetectionio/static/styles/package.json +++ b/changedetectionio/static/styles/package.json @@ -4,8 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "scss": "node-sass --watch styles.scss diff.scss -o ." + "build": "node-sass styles.scss diff.scss -o .", + "watch": "node-sass --watch styles.scss diff.scss -o ." }, "author": "", "license": "ISC", diff --git a/changedetectionio/static/styles/styles.scss b/changedetectionio/static/styles/styles.scss index 06d279346..c07254b27 100644 --- a/changedetectionio/static/styles/styles.scss +++ b/changedetectionio/static/styles/styles.scss @@ -1,7 +1,10 @@ /* * -- BASE STYLES -- * Most of these are inherited from Base, but I want to change a few. - * npm run scss + * nvm use v14.18.1 + * npm install + * npm run build + * or npm run watch */ body { color: #333;