@microflash/preset
Advanced tools
Comparing version
{ | ||
"name": "@microflash/preset", | ||
"version": "4.1.0", | ||
"version": "5.0.0", | ||
"description": "A modern CSS preset", | ||
"type": "module", | ||
"keywords": [ | ||
@@ -23,4 +24,6 @@ "css", | ||
"devDependencies": { | ||
"lightningcss-cli": "^1.25.1", | ||
"sass": "^1.77.8" | ||
"csso-cli": "^4.0.2", | ||
"postcss-cli": "^11.0.0", | ||
"postcss-preset-env": "^10.0.5", | ||
"sass": "^1.79.4" | ||
}, | ||
@@ -32,6 +35,6 @@ "browserslist": [ | ||
"dist": "npm run compile && npm run build && npm run minify", | ||
"compile": "sass --no-source-map src/preset.scss src/preset.css", | ||
"build": "lightningcss --browserslist src/preset.css -o dist/preset.css", | ||
"minify": "lightningcss --minify --browserslist src/preset.css -o dist/preset.min.css" | ||
"compile": "sass --no-source-map src/preset.scss dist/preset.css", | ||
"build": "postcss dist/preset.css --replace --no-map", | ||
"minify": "csso dist/preset.css --output dist/preset.min.css" | ||
} | ||
} |
@@ -1,5 +0,3 @@ | ||
 | ||
 | ||
# preset | ||
[](https://www.npmjs.com/package/@microflash/preset) | ||
@@ -87,3 +85,3 @@ [](./LICENSE.md) | ||
- `--preset-table-caption-side` (default: `bottom`) to set caption position of a table caption | ||
- `--preset-scroll-padding` (default: `3rem`) to set `scroll-padding-block-start` for an element | ||
- `--preset-scroll-offset` (default: `3rem` or `3rlh` depending on browser support) to set `scroll-margin-block` for an element | ||
@@ -90,0 +88,0 @@ ## Credits |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32957
13.09%9
12.5%Yes
NaN4
100%220
-41.33%94
-2.08%