mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-06 14:36:31 +02:00
Merge pull request #368 from nostalgic-css/fix-stylelint-errors
Fix stylelint errors
This commit is contained in:
@@ -112,7 +112,9 @@
|
|||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"scss/**/*.scss": [
|
"scss/**/*.scss": [
|
||||||
"npm run postbuild"
|
"npm run prebuild:stylelint",
|
||||||
|
"npm run postbuild",
|
||||||
|
"git add"
|
||||||
],
|
],
|
||||||
"*.js": [
|
"*.js": [
|
||||||
"eslint '.storybook/**/*.js' 'story/**/*.js'"
|
"eslint '.storybook/**/*.js' 'story/**/*.js'"
|
||||||
|
@@ -44,10 +44,11 @@
|
|||||||
|
|
||||||
&.is-dark {
|
&.is-dark {
|
||||||
@include rounded-corners(true);
|
@include rounded-corners(true);
|
||||||
background: $base-color;
|
|
||||||
color: $background-color;
|
color: $background-color;
|
||||||
|
background: $base-color;
|
||||||
border-image-outset: 2;
|
border-image-outset: 2;
|
||||||
box-shadow: 0px 0px 0 8px $base-color;
|
box-shadow: 0 0 0 8px $base-color;
|
||||||
|
|
||||||
&.from-left,
|
&.from-left,
|
||||||
&.from-right {
|
&.from-right {
|
||||||
|
Reference in New Issue
Block a user