santycss 2.3.0 → 2.5.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.
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
+
4
+ <url>
5
+ <loc>https://santycss.santy.in/</loc>
6
+ <lastmod>2026-03-17</lastmod>
7
+ <changefreq>weekly</changefreq>
8
+ <priority>1.0</priority>
9
+ </url>
10
+
11
+ <url>
12
+ <loc>https://santycss.santy.in/classes.html</loc>
13
+ <lastmod>2026-03-17</lastmod>
14
+ <changefreq>weekly</changefreq>
15
+ <priority>0.9</priority>
16
+ </url>
17
+
18
+ <url>
19
+ <loc>https://santycss.santy.in/webflow.html</loc>
20
+ <lastmod>2026-03-20</lastmod>
21
+ <changefreq>monthly</changefreq>
22
+ <priority>0.85</priority>
23
+ </url>
24
+
25
+ <url>
26
+ <loc>https://santycss.santy.in/animations.html</loc>
27
+ <lastmod>2026-03-17</lastmod>
28
+ <changefreq>weekly</changefreq>
29
+ <priority>0.9</priority>
30
+ </url>
31
+
32
+ <url>
33
+ <loc>https://santycss.santy.in/icons.html</loc>
34
+ <lastmod>2026-03-17</lastmod>
35
+ <changefreq>weekly</changefreq>
36
+ <priority>0.9</priority>
37
+ </url>
38
+
39
+ <url>
40
+ <loc>https://santycss.santy.in/docs.html</loc>
41
+ <lastmod>2026-03-17</lastmod>
42
+ <changefreq>monthly</changefreq>
43
+ <priority>0.8</priority>
44
+ </url>
45
+
46
+ </urlset>
package/migrate.js ADDED
@@ -0,0 +1,446 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * SantyCSS Migration Tool — npx santycss migrate
4
+ *
5
+ * Converts Tailwind CSS class names to SantyCSS equivalents.
6
+ *
7
+ * Usage:
8
+ * npx santycss migrate --input=src/ # convert all HTML/JSX/TSX/Vue in src/
9
+ * npx santycss migrate --file=index.html # single file
10
+ * npx santycss migrate --dry-run # preview only, no writes
11
+ * npx santycss migrate --report # print unmapped classes
12
+ */
13
+
14
+ 'use strict';
15
+
16
+ const fs = require('fs');
17
+ const path = require('path');
18
+
19
+ // ─── Tailwind → SantyCSS static mappings ─────────────────────────────────────
20
+ const STATIC_MAP = {
21
+ // Display
22
+ 'flex': 'make-flex',
23
+ 'inline-flex': 'make-inline-flex',
24
+ 'grid': 'make-grid',
25
+ 'block': 'make-block',
26
+ 'inline-block': 'make-inline-block',
27
+ 'inline': 'make-inline',
28
+ 'hidden': 'make-hidden',
29
+ 'contents': 'make-contents',
30
+
31
+ // Flex / Grid alignment
32
+ 'items-start': 'align-start',
33
+ 'items-center': 'align-center',
34
+ 'items-end': 'align-end',
35
+ 'items-stretch': 'align-stretch',
36
+ 'items-baseline': 'align-baseline',
37
+ 'justify-start': 'justify-start',
38
+ 'justify-center': 'justify-center',
39
+ 'justify-end': 'justify-end',
40
+ 'justify-between': 'justify-between',
41
+ 'justify-around': 'justify-around',
42
+ 'justify-evenly': 'justify-evenly',
43
+ 'self-auto': 'self-auto',
44
+ 'self-start': 'self-start',
45
+ 'self-center': 'self-center',
46
+ 'self-end': 'self-end',
47
+ 'self-stretch': 'self-stretch',
48
+ 'flex-col': 'flex-col',
49
+ 'flex-row': 'flex-row',
50
+ 'flex-wrap': 'flex-wrap',
51
+ 'flex-nowrap': 'flex-nowrap',
52
+ 'flex-wrap-reverse': 'flex-wrap-reverse',
53
+ 'flex-1': 'flex-1',
54
+ 'flex-auto': 'flex-auto',
55
+ 'flex-none': 'flex-none',
56
+ 'flex-grow': 'flex-grow',
57
+ 'flex-shrink': 'flex-shrink',
58
+ 'flex-shrink-0': 'flex-shrink-0',
59
+ 'flex-grow-0': 'flex-grow-0',
60
+
61
+ // Typography
62
+ 'font-thin': 'text-thin',
63
+ 'font-light': 'text-light',
64
+ 'font-normal': 'text-normal',
65
+ 'font-medium': 'text-medium',
66
+ 'font-semibold': 'text-semibold',
67
+ 'font-bold': 'text-bold',
68
+ 'font-extrabold': 'text-extrabold',
69
+ 'font-black': 'text-black',
70
+ 'text-xs': 'set-text-12',
71
+ 'text-sm': 'set-text-14',
72
+ 'text-base': 'set-text-16',
73
+ 'text-lg': 'set-text-18',
74
+ 'text-xl': 'set-text-20',
75
+ 'text-2xl': 'set-text-24',
76
+ 'text-3xl': 'set-text-30',
77
+ 'text-4xl': 'set-text-36',
78
+ 'text-5xl': 'set-text-48',
79
+ 'text-6xl': 'set-text-60',
80
+ 'text-7xl': 'set-text-72',
81
+ 'text-left': 'text-left',
82
+ 'text-center': 'text-center',
83
+ 'text-right': 'text-right',
84
+ 'text-justify': 'text-justify',
85
+ 'uppercase': 'text-uppercase',
86
+ 'lowercase': 'text-lowercase',
87
+ 'capitalize': 'text-capitalize',
88
+ 'normal-case': 'text-normal-case',
89
+ 'italic': 'text-italic',
90
+ 'not-italic': 'text-not-italic',
91
+ 'underline': 'text-underline',
92
+ 'line-through': 'text-line-through',
93
+ 'no-underline': 'text-no-decoration',
94
+ 'truncate': 'text-truncate',
95
+ 'break-words': 'text-break-words',
96
+ 'break-all': 'text-break-all',
97
+ 'whitespace-nowrap': 'text-nowrap',
98
+ 'whitespace-normal': 'text-wrap',
99
+ 'leading-none': 'line-height-none',
100
+ 'leading-tight': 'line-height-tight',
101
+ 'leading-snug': 'line-height-snug',
102
+ 'leading-normal': 'line-height-normal',
103
+ 'leading-relaxed': 'line-height-relaxed',
104
+ 'leading-loose': 'line-height-loose',
105
+ 'tracking-tighter': 'letter-spacing-tighter',
106
+ 'tracking-tight': 'letter-spacing-tight',
107
+ 'tracking-normal': 'letter-spacing-normal',
108
+ 'tracking-wide': 'letter-spacing-wide',
109
+ 'tracking-wider': 'letter-spacing-wider',
110
+ 'tracking-widest': 'letter-spacing-widest',
111
+
112
+ // Borders / Radius
113
+ 'rounded-none': 'make-rounded-none',
114
+ 'rounded-sm': 'make-rounded-sm',
115
+ 'rounded': 'make-rounded',
116
+ 'rounded-md': 'make-rounded-md',
117
+ 'rounded-lg': 'make-rounded-lg',
118
+ 'rounded-xl': 'make-rounded-xl',
119
+ 'rounded-2xl': 'make-rounded-2xl',
120
+ 'rounded-3xl': 'make-rounded-3xl',
121
+ 'rounded-full': 'make-rounded-full',
122
+ 'border': 'add-border',
123
+ 'border-0': 'add-border-0',
124
+ 'border-2': 'add-border-2',
125
+ 'border-4': 'add-border-4',
126
+ 'border-8': 'add-border-8',
127
+ 'border-t': 'add-border-top',
128
+ 'border-b': 'add-border-bottom',
129
+ 'border-l': 'add-border-left',
130
+ 'border-r': 'add-border-right',
131
+ 'border-solid': 'border-solid',
132
+ 'border-dashed': 'border-dashed',
133
+ 'border-dotted': 'border-dotted',
134
+ 'border-none': 'border-none',
135
+
136
+ // Shadows
137
+ 'shadow-none': 'add-shadow-none',
138
+ 'shadow-sm': 'add-shadow-sm',
139
+ 'shadow': 'add-shadow',
140
+ 'shadow-md': 'add-shadow-md',
141
+ 'shadow-lg': 'add-shadow-lg',
142
+ 'shadow-xl': 'add-shadow-xl',
143
+ 'shadow-2xl': 'add-shadow-2xl',
144
+ 'shadow-inner':'add-shadow-inner',
145
+
146
+ // Sizing
147
+ 'w-full': 'width-full',
148
+ 'w-screen': 'width-screen',
149
+ 'w-auto': 'width-auto',
150
+ 'w-min': 'width-min',
151
+ 'w-max': 'width-max',
152
+ 'w-fit': 'width-fit',
153
+ 'h-full': 'height-full',
154
+ 'h-screen': 'height-screen',
155
+ 'h-auto': 'height-auto',
156
+ 'h-min': 'height-min',
157
+ 'h-max': 'height-max',
158
+ 'h-fit': 'height-fit',
159
+ 'min-w-0': 'min-width-0',
160
+ 'min-w-full':'min-width-full',
161
+ 'max-w-full':'max-width-full',
162
+ 'max-w-none':'max-width-none',
163
+ 'max-h-full':'max-height-full',
164
+ 'max-h-screen':'max-height-screen',
165
+
166
+ // Position
167
+ 'static': 'position-static',
168
+ 'relative': 'position-relative',
169
+ 'absolute': 'position-absolute',
170
+ 'fixed': 'position-fixed',
171
+ 'sticky': 'position-sticky',
172
+ 'inset-0': 'inset-0',
173
+ 'top-0': 'top-0',
174
+ 'bottom-0': 'bottom-0',
175
+ 'left-0': 'left-0',
176
+ 'right-0': 'right-0',
177
+
178
+ // Overflow
179
+ 'overflow-auto': 'overflow-auto',
180
+ 'overflow-hidden': 'overflow-hidden',
181
+ 'overflow-scroll': 'overflow-scroll',
182
+ 'overflow-visible': 'overflow-visible',
183
+ 'overflow-x-auto': 'overflow-x-auto',
184
+ 'overflow-x-hidden':'overflow-x-hidden',
185
+ 'overflow-y-auto': 'overflow-y-auto',
186
+ 'overflow-y-hidden':'overflow-y-hidden',
187
+
188
+ // Misc
189
+ 'container': 'container',
190
+ 'mx-auto': 'margin-auto',
191
+ 'cursor-pointer': 'cursor-pointer',
192
+ 'cursor-default': 'cursor-default',
193
+ 'cursor-not-allowed':'cursor-not-allowed',
194
+ 'cursor-wait': 'cursor-wait',
195
+ 'cursor-text': 'cursor-text',
196
+ 'cursor-move': 'cursor-move',
197
+ 'pointer-events-none':'pointer-events-none',
198
+ 'pointer-events-auto':'pointer-events-auto',
199
+ 'select-none': 'user-select-none',
200
+ 'select-text': 'user-select-text',
201
+ 'select-all': 'user-select-all',
202
+ 'select-auto': 'user-select-auto',
203
+ 'visible': 'make-visible',
204
+ 'invisible': 'make-invisible',
205
+ 'opacity-0': 'opacity-0',
206
+ 'opacity-25': 'opacity-25',
207
+ 'opacity-50': 'opacity-50',
208
+ 'opacity-75': 'opacity-75',
209
+ 'opacity-100': 'opacity-100',
210
+ 'transition': 'transition-all',
211
+ 'transition-all': 'transition-all',
212
+ 'transition-colors': 'transition-colors',
213
+ 'transition-opacity':'transition-opacity',
214
+ 'transition-transform':'transition-transform',
215
+ 'duration-75': 'duration-75',
216
+ 'duration-100': 'duration-100',
217
+ 'duration-150': 'duration-150',
218
+ 'duration-200': 'duration-200',
219
+ 'duration-300': 'duration-300',
220
+ 'duration-500': 'duration-500',
221
+ 'duration-700': 'duration-700',
222
+ 'duration-1000': 'duration-1000',
223
+ 'ease-linear': 'ease-linear',
224
+ 'ease-in': 'ease-in',
225
+ 'ease-out': 'ease-out',
226
+ 'ease-in-out': 'ease-in-out',
227
+ 'sr-only': 'visually-hidden',
228
+ 'not-sr-only': 'visually-visible',
229
+ 'list-none': 'list-none',
230
+ 'list-disc': 'list-disc',
231
+ 'list-decimal': 'list-decimal',
232
+ 'appearance-none': 'appearance-none',
233
+ 'resize-none': 'resize-none',
234
+ 'resize': 'resize-both',
235
+ 'resize-y': 'resize-vertical',
236
+ 'resize-x': 'resize-horizontal',
237
+ 'object-cover': 'object-cover',
238
+ 'object-contain': 'object-contain',
239
+ 'object-fill': 'object-fill',
240
+ 'object-none': 'object-none',
241
+ 'object-scale-down': 'object-scale-down',
242
+ 'isolate': 'isolate',
243
+ 'isolation-auto': 'isolation-auto',
244
+ 'z-0': 'z-0',
245
+ 'z-10': 'z-10',
246
+ 'z-20': 'z-20',
247
+ 'z-30': 'z-30',
248
+ 'z-40': 'z-40',
249
+ 'z-50': 'z-50',
250
+ 'z-auto':'z-auto',
251
+ 'float-left': 'float-left',
252
+ 'float-right': 'float-right',
253
+ 'float-none': 'float-none',
254
+ 'clear-left': 'clear-left',
255
+ 'clear-right': 'clear-right',
256
+ 'clear-both': 'clear-both',
257
+ 'clear-none': 'clear-none',
258
+ 'table': 'make-table',
259
+ 'table-auto': 'table-auto',
260
+ 'table-fixed': 'table-fixed',
261
+ 'table-row': 'make-table-row',
262
+ 'table-cell': 'make-table-cell',
263
+ 'border-collapse':'border-collapse',
264
+ 'border-separate':'border-separate',
265
+ 'aspect-auto': 'aspect-auto',
266
+ 'aspect-square': 'aspect-square',
267
+ 'aspect-video': 'aspect-video',
268
+ };
269
+
270
+ // ─── Dynamic pattern converters ──────────────────────────────────────────────
271
+ // Each returns { from, to } or null if no match
272
+ const DYNAMIC_PATTERNS = [
273
+ // gap-{n} → gap-{n*4}
274
+ { re: /^gap-(\d+)$/, fn: m => `gap-${+m[1]*4}` },
275
+ { re: /^gap-x-(\d+)$/, fn: m => `gap-x-${+m[1]*4}` },
276
+ { re: /^gap-y-(\d+)$/, fn: m => `gap-y-${+m[1]*4}` },
277
+
278
+ // padding
279
+ { re: /^p-(\d+)$/, fn: m => `add-padding-${+m[1]*4}` },
280
+ { re: /^px-(\d+)$/, fn: m => `add-padding-x-${+m[1]*4}` },
281
+ { re: /^py-(\d+)$/, fn: m => `add-padding-y-${+m[1]*4}` },
282
+ { re: /^pt-(\d+)$/, fn: m => `add-padding-top-${+m[1]*4}` },
283
+ { re: /^pb-(\d+)$/, fn: m => `add-padding-bottom-${+m[1]*4}` },
284
+ { re: /^pl-(\d+)$/, fn: m => `add-padding-left-${+m[1]*4}` },
285
+ { re: /^pr-(\d+)$/, fn: m => `add-padding-right-${+m[1]*4}` },
286
+
287
+ // margin
288
+ { re: /^m-(\d+)$/, fn: m => `add-margin-${+m[1]*4}` },
289
+ { re: /^mx-(\d+)$/, fn: m => `add-margin-x-${+m[1]*4}` },
290
+ { re: /^my-(\d+)$/, fn: m => `add-margin-y-${+m[1]*4}` },
291
+ { re: /^mt-(\d+)$/, fn: m => `add-margin-top-${+m[1]*4}` },
292
+ { re: /^mb-(\d+)$/, fn: m => `add-margin-bottom-${+m[1]*4}` },
293
+ { re: /^ml-(\d+)$/, fn: m => `add-margin-left-${+m[1]*4}` },
294
+ { re: /^mr-(\d+)$/, fn: m => `add-margin-right-${+m[1]*4}` },
295
+ { re: /^-mt-(\d+)$/, fn: m => `add-margin-top--${+m[1]*4}` },
296
+ { re: /^-mb-(\d+)$/, fn: m => `add-margin-bottom--${+m[1]*4}` },
297
+ { re: /^-ml-(\d+)$/, fn: m => `add-margin-left--${+m[1]*4}` },
298
+ { re: /^-mr-(\d+)$/, fn: m => `add-margin-right--${+m[1]*4}` },
299
+
300
+ // width / height fixed values
301
+ { re: /^w-(\d+)$/, fn: m => `set-width-${+m[1]*4}` },
302
+ { re: /^h-(\d+)$/, fn: m => `set-height-${+m[1]*4}` },
303
+ { re: /^min-w-\[(\d+)px\]$/, fn: m => `min-width-${m[1]}` },
304
+ { re: /^max-w-\[(\d+)px\]$/, fn: m => `max-width-${m[1]}` },
305
+
306
+ // max-w-{size}
307
+ { re: /^max-w-(xs|sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl)$/, fn: m => `max-width-${m[1]}` },
308
+
309
+ // grid-cols-{n}
310
+ { re: /^grid-cols-(\d+)$/, fn: m => `grid-cols-${m[1]}` },
311
+ { re: /^grid-rows-(\d+)$/, fn: m => `grid-rows-${m[1]}` },
312
+ { re: /^col-span-(\d+)$/, fn: m => `col-span-${m[1]}` },
313
+ { re: /^col-start-(\d+)$/, fn: m => `col-start-${m[1]}` },
314
+ { re: /^col-end-(\d+)$/, fn: m => `col-end-${m[1]}` },
315
+ { re: /^row-span-(\d+)$/, fn: m => `row-span-${m[1]}` },
316
+
317
+ // text color — text-{color}-{shade}
318
+ { re: /^text-([a-z]+)-(\d+)$/, fn: m => `color-${m[1]}-${m[2]}` },
319
+
320
+ // bg color — bg-{color}-{shade}
321
+ { re: /^bg-([a-z]+)-(\d+)$/, fn: m => `background-${m[1]}-${m[2]}` },
322
+
323
+ // border color — border-{color}-{shade}
324
+ { re: /^border-([a-z]+)-(\d+)$/, fn: m => `border-color-${m[1]}-${m[2]}` },
325
+
326
+ // opacity-{n}
327
+ { re: /^opacity-(\d+)$/, fn: m => `opacity-${m[1]}` },
328
+
329
+ // z-index
330
+ { re: /^z-(\d+)$/, fn: m => `z-${m[1]}` },
331
+
332
+ // space-x / space-y (approximate with gap)
333
+ { re: /^space-x-(\d+)$/, fn: m => `gap-${+m[1]*4}` },
334
+ { re: /^space-y-(\d+)$/, fn: m => `gap-y-${+m[1]*4}` },
335
+
336
+ // rounded-t / rounded-b etc (partial border radius)
337
+ { re: /^rounded-t(-\w+)?$/, fn: m => `make-rounded-top${m[1]||''}` },
338
+ { re: /^rounded-b(-\w+)?$/, fn: m => `make-rounded-bottom${m[1]||''}` },
339
+ { re: /^rounded-l(-\w+)?$/, fn: m => `make-rounded-left${m[1]||''}` },
340
+ { re: /^rounded-r(-\w+)?$/, fn: m => `make-rounded-right${m[1]||''}` },
341
+
342
+ // basis
343
+ { re: /^basis-(\d+)$/, fn: m => `flex-basis-${+m[1]*4}` },
344
+ { re: /^basis-full$/, fn: () => 'flex-basis-full' },
345
+ { re: /^basis-auto$/, fn: () => 'flex-basis-auto' },
346
+ ];
347
+
348
+ // ─── Convert a single class name ─────────────────────────────────────────────
349
+ function convertClass(tw) {
350
+ if (STATIC_MAP[tw]) return STATIC_MAP[tw];
351
+ for (const p of DYNAMIC_PATTERNS) {
352
+ const m = tw.match(p.re);
353
+ if (m) return p.fn(m);
354
+ }
355
+ return null; // unmapped
356
+ }
357
+
358
+ // ─── Convert all class= attributes in a string ───────────────────────────────
359
+ function convertContent(source) {
360
+ const unmapped = new Set();
361
+ let convCount = 0;
362
+
363
+ // Match class="..." or className="..."
364
+ const result = source.replace(/(\bclass(?:Name)?=["'])([^"']+)(["'])/g, (full, open, classes, close) => {
365
+ const converted = classes.split(/\s+/).map(cls => {
366
+ if (!cls) return cls;
367
+ const mapped = convertClass(cls);
368
+ if (mapped) { convCount++; return mapped; }
369
+ unmapped.add(cls);
370
+ return cls; // keep original if unmapped
371
+ }).join(' ');
372
+ return open + converted + close;
373
+ });
374
+
375
+ return { result, unmapped: [...unmapped], convCount };
376
+ }
377
+
378
+ // ─── File walker ─────────────────────────────────────────────────────────────
379
+ const EXTS = new Set(['.html', '.jsx', '.tsx', '.vue', '.svelte', '.php', '.erb', '.astro']);
380
+
381
+ function walkDir(dir) {
382
+ const files = [];
383
+ for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
384
+ if (entry.name.startsWith('.') || entry.name === 'node_modules' || entry.name === 'dist') continue;
385
+ const full = path.join(dir, entry.name);
386
+ if (entry.isDirectory()) files.push(...walkDir(full));
387
+ else if (EXTS.has(path.extname(entry.name))) files.push(full);
388
+ }
389
+ return files;
390
+ }
391
+
392
+ // ─── Main ────────────────────────────────────────────────────────────────────
393
+ const args = process.argv.slice(2);
394
+ const getArg = (k, def) => { const m = args.find(a => a.startsWith(`--${k}=`)); return m ? m.slice(k.length+3) : def; };
395
+ const hasFlag = k => args.includes(`--${k}`);
396
+ const isDryRun = hasFlag('dry-run');
397
+ const isReport = hasFlag('report');
398
+
399
+ const inputDir = getArg('input', null);
400
+ const singleFile= getArg('file', null);
401
+
402
+ let files = [];
403
+ if (singleFile) {
404
+ files = [path.resolve(singleFile)];
405
+ } else if (inputDir) {
406
+ files = walkDir(path.resolve(inputDir));
407
+ } else {
408
+ // default: scan current dir
409
+ files = walkDir(process.cwd());
410
+ }
411
+
412
+ if (files.length === 0) {
413
+ console.log('No HTML/JSX/TSX/Vue files found.');
414
+ process.exit(0);
415
+ }
416
+
417
+ let totalConverted = 0;
418
+ let totalFiles = 0;
419
+ const allUnmapped = new Set();
420
+
421
+ for (const file of files) {
422
+ const source = fs.readFileSync(file, 'utf8');
423
+ const { result, unmapped, convCount } = convertContent(source);
424
+
425
+ unmapped.forEach(c => allUnmapped.add(c));
426
+
427
+ if (convCount === 0) continue;
428
+ totalConverted += convCount;
429
+ totalFiles++;
430
+
431
+ if (isDryRun) {
432
+ console.log(` [dry-run] ${file} (${convCount} replacements)`);
433
+ } else {
434
+ fs.writeFileSync(file, result, 'utf8');
435
+ console.log(` ✔ ${file} (${convCount} replacements)`);
436
+ }
437
+ }
438
+
439
+ console.log(`\n SantyCSS migrate — done`);
440
+ console.log(` Files changed : ${totalFiles}`);
441
+ console.log(` Classes mapped: ${totalConverted}`);
442
+
443
+ if (isReport && allUnmapped.size) {
444
+ console.log(`\n Unmapped Tailwind classes (${allUnmapped.size}):`);
445
+ [...allUnmapped].sort().forEach(c => console.log(` - ${c}`));
446
+ }
package/package.json CHANGED
@@ -1,71 +1,77 @@
1
- {
2
- "name": "santycss",
3
- "version": "2.3.0",
4
- "description": "Plain-English utility-first CSS framework — no build step, just classes",
5
- "main": "index.js",
6
- "style": "dist/santy.css",
7
- "exports": {
8
- ".": "./index.js",
9
- "./css": "./dist/santy.css",
10
- "./css/start": "./dist/santy-start.css",
11
- "./css/core": "./dist/santy-core.css",
12
- "./css/variants": "./dist/santy-variants.css",
13
- "./css/components": "./dist/santy-components.css",
14
- "./css/animations": "./dist/santy-animations.css",
15
- "./css/email": "./dist/santy-email.css",
16
- "./min": "./dist/santy.min.css",
17
- "./postcss": "./postcss/index.js",
18
- "./jit": "./santy-jit.js",
19
- "./vite": "./vite-plugin-santycss.js",
20
- "./purge": "./lib/purge-core.js",
21
- "./scroll": "./dist/santy-scroll.js"
22
- },
23
- "files": [
24
- "dist/",
25
- "postcss/",
26
- "lib/",
27
- "index.js",
28
- "santy-jit.js",
29
- "vite-plugin-santycss.js",
30
- "purge.js",
31
- "README.md"
32
- ],
33
- "bin": {
34
- "santycss": "./purge.js"
35
- },
36
- "keywords": [
37
- "css",
38
- "framework",
39
- "utility-css",
40
- "tailwind-alternative",
41
- "plain-english",
42
- "no-build",
43
- "santycss",
44
- "postcss",
45
- "vite"
46
- ],
47
- "scripts": {
48
- "build": "node build.js",
49
- "purge": "node purge.js",
50
- "dev": "node build.js && echo 'Watching...'",
51
- "prepublish": "node build.js"
52
- },
53
- "peerDependencies": {
54
- "postcss": ">=8.0.0"
55
- },
56
- "peerDependenciesMeta": {
57
- "postcss": {
58
- "optional": true
59
- }
60
- },
61
- "author": "Santy",
62
- "license": "MIT",
63
- "repository": {
64
- "type": "git",
65
- "url": "https://github.com/ChintuSanty/santyCSS.git"
66
- },
67
- "homepage": "https://santycss.santy.in",
68
- "bugs": {
69
- "url": "https://github.com/ChintuSanty/santyCSS/issues"
70
- }
71
- }
1
+ {
2
+ "name": "santycss",
3
+ "version": "2.5.0",
4
+ "description": "Plain-English utility-first CSS framework — no build step, just classes",
5
+ "main": "index.js",
6
+ "style": "dist/santy.css",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./css": "./dist/santy.css",
10
+ "./css/start": "./dist/santy-start.css",
11
+ "./css/core": "./dist/santy-core.css",
12
+ "./css/variants": "./dist/santy-variants.css",
13
+ "./css/components": "./dist/santy-components.css",
14
+ "./css/animations": "./dist/santy-animations.css",
15
+ "./css/email": "./dist/santy-email.css",
16
+ "./min": "./dist/santy.min.css",
17
+ "./postcss": "./postcss/index.js",
18
+ "./jit": "./santy-jit.js",
19
+ "./vite": "./vite-plugin-santycss.js",
20
+ "./purge": "./lib/purge-core.js",
21
+ "./migrate": "./migrate.js",
22
+ "./scroll": "./dist/santy-scroll.js"
23
+ },
24
+ "files": [
25
+ "dist/",
26
+ "postcss/",
27
+ "lib/",
28
+ "index.js",
29
+ "santy-jit.js",
30
+ "vite-plugin-santycss.js",
31
+ "purge.js",
32
+ "migrate.js",
33
+ "README.md"
34
+ ],
35
+ "bin": {
36
+ "santycss": "./purge.js",
37
+ "santycss-migrate": "./migrate.js"
38
+ },
39
+ "keywords": [
40
+ "css",
41
+ "framework",
42
+ "utility-css",
43
+ "tailwind-alternative",
44
+ "tailwind-migration",
45
+ "plain-english",
46
+ "ai-friendly",
47
+ "dark-mode",
48
+ "no-build",
49
+ "santycss",
50
+ "postcss",
51
+ "vite"
52
+ ],
53
+ "scripts": {
54
+ "build": "node build.js",
55
+ "purge": "node purge.js",
56
+ "dev": "node build.js && echo 'Watching...'",
57
+ "prepublish": "node build.js"
58
+ },
59
+ "peerDependencies": {
60
+ "postcss": ">=8.0.0"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "postcss": {
64
+ "optional": true
65
+ }
66
+ },
67
+ "author": "Santy",
68
+ "license": "MIT",
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "https://github.com/ChintuSanty/santyCSS.git"
72
+ },
73
+ "homepage": "https://santycss.santy.in",
74
+ "bugs": {
75
+ "url": "https://github.com/ChintuSanty/santyCSS/issues"
76
+ }
77
+ }