Skip to content

Commit

Permalink
replace postcss-extend with postcss-extend-rule
Browse files Browse the repository at this point in the history
  • Loading branch information
feledori committed Jan 22, 2025
1 parent 53818be commit 16eea4f
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 106 deletions.
5 changes: 0 additions & 5 deletions next-env.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"cssnano": "^7.0.6",
"lefthook": "^1.10.1",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-extend": "^1.0.5",
"postcss-extend-rule": "^4.0.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-functions": "^4.0.2",
"postcss-import": "^16.1.0",
Expand Down
128 changes: 33 additions & 95 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion postcss.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const validatePixels = (pixels, dimension) => {
const postcss = {
plugins: {
'postcss-import': {},
'postcss-extend': {},
'postcss-extend-rule': {},
'postcss-flexbugs-fixes': {},
'postcss-preset-env': {
autoprefixer: {
Expand Down
6 changes: 2 additions & 4 deletions styles/_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@
}

.layout-grid {
@extend .layout-block;
@extend .grid;
@extend .layout-block, .grid;
}
.layout-grid-inner {
@extend .layout-block-inner;
@extend .grid;
@extend .layout-block-inner, .grid;
}

1 comment on commit 16eea4f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚡️ Lighthouse report for the changes in this commit:

🟠 Performance: 76
🟢 Accessibility: 90
🟢 Best practices: 96
🟠 SEO: 63

Lighthouse ran on https://satus-guz3qln2x-darkroom-engineering.vercel.app/

Please sign in to comment.