summaryrefslogtreecommitdiff
path: root/scss/custom-properties/_colours.scss
diff options
context:
space:
mode:
authorJoe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>2024-01-19 09:33:11 +0000
committerGitHub <noreply@github.com>2024-01-19 09:33:11 +0000
commit7140956da0820d4b818119eff7dfc72345f3328e (patch)
tree503e1129a999fe834d2a7b98a4e82bf07264f49f /scss/custom-properties/_colours.scss
parenta4f3cb02befe658594c076144be2e5200f36682a (diff)
parent83c3460191a2089b56b091a7f4e09f39ac636e1e (diff)
Merge pull request #65 from joeacarstairs/deployment-staging
Update production
Diffstat (limited to 'scss/custom-properties/_colours.scss')
-rw-r--r--scss/custom-properties/_colours.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/scss/custom-properties/_colours.scss b/scss/custom-properties/_colours.scss
new file mode 100644
index 0000000..dadb50e
--- /dev/null
+++ b/scss/custom-properties/_colours.scss
@@ -0,0 +1,23 @@
+@use '../values/colours' as colours;
+
+:root {
+ --text-color: #{colours.$primary-98};
+ --text-highlight-color: #{colours.$primary-10};
+ --background-color: #{colours.$primary-10};
+ --background-highlight-color: #{colours.$primary-90};
+ --special-text-color: #{colours.$secondary-90};
+ --special-text-highlight-color: #{colours.$secondary-10};
+}
+
+:is(main, article) {
+ --text-color: #{colours.$primary-10};
+ --text-highlight-color: #{colours.$primary-90};
+ --background-color: #{colours.$primary-98};
+ --background-highlight-color: #{colours.$primary-10};
+ --special-text-color: #{colours.$secondary-40};
+ --special-text-highlight-color: #{colours.$secondary-90};
+}
+
+:is(main, article) > section:nth-child(even):not(:is(section, header) :is(section, header)) {
+ --background-color: #{colours.$primary-95};
+}