mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-23 14:22:52 +02:00
fix(dialogs.scss): Separate dialog text color from border color
Previously, we were using the `color` property to determine the color of the border around `<dialog />` elements. The issue with this is that it requires the text color to match the border color. I've fixed this by moving the border color declarations into the `box-shadow` property.
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
}
|
||||
|
||||
&.is-rounded {
|
||||
color: $base-color;
|
||||
border: none;
|
||||
box-shadow: 4px 0, -4px 0, 0 4px, 0 -4px;
|
||||
box-shadow: 4px 0 $base-color, -4px 0 $base-color, 0 4px $base-color, 0 -4px $base-color;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user