From 9662e6bd19e01334d258648e484e43e5dc619d2f Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust Date: Fri, 20 Sep 2024 12:58:04 +0200 Subject: [PATCH] fix(styling): replace hard-coded colors with CSS vars --- src/components/buttons/button.module.css | 4 ++-- src/components/linkButton/linkButton.module.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/buttons/button.module.css b/src/components/buttons/button.module.css index ecceb3c42..a702559c3 100644 --- a/src/components/buttons/button.module.css +++ b/src/components/buttons/button.module.css @@ -43,11 +43,11 @@ border: 1px solid var(--primary-dark); &:hover { - background: #085156; + background: var(--primary-darker); } &:active { - background: #053235; + background: var(--primary-darker); } } diff --git a/src/components/linkButton/linkButton.module.css b/src/components/linkButton/linkButton.module.css index a9206bbe9..ba80bb09c 100644 --- a/src/components/linkButton/linkButton.module.css +++ b/src/components/linkButton/linkButton.module.css @@ -58,11 +58,11 @@ border: 1px solid var(--primary-dark); &:hover { - background: #085156; + background: var(--primary-darker); } &:active { - background: #053235; + background: var(--primary-darker); } &::after {