mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Add --color to menu divider
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
@import 'component';
|
||||
|
||||
/**
|
||||
* @prop --color: The color of the divider.
|
||||
*/
|
||||
:host {
|
||||
--color: var(--sl-color-gray-90);
|
||||
|
||||
display: block;
|
||||
}
|
||||
|
||||
.menu-divider {
|
||||
border-top: solid 1px var(--sl-color-gray-90);
|
||||
border-top: solid 1px var(--color);
|
||||
margin: var(--sl-spacing-x-small) 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user