From 6e91d538c210ab20c6c64c58de748441032ceb1d Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Wed, 5 Nov 2025 12:55:14 +0000 Subject: [PATCH] feat(BOOK-509): Added correct hover styles on breadcrumbs Approved-by: Bianca Widstam --- .../Breadcrumbs/breadcrumbs.module.css | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css index 73e8db405..1a652ad45 100644 --- a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css +++ b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css @@ -72,6 +72,7 @@ &:hover { color: var(--Text-Interactive-Default-Hover); + text-decoration: underline; } } } @@ -81,6 +82,7 @@ &:hover { color: var(--Text-Interactive-Secondary-Hover); + text-decoration: underline; } } @@ -135,13 +137,11 @@ .link, .button { color: var(--Text-Brand-OnPrimary-1-Default); - } - .link:hover, - .button:not(.lastBreadcrumb):hover { - color: var( - --Text-Brand-OnPrimary-1-Default - ); /* In need of a different variable for this */ + &:not(.lastBreadcrumb):hover { + color: var(--Text-Brand-OnPrimary-1-Hover); + text-decoration: underline; + } } } } @@ -161,13 +161,11 @@ .link, .button { color: var(--Text-Brand-OnPrimary-1-Default); - } - .link:hover, - .button:not(.lastBreadcrumb):hover { - color: var( - --Text-Brand-OnPrimary-1-Default - ); /* In need of a different variable for this */ + &:not(.lastBreadcrumb):hover { + color: var(--Text-Brand-OnPrimary-1-Hover); + text-decoration: underline; + } } } }