From 9fc2be020299b32246d491572c9ee248ecaf85b4 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Fri, 12 Jun 2020 16:02:46 +0200 Subject: 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. --- scss/style.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scss') 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); -- cgit v1.2.3-2-gb3c3