New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microflash/preset

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microflash/preset - npm Package Compare versions

Comparing version

to
4.0.0

banner.svg

15

package.json
{
"name": "@microflash/preset",
"version": "3.1.0",
"version": "4.0.0",
"description": "A modern CSS preset",

@@ -23,7 +23,4 @@ "keywords": [

"devDependencies": {
"csso-cli": "^4.0.2",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
"postcss-preset-env": "^9.4.0",
"sass": "^1.71.1"
"lightningcss-cli": "^1.25.1",
"sass": "^1.77.4"
},

@@ -35,6 +32,6 @@ "browserslist": [

"dist": "npm run compile && npm run build && npm run minify",
"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"
"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"
}
}

15

README.md

@@ -1,2 +0,2 @@

![preset](./banner.webp)
![preset](./banner.svg)

@@ -20,3 +20,3 @@ # preset

`preset` is a CSS reset to baseline the browser styles to give you a uniform foundation for building your custom styles on top of it.
`preset` is a CSS reset to baseline the browser styles. It gives you a uniform foundation to build your custom styles on top of.

@@ -77,3 +77,3 @@ ## Install

`preset` supports [modern browsers](https://browsersl.ist/#q=defaults%2C+not+IE+%3E+0).
`preset` supports [modern browsers](https://browsersl.ist/#q=defaults).

@@ -84,6 +84,7 @@ ## API

- `--preset-line-height` (default: `calc(0.3rem + 2ex + 0.3rem)`) to override the line-height
- `--preset-tab-size` (default: `2`) to control the width of code block indentation
- `--preset-dialog-backdrop-filter` (default: `blur(25px)`) to override the backdrop filter of the dialog
- `--preset-table-caption-side` (default: `bottom`) to customize caption position of a table caption
- `--preset-line-height` (default: `calc(0.3rem + 2ex + 0.3rem)`) to set the line-height
- `--preset-tab-size` (default: `2`) to set the width of code block indentation
- `--preset-outline-transition` to set the transition applied on the outline
- `--preset-dialog-backdrop-filter` (default: `blur(25px)`) to set the backdrop filter of the dialog
- `--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

@@ -90,0 +91,0 @@

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