From 46abe5b7bebe4be0b4039660e4a1eee864bb1761 Mon Sep 17 00:00:00 2001 From: David Oliver Date: Tue, 28 Jan 2025 15:34:14 +0100 Subject: [PATCH] Fix dark Erlang visited link colour Also converts hex to hsl. --- assets/css/custom-props/_elixir.css | 10 +++++----- assets/css/custom-props/_erlang.css | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/css/custom-props/_elixir.css b/assets/css/custom-props/_elixir.css index 642a61249..056e43f33 100644 --- a/assets/css/custom-props/_elixir.css +++ b/assets/css/custom-props/_elixir.css @@ -8,11 +8,11 @@ --searchBarFocusColor: #8E7CE6; --searchBarBorderColor: rgba(142, 124, 230, 0.25); - --link-color: var(--mainDark); - --link-visited-color: var(--mainDarkest); + --link-color: var(--mainDark); + --link-visited-color: var(--mainDarkest); } body.dark { - --link-color: var(--mainLightest); - --link-visited-color: var(--mainLight); -} \ No newline at end of file + --link-color: var(--mainLightest); + --link-visited-color: var(--mainLight); +} diff --git a/assets/css/custom-props/_erlang.css b/assets/css/custom-props/_erlang.css index ec84549df..51b0aa106 100644 --- a/assets/css/custom-props/_erlang.css +++ b/assets/css/custom-props/_erlang.css @@ -8,11 +8,11 @@ --searchBarFocusColor: hsl(0, 100%, 50%); --searchBarBorderColor: rgb(255, 71, 71, 0.1); - --link-color: #0969da; - --link-visited-color: #085fc4; + --link-color: hsl(212, 96%, 45%); + --link-visited-color: hsl(212, 96%, 40%); } body.dark { - --link-color: #71b7ff; - --link-visited-color: #d0adef; -} \ No newline at end of file + --link-color: hsl(212, 56%, 72%); + --link-visited-color: hsl(212, 56%, 67%); +}