summaryrefslogtreecommitdiff
path: root/scss/custom-properties/_colours.scss
blob: c8f31b69fb9a03572d5bc19b5cce35e8fe6f7bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@use '../values/colours' as colours;

: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};
}

:root,
.dark {
  --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)
  > section:nth-child(even):not(:is(section, header) :is(section, header)):not(.dark *) {
  --background-color: #{colours.$primary-95};
}