mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-30 09:20:02 +02:00
refactor(cursors): Use data-uris for cursors
I've switched us from using `file-loader` to `url-loader`. This will automatically convert local URL imports to data URIs, which means the framework no longer needs to load them from a remote URL. #207
This commit is contained in:
@@ -5,8 +5,9 @@ $font-size: 16px !default;
|
||||
$base-color: $color-black;
|
||||
$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);
|
||||
$cursor-url: url(../assets/cursor.png);
|
||||
$cursor-click-url: url(../assets/cursor-click.png);
|
||||
|
||||
$border-size: 0.25em;
|
||||
|
||||
$default-colors: (
|
||||
|
Reference in New Issue
Block a user