santycss 2.0.0 → 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 +86 -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.
|
|
@@ -70,6 +70,60 @@ Class names read like sentences. No build step. No configuration. Just link and
|
|
|
70
70
|
|
|
71
71
|
---
|
|
72
72
|
|
|
73
|
+
## What's New in v1.9
|
|
74
|
+
|
|
75
|
+
### 🌊 Scroll & Scrollbar Utilities
|
|
76
|
+
|
|
77
|
+
| Class | Description |
|
|
78
|
+
|---|---|
|
|
79
|
+
| `scroll-smooth` | `scroll-behavior: smooth` |
|
|
80
|
+
| `scroll-auto` | `scroll-behavior: auto` |
|
|
81
|
+
| `scrollbar-thin` | Narrow scrollbar (webkit + standard) |
|
|
82
|
+
| `scrollbar-dark` | Dark-themed scrollbar |
|
|
83
|
+
| `scrollbar-hidden` | Hide scrollbar, keep scroll functionality |
|
|
84
|
+
|
|
85
|
+
### 🪟 Glass Morphism
|
|
86
|
+
|
|
87
|
+
| Class | Description |
|
|
88
|
+
|---|---|
|
|
89
|
+
| `glass` | Frosted glass effect (blur + semi-transparent white) |
|
|
90
|
+
| `glass-dark` | Dark frosted glass |
|
|
91
|
+
| `glass-light` | Light frosted glass |
|
|
92
|
+
|
|
93
|
+
### 🌈 Radial Gradients
|
|
94
|
+
|
|
95
|
+
```html
|
|
96
|
+
<div class="gradient-radial-blue-purple">...</div>
|
|
97
|
+
<div class="gradient-radial-pink-orange">...</div>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
All `gradient-radial-*` utilities use CSS `radial-gradient()` matching the existing linear gradient palette.
|
|
101
|
+
|
|
102
|
+
### 🎬 New Animation Utilities
|
|
103
|
+
|
|
104
|
+
| Class | Description |
|
|
105
|
+
|---|---|
|
|
106
|
+
| `animate-spin-slow` | Slow clockwise rotation |
|
|
107
|
+
| `animate-spin-fast` | Fast clockwise rotation |
|
|
108
|
+
| `animate-spin-cw` | Explicit clockwise spin |
|
|
109
|
+
| `animate-spin-ccw` | Counter-clockwise spin |
|
|
110
|
+
| `animate-spin-xslow` | Very slow rotation |
|
|
111
|
+
| `animate-pulse-dot` | Pulsing dot indicator |
|
|
112
|
+
| `skill-bar-animated` | Animated skill/progress bar fill |
|
|
113
|
+
|
|
114
|
+
```html
|
|
115
|
+
<!-- Pulsing status indicator -->
|
|
116
|
+
<span class="animate-pulse-dot background-green-500"></span>
|
|
117
|
+
|
|
118
|
+
<!-- Animated skill bar -->
|
|
119
|
+
<div class="skill-bar-animated" style="--skill-width: 80%"></div>
|
|
120
|
+
|
|
121
|
+
<!-- Counter-clockwise spinner -->
|
|
122
|
+
<div class="animate-spin-ccw">↺</div>
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
73
127
|
## What's New in v1.8
|
|
74
128
|
|
|
75
129
|
### 🎨 SantyCSS Inspector — Figma Plugin
|
|
@@ -377,18 +431,35 @@ Use SantyCSS on **[Webflow](https://webflow.com/)** without a build step: add th
|
|
|
377
431
|
npm install santycss
|
|
378
432
|
```
|
|
379
433
|
|
|
380
|
-
**CDN (
|
|
434
|
+
**CDN — drop in and go (recommended for beginners):**
|
|
435
|
+
```html
|
|
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):**
|
|
381
449
|
```html
|
|
382
|
-
|
|
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">
|
|
383
452
|
```
|
|
384
453
|
|
|
385
454
|
**Import in JS/TS (React, Vue, Next, Nuxt, Vite):**
|
|
386
455
|
```js
|
|
387
|
-
import 'santycss/css';
|
|
388
|
-
import 'santycss/css/core';
|
|
389
|
-
import 'santycss/css/
|
|
390
|
-
import 'santycss/css
|
|
391
|
-
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
|
|
392
463
|
```
|
|
393
464
|
|
|
394
465
|
**PostCSS:**
|
|
@@ -553,11 +624,13 @@ For new projects, the **Component Variant System** (`make-button style-*`) is re
|
|
|
553
624
|
|
|
554
625
|
| File | Size | Contents |
|
|
555
626
|
|---|---|---|
|
|
556
|
-
| `dist/santy.css` |
|
|
557
|
-
| `dist/santy.
|
|
558
|
-
| `dist/santy-
|
|
559
|
-
| `dist/santy-components.css` |
|
|
560
|
-
| `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) |
|
|
561
634
|
| `dist/santy-email.css` | 13KB | Email-safe CSS for HTML email |
|
|
562
635
|
|
|
563
636
|
---
|