santycss 2.0.1 → 2.1.0
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 +32 -13
- package/dist/santy-core.css +33 -4569
- package/dist/santy-start.css +9817 -0
- package/dist/santy-variants.css +4579 -0
- package/dist/santy.css +66 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/santycss)
|
|
4
4
|
[](https://www.npmjs.com/package/santycss)
|
|
5
5
|
[](https://github.com/ChintuSanty/santyCSS/blob/main/LICENSE)
|
|
6
|
-
[](https://www.npmjs.com/package/santycss)
|
|
7
7
|
|
|
8
8
|
**Plain-English utility-first CSS framework.**
|
|
9
9
|
Class names read like sentences. No build step. No configuration. Just link and use.
|
|
@@ -431,18 +431,35 @@ Use SantyCSS on **[Webflow](https://webflow.com/)** without a build step: add th
|
|
|
431
431
|
npm install santycss
|
|
432
432
|
```
|
|
433
433
|
|
|
434
|
-
**CDN (
|
|
434
|
+
**CDN — drop in and go (recommended for beginners):**
|
|
435
435
|
```html
|
|
436
|
-
|
|
436
|
+
<!-- Base utilities + components, no extended variants/animations -->
|
|
437
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/santycss/dist/santy-start.css">
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
**CDN — full responsive coverage:**
|
|
441
|
+
```html
|
|
442
|
+
<!-- Core utilities (slimmed) -->
|
|
443
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/santycss/dist/santy-core.css">
|
|
444
|
+
<!-- xl:, xxl:, on-wide:, peer-*, group-*, print:, motion-*, RTL -->
|
|
445
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/santycss/dist/santy-variants.css">
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
**CDN — PostCSS/Vite purge workflow (teams):**
|
|
449
|
+
```html
|
|
450
|
+
<!-- Full bundle — purge down to ~15KB with PostCSS/Vite -->
|
|
451
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/santycss/dist/santy.min.css">
|
|
437
452
|
```
|
|
438
453
|
|
|
439
454
|
**Import in JS/TS (React, Vue, Next, Nuxt, Vite):**
|
|
440
455
|
```js
|
|
441
|
-
import 'santycss/css';
|
|
442
|
-
import 'santycss/css/core';
|
|
443
|
-
import 'santycss/css/
|
|
444
|
-
import 'santycss/css
|
|
445
|
-
import 'santycss/css/
|
|
456
|
+
import 'santycss/css/start'; // drop-in: base utilities + components
|
|
457
|
+
import 'santycss/css/core'; // utilities only (slimmed, no extended variants)
|
|
458
|
+
import 'santycss/css/variants'; // xl:, peer-*, group-*, print:, motion-*, RTL
|
|
459
|
+
import 'santycss/css'; // full bundle
|
|
460
|
+
import 'santycss/css/components'; // component shortcuts
|
|
461
|
+
import 'santycss/css/animations'; // animations only
|
|
462
|
+
import 'santycss/css/email'; // email-safe CSS
|
|
446
463
|
```
|
|
447
464
|
|
|
448
465
|
**PostCSS:**
|
|
@@ -607,11 +624,13 @@ For new projects, the **Component Variant System** (`make-button style-*`) is re
|
|
|
607
624
|
|
|
608
625
|
| File | Size | Contents |
|
|
609
626
|
|---|---|---|
|
|
610
|
-
| `dist/santy.css` |
|
|
611
|
-
| `dist/santy.
|
|
612
|
-
| `dist/santy-
|
|
613
|
-
| `dist/santy-components.css` |
|
|
614
|
-
| `dist/santy-animations.css` |
|
|
627
|
+
| `dist/santy-start.css` | 527KB | **CDN drop-in** — base utilities + components, no extended variants/animations |
|
|
628
|
+
| `dist/santy-core.css` | 310KB | Utilities only — base + on-mobile/tablet/desktop/md + hover/focus |
|
|
629
|
+
| `dist/santy-variants.css` | 287KB | Extended — xl:, xxl:, on-wide:, peer-*, group-*, print:, motion-*, RTL |
|
|
630
|
+
| `dist/santy-components.css` | 217KB | Component shortcuts only |
|
|
631
|
+
| `dist/santy-animations.css` | 53KB | 120+ animations only |
|
|
632
|
+
| `dist/santy.css` | 868KB | Everything — full unminified bundle |
|
|
633
|
+
| `dist/santy.min.css` | 758KB | Minified full bundle (purge with PostCSS/Vite → ~15KB) |
|
|
615
634
|
| `dist/santy-email.css` | 13KB | Email-safe CSS for HTML email |
|
|
616
635
|
|
|
617
636
|
---
|