Skip to content

Commit b41c8e3

Browse files
author
nicosammito
committed
feat: update menu focus and color styles with secondary border and background
1 parent 2c671f4 commit b41c8e3

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/menu/Menu.style.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}
4949

5050
&:focus, &[data-focus=true] {
51-
@include box.box(variables.$white, variables.$white, variables.$white);
51+
@include box.box(variables.$secondary, variables.$white, variables.$white);
5252
box-shadow: none;
5353
width: 100%;
5454
}
@@ -64,7 +64,8 @@
6464
}
6565

6666
@each $name, $color in variables.$colors {
67-
.menu__content--#{$name}, .menu__sub-content--#{$name} {
68-
@include box.box($color);
69-
}
67+
.menu__content--#{$name}, .menu__sub-content--#{$name} {
68+
@include box.box($color);
69+
border: helpers.backgroundColor(variables.$secondary) 2px solid;
70+
}
7071
}

0 commit comments

Comments
 (0)