eva-css-purge 1.0.1 β 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# eva-css-purge
|
|
2
2
|
|
|
3
3
|
> Intelligent CSS purging tool for EVA CSS projects
|
|
4
4
|
|
|
@@ -17,11 +17,11 @@ Removes unused CSS classes, IDs, and optimizes your stylesheets while keeping wh
|
|
|
17
17
|
## π¦ Installation
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npm install
|
|
20
|
+
npm install eva-css-purge
|
|
21
21
|
# or
|
|
22
|
-
pnpm add
|
|
22
|
+
pnpm add eva-css-purge
|
|
23
23
|
# or
|
|
24
|
-
yarn add
|
|
24
|
+
yarn add eva-css-purge
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## π Usage
|
|
@@ -86,7 +86,7 @@ eva-purge --config eva.config.js
|
|
|
86
86
|
### Programmatic Usage
|
|
87
87
|
|
|
88
88
|
```javascript
|
|
89
|
-
const CSSPurger = require('
|
|
89
|
+
const CSSPurger = require('eva-css-purge');
|
|
90
90
|
|
|
91
91
|
const config = {
|
|
92
92
|
content: ['src/**/*.{html,js}'],
|
|
@@ -133,7 +133,7 @@ export default defineConfig({
|
|
|
133
133
|
|
|
134
134
|
## π What Gets Kept
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
eva-css-purge intelligently keeps:
|
|
137
137
|
|
|
138
138
|
β
**CSS Variables** - All `:root` variables (essential for EVA CSS)
|
|
139
139
|
β
**HTML Elements** - `body`, `h1`, `p`, `button`, etc.
|
|
@@ -152,7 +152,7 @@ export default defineConfig({
|
|
|
152
152
|
|
|
153
153
|
## π¨ Perfect for EVA CSS
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
eva-css-purge is specifically designed for EVA CSS projects:
|
|
156
156
|
|
|
157
157
|
- Preserves all CSS variable definitions in `:root`
|
|
158
158
|
- Keeps utility classes like `w-64`, `p-16`, `fs-32`
|
|
@@ -192,6 +192,5 @@ MIT Β© [MichaΓ«l Tati](https://ulysse-2029.com/)
|
|
|
192
192
|
|
|
193
193
|
## π Related Packages
|
|
194
194
|
|
|
195
|
-
- [
|
|
196
|
-
- [
|
|
197
|
-
- [@eva/mcp-server](https://www.npmjs.com/package/@eva/mcp-server) - Figma to HTML MCP server
|
|
195
|
+
- [eva-css-fluid](https://www.npmjs.com/package/eva-css-fluid) - Fluid design framework
|
|
196
|
+
- [eva-colors](https://www.npmjs.com/package/eva-colors) - OKLCH color utilities
|