mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-30 17:30:23 +02:00
Move from box-shadow
to border-image
for pixelated borders (#234)
* refactor: Convert pixelated borders from box-shadows to border-images Our previous usage of `box-shadows` and pseudo elements proved to be pretty buggy. Converting to `border-image`s seems to have fixed a lot of the issues that `box-shadows` caused, such as `background-color`s appering over top of our borders. BREAKING CHANGE: This change both eliminates pseudo elements from several components, and adds pseudo elements to components that did not have them before. This could cause compatibility issues for users that relied on the existence of those pseudo elements for various styling techniques. * style(buttons): Remove superfluous commented code
This commit is contained in:
@@ -7,6 +7,7 @@ $background-color: $color-white;
|
||||
|
||||
$cursor-url: url(https://unpkg.com/nes.css/assets/cursor.png);
|
||||
$cursor-click-url: url(https://unpkg.com/nes.css/assets/cursor-click.png);
|
||||
$border-size: 0.25em;
|
||||
|
||||
$default-colors: (
|
||||
normal: $background-color,
|
||||
|
Reference in New Issue
Block a user