Skip to content

Commit

Permalink
update stylelint recess order
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Sep 25, 2024
1 parent 0f3bb4d commit 97ccb43
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 104 deletions.
4 changes: 2 additions & 2 deletions demo/assets/css/layouts/_level.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
gap: var(--gap);

> :first-child {
flex-basis: var(--width-left, 50%);
flex-grow: 1;
flex-basis: var(--width-left, 50%);
}

> :last-child {
flex-basis: var(--width-right, 50%);
flex-grow: 1;
flex-basis: var(--width-right, 50%);
}

/*
Expand Down
8 changes: 4 additions & 4 deletions demo/assets/css/layouts/_with-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,26 @@

&:not(.has-sidebar-right) {
> :first-child {
flex-basis: var(--sidebar-width);
flex-grow: 1;
flex-basis: var(--sidebar-width);
}

> :last-child {
flex-basis: 0;
flex-grow: 666;
flex-basis: 0;
min-width: var(--content-min-width);
}
}

&.has-sidebar-right {
> :last-child {
flex-basis: var(--sidebar-width);
flex-grow: 1;
flex-basis: var(--sidebar-width);
}

> :first-child {
flex-basis: 0;
flex-grow: 666;
flex-basis: 0;
min-width: var(--content-min-width);
}
}
Expand Down
2 changes: 1 addition & 1 deletion demo/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prettier": "^3.3.3",
"style-dictionary": "^4.1.2",
"stylelint": "^16.9.0",
"stylelint-config-recess-order": "^5.1.0",
"stylelint-config-recess-order": "^5.1.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-declaration-strict-value": "^1.10.6"
},
Expand Down
Loading

0 comments on commit 97ccb43

Please sign in to comment.