mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-06 06:27:27 +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 {
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
@include compact-rounded-corners();
|
@include compact-rounded-corners();
|
||||||
|
|
||||||
width: calc(100% - #{2*$border-size});
|
width: calc(100% - #{2 * $border-size});
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
$colors: ($base-color, map-get($default-colors, "shadow"));
|
$colors: ($base-color, map-get($default-colors, "shadow"));
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: calc(100% - #{2*$border-size});
|
width: calc(100% - #{2 * $border-size});
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
Reference in New Issue
Block a user