Skip to content

Commit 1b3c708

Browse files
committed
feat: update Menu styles to apply color variations for menu content
1 parent 70cb121 commit 1b3c708

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/menu/Menu.style.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
z-index: 999;
1212

1313
& {
14-
@include box.box(variables.$primary);
1514
@include helpers.borderRadius();
1615
}
1716
}
@@ -62,4 +61,10 @@
6261
height: 1px;
6362
background-color: rgba(white, .1);
6463
}
64+
}
65+
66+
@each $name, $color in variables.$colors {
67+
.menu__content--#{$name}, .menu__sub-content--#{$name} {
68+
@include box.box($color);
69+
}
6570
}

0 commit comments

Comments
 (0)