From f3bf87d7d1095fb01342c8ad0d2b6c76f5846973 Mon Sep 17 00:00:00 2001 From: Niclas Date: Wed, 20 Nov 2024 15:00:30 +0100 Subject: [PATCH] feat: menu item separator init --- source/sass/component/_nav.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/sass/component/_nav.scss b/source/sass/component/_nav.scss index a3dae1128..f4952d810 100644 --- a/source/sass/component/_nav.scss +++ b/source/sass/component/_nav.scss @@ -60,6 +60,14 @@ $c-nav-h-font-size: var(--c-nav-h-font-size) !default; height: calc(20 * $base); } } + + &.c-nav__item--separator { + background-color: $color-primary-contrasting; + + .c-nav__link .c-nav__text{ + color: $color-primary; + } + } } .c-nav__toggle { @@ -245,6 +253,12 @@ $c-nav-h-font-size: var(--c-nav-h-font-size) !default; } } } + + &.c-nav__item--separator { + .c-nav__text{ + color: $color-primary; + } + } } }