From 06d948a70994650f99ff4f148786d7199ecd7e92 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sun, 7 Mar 2021 23:09:58 -0600 Subject: [PATCH] have specific styles @import the base styles this clarifies the value of what was formerly "style.css" a bit, and also opens the door for potential styles that don't inherit the base styling at all --- incorporealcms/static/css/{style.css => base.css} | 0 incorporealcms/static/css/dark.css | 2 ++ incorporealcms/static/css/light.css | 2 ++ incorporealcms/templates/base.html | 1 - 4 files changed, 4 insertions(+), 1 deletion(-) rename incorporealcms/static/css/{style.css => base.css} (100%) diff --git a/incorporealcms/static/css/style.css b/incorporealcms/static/css/base.css similarity index 100% rename from incorporealcms/static/css/style.css rename to incorporealcms/static/css/base.css diff --git a/incorporealcms/static/css/dark.css b/incorporealcms/static/css/dark.css index 9c038e0..854d854 100644 --- a/incorporealcms/static/css/dark.css +++ b/incorporealcms/static/css/dark.css @@ -1,3 +1,5 @@ +@import '/static/css/base.css'; + html { color: #CCC; } diff --git a/incorporealcms/static/css/light.css b/incorporealcms/static/css/light.css index 8b268e4..e9b83f3 100644 --- a/incorporealcms/static/css/light.css +++ b/incorporealcms/static/css/light.css @@ -1,3 +1,5 @@ +@import '/static/css/base.css'; + html { color: #222; } diff --git a/incorporealcms/templates/base.html b/incorporealcms/templates/base.html index 8d5d67a..3146cb9 100644 --- a/incorporealcms/templates/base.html +++ b/incorporealcms/templates/base.html @@ -7,7 +7,6 @@ -