diff options
author | Wynn Wolf Arbor | 2020-06-12 16:02:46 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-06-12 16:10:35 +0200 |
commit | 9fc2be020299b32246d491572c9ee248ecaf85b4 (patch) | |
tree | 6e99e8ef6361dc2092ec4aa9f29a41784a76a3ae /scss | |
parent | 6d584e253c117722d822b6e8f66e58ebdc23a57b (diff) | |
download | site-9fc2be020299b32246d491572c9ee248ecaf85b4.tar.gz |
css: Add colour variables for anchor elements
Currently we use the default colour for these. In preparation for
prefers-color-scheme, add two variables containing the default colours
for normal and visited anchors.
Diffstat (limited to 'scss')
-rw-r--r-- | scss/style.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scss/style.scss b/scss/style.scss index 2e7df1f..a190987 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -11,6 +11,8 @@ --fg-color: black; --fg-color-canary: #191900; --fg-color-mute: #5a5a5a; + --fg-href: #0000ee; + --fg-href-visited: #551a8b; --bg-color: white; --bg-color-canary: #ffffc3; @@ -20,6 +22,14 @@ --border-color-dark: darkgrey; } +a { + color: var(--fg-href); +} + +a:visited { + color: var(--fg-href-visited); +} + body { background-color: var(--bg-color); color: var(--fg-color); |