stillwind 0.12.0 → 0.14.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/CHANGELOG.md +76 -0
- package/README.md +1 -1
- package/css/builtin-utilities/tw-borders.css +59 -59
- package/css/builtin-utilities/tw-effects.css +53 -53
- package/css/builtin-utilities/tw-typography.css +13 -13
- package/dist/class-object-C87DR3v2.js +6 -0
- package/dist/class-object-C87DR3v2.js.map +1 -0
- package/dist/class-object-CR0QHoF9.d.ts +10 -0
- package/dist/{class-string-DQmH4PZX.d.ts → class-string-BlClX8JK.d.ts} +2 -2
- package/dist/class-string-CiNTVHYm.js +6 -0
- package/dist/{class-string-CrQnTRvI.js.map → class-string-CiNTVHYm.js.map} +1 -1
- package/dist/{formats-Ctf2WFc-.js → formats-DP9B9SG6.js} +228 -113
- package/dist/formats-DP9B9SG6.js.map +1 -0
- package/dist/{formats-aeLCNAXl.d.ts → formats-NBNjMP5R.d.ts} +34 -12
- package/dist/frameworks/alpine.d.ts +5 -3
- package/dist/frameworks/alpine.js +3 -1
- package/dist/frameworks/alpine.js.map +1 -1
- package/dist/frameworks/astro.d.ts +3 -3
- package/dist/frameworks/astro.js +1 -1
- package/dist/frameworks/lit.d.ts +5 -3
- package/dist/frameworks/lit.js +3 -1
- package/dist/frameworks/lit.js.map +1 -1
- package/dist/frameworks/preact.d.ts +3 -3
- package/dist/frameworks/preact.js +1 -1
- package/dist/frameworks/qwik.d.ts +3 -3
- package/dist/frameworks/qwik.js +1 -1
- package/dist/frameworks/react.d.ts +2 -2
- package/dist/frameworks/react.js +1 -1
- package/dist/frameworks/solid.d.ts +3 -3
- package/dist/frameworks/solid.js +1 -1
- package/dist/frameworks/svelte.d.ts +3 -3
- package/dist/frameworks/svelte.js +1 -1
- package/dist/frameworks/vanilla.d.ts +5 -3
- package/dist/frameworks/vanilla.js +6 -1
- package/dist/frameworks/vanilla.js.map +1 -0
- package/dist/frameworks/vue.d.ts +3 -3
- package/dist/frameworks/vue.js +1 -1
- package/dist/{index-uw1R9t_P.d.ts → index-DpaDcczW.d.ts} +150 -50
- package/dist/macro/index.d.ts +2 -2
- package/dist/macro/index.js +1 -1
- package/dist/runtime/development.d.ts +16 -8
- package/dist/runtime/development.js +57 -21
- package/dist/runtime/development.js.map +1 -1
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.js +1 -1
- package/dist/{style-Bzuux32Y.js → style-dMBm8aX_.js} +6 -3
- package/dist/style-dMBm8aX_.js.map +1 -0
- package/docs/at-rules/apply.md +1 -1
- package/docs/at-rules/custom-variant.md +1 -1
- package/docs/at-rules/slot.md +1 -1
- package/docs/at-rules/stillwind-property.md +1 -1
- package/docs/at-rules/stillwind-registry.md +7 -7
- package/docs/at-rules/stillwind-require-properties.md +1 -1
- package/docs/at-rules/stillwind-undef-arbitrary-property.md +1 -1
- package/docs/at-rules/stillwind-undef-utility.md +1 -1
- package/docs/at-rules/stillwind-undef-variant.md +1 -1
- package/docs/at-rules/theme.md +5 -5
- package/docs/at-rules/utility.md +43 -4
- package/docs/at-rules/variant.md +1 -1
- package/docs/concepts/css-ordering.md +47 -7
- package/docs/concepts/how-styles-compile.md +8 -8
- package/docs/errors/SW10006.md +34 -0
- package/docs/errors/SW11001.md +4 -2
- package/docs/errors/index.md +1 -1
- package/docs/guides/migrating-from-tailwind.md +52 -9
- package/docs/guides/reusable-styles.md +2 -2
- package/docs/guides/style.md +1 -4
- package/docs/integrations.md +20 -1
- package/docs/lints/ambiguous-style-base-order.md +3 -1
- package/docs/lints/conflicting-provider-properties.md +3 -0
- package/docs/lints/conflicting-utilities.md +9 -0
- package/docs/lints/cyclic-style-order.md +68 -0
- package/docs/lints/index.md +14 -10
- package/docs/lints/interfering-imported-style-base.md +13 -22
- package/docs/lints/{invalid-cva-config.md → invalid-recipe-config.md} +8 -8
- package/docs/lints/{invalid-cva-input.md → invalid-recipe-input.md} +9 -9
- package/docs/lints/multiple-style-forwards.md +59 -0
- package/docs/lints/partial-utility-override.md +77 -0
- package/docs/lints/utility-class-selector.md +72 -0
- package/docs/llms.txt +8 -4
- package/docs/macros/index.md +1 -1
- package/docs/macros/recipe.md +246 -0
- package/docs/macros/style.md +62 -0
- package/docs/macros/when.md +1 -1
- package/package.json +7 -7
- package/skills/stillwind/SKILL.md +1 -1
- package/dist/class-object-CXvJOi2z.d.ts +0 -9
- package/dist/class-object-CzD1oMD_.js +0 -6
- package/dist/class-object-CzD1oMD_.js.map +0 -1
- package/dist/class-string-CrQnTRvI.js +0 -6
- package/dist/formats-Ctf2WFc-.js.map +0 -1
- package/dist/style-Bzuux32Y.js.map +0 -1
- package/docs/errors/SW11002.md +0 -65
- package/docs/macros/cva.md +0 -155
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
var(--tw-ring-shadow), var(--tw-shadow);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
@stillwind-utility shadow-* {
|
|
117
|
+
@stillwind-utility shadow-* (exclusive) {
|
|
118
118
|
--tw-shadow: --stillwind-builtin-shadow-color(--shadow-*, --tw-shadow-color);
|
|
119
119
|
box-shadow:
|
|
120
120
|
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
@@ -133,14 +133,14 @@ An untyped variable selects the earliest registered branch that accepts it. Keep
|
|
|
133
133
|
branch before the shadow color branches so `shadow-(--x)` sets the shadow, as in
|
|
134
134
|
Tailwind.
|
|
135
135
|
*/
|
|
136
|
-
@stillwind-utility shadow-* {
|
|
136
|
+
@stillwind-utility shadow-* (exclusive) {
|
|
137
137
|
--tw-shadow: --stillwind-builtin-shadow-color([shadow], --tw-shadow-color);
|
|
138
138
|
box-shadow:
|
|
139
139
|
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
140
140
|
var(--tw-ring-shadow), var(--tw-shadow);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
@stillwind-utility shadow-* {
|
|
143
|
+
@stillwind-utility shadow-* (exclusive) {
|
|
144
144
|
--tw-shadow-alpha: --alpha(--modifier());
|
|
145
145
|
--tw-shadow: --stillwind-builtin-shadow-color(
|
|
146
146
|
--shadow-*,
|
|
@@ -176,19 +176,11 @@ Tailwind.
|
|
|
176
176
|
--tw-ring-inset: inset;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
@stillwind-utility
|
|
180
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0
|
|
181
|
-
calc(--value(integer) * 1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
182
|
-
box-shadow:
|
|
183
|
-
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
184
|
-
var(--tw-ring-shadow), var(--tw-shadow);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@stillwind-utility shadow-* {
|
|
179
|
+
@stillwind-utility shadow-* (exclusive) {
|
|
188
180
|
--tw-shadow-color: --value(inherit);
|
|
189
181
|
}
|
|
190
182
|
|
|
191
|
-
@stillwind-utility shadow-* {
|
|
183
|
+
@stillwind-utility shadow-* (exclusive) {
|
|
192
184
|
--tw-shadow-color: --compat-color(
|
|
193
185
|
--value(--color-*, current, transparent),
|
|
194
186
|
100%,
|
|
@@ -196,7 +188,7 @@ Tailwind.
|
|
|
196
188
|
);
|
|
197
189
|
}
|
|
198
190
|
|
|
199
|
-
@stillwind-utility shadow-* {
|
|
191
|
+
@stillwind-utility shadow-* (exclusive) {
|
|
200
192
|
--tw-shadow-color: --compat-color(
|
|
201
193
|
--value(--color-*, current, transparent),
|
|
202
194
|
--alpha(--modifier()),
|
|
@@ -206,30 +198,38 @@ Tailwind.
|
|
|
206
198
|
|
|
207
199
|
@stillwind-arbitrary-property --tw-ring-color;
|
|
208
200
|
|
|
209
|
-
@stillwind-utility ring-* {
|
|
201
|
+
@stillwind-utility ring-* (exclusive) {
|
|
210
202
|
--tw-ring-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
211
203
|
}
|
|
212
204
|
|
|
213
|
-
@stillwind-utility ring-* {
|
|
205
|
+
@stillwind-utility ring-* (exclusive) {
|
|
214
206
|
--tw-ring-color: --compat-color(
|
|
215
207
|
--value(--color-*, current, inherit, transparent, [color]),
|
|
216
208
|
--alpha(--modifier())
|
|
217
209
|
);
|
|
218
210
|
}
|
|
219
211
|
|
|
220
|
-
@stillwind-utility ring-* {
|
|
212
|
+
@stillwind-utility ring-* (exclusive) {
|
|
221
213
|
--tw-ring-color: --value(--color-*, current, transparent);
|
|
222
214
|
}
|
|
223
215
|
|
|
224
|
-
@stillwind-utility ring-* {
|
|
216
|
+
@stillwind-utility ring-* (exclusive) {
|
|
225
217
|
--tw-ring-color: --compat-color(--value(--color-*, current, transparent), --alpha(--modifier()));
|
|
226
218
|
}
|
|
227
219
|
|
|
220
|
+
@stillwind-utility ring-* (exclusive) {
|
|
221
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0
|
|
222
|
+
calc(--value(integer) * 1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
223
|
+
box-shadow:
|
|
224
|
+
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
225
|
+
var(--tw-ring-shadow), var(--tw-shadow);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
228
|
/*
|
|
229
229
|
An untyped variable selects the earliest registered branch that accepts it. Keep this
|
|
230
230
|
width branch after the ring color branches so `ring-(--x)` sets the color, as in Tailwind.
|
|
231
231
|
*/
|
|
232
|
-
@stillwind-utility ring-* {
|
|
232
|
+
@stillwind-utility ring-* (exclusive) {
|
|
233
233
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0
|
|
234
234
|
calc(--value([length]) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
235
235
|
box-shadow:
|
|
@@ -267,27 +267,27 @@ width branch after the ring color branches so `ring-(--x)` sets the color, as in
|
|
|
267
267
|
var(--tw-ring-shadow), var(--tw-shadow);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
@stillwind-utility inset-ring-* {
|
|
271
|
-
--tw-inset-ring-shadow: inset 0 0 0 calc(--value(integer) * 1px)
|
|
272
|
-
var(--tw-inset-ring-color, currentcolor);
|
|
273
|
-
box-shadow:
|
|
274
|
-
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
275
|
-
var(--tw-ring-shadow), var(--tw-shadow);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
270
|
@stillwind-arbitrary-property --tw-inset-ring-color;
|
|
279
271
|
|
|
280
|
-
@stillwind-utility inset-ring-* {
|
|
272
|
+
@stillwind-utility inset-ring-* (exclusive) {
|
|
281
273
|
--tw-inset-ring-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
282
274
|
}
|
|
283
275
|
|
|
284
|
-
@stillwind-utility inset-ring-* {
|
|
276
|
+
@stillwind-utility inset-ring-* (exclusive) {
|
|
285
277
|
--tw-inset-ring-color: --compat-color(
|
|
286
278
|
--value(--color-*, current, inherit, transparent, [color]),
|
|
287
279
|
--alpha(--modifier())
|
|
288
280
|
);
|
|
289
281
|
}
|
|
290
282
|
|
|
283
|
+
@stillwind-utility inset-ring-* (exclusive) {
|
|
284
|
+
--tw-inset-ring-shadow: inset 0 0 0 calc(--value(integer) * 1px)
|
|
285
|
+
var(--tw-inset-ring-color, currentcolor);
|
|
286
|
+
box-shadow:
|
|
287
|
+
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
288
|
+
var(--tw-ring-shadow), var(--tw-shadow);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
291
|
@stillwind-arbitrary-property --tw-inset-shadow-color;
|
|
292
292
|
|
|
293
293
|
@stillwind-utility inset-shadow-initial {
|
|
@@ -303,7 +303,7 @@ width branch after the ring color branches so `ring-(--x)` sets the color, as in
|
|
|
303
303
|
var(--tw-ring-shadow), var(--tw-shadow);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
@stillwind-utility inset-shadow-* {
|
|
306
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
307
307
|
--tw-inset-shadow: --stillwind-builtin-shadow-color(--inset-shadow-*, --tw-inset-shadow-color);
|
|
308
308
|
box-shadow:
|
|
309
309
|
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
@@ -322,7 +322,7 @@ Theme inset shadows already contain `inset`, while arbitrary shadows receive it
|
|
|
322
322
|
Keep this branch before the inset shadow color branches so `inset-shadow-(--x)` sets the
|
|
323
323
|
shadow.
|
|
324
324
|
*/
|
|
325
|
-
@stillwind-utility inset-shadow-* {
|
|
325
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
326
326
|
--tw-inset-shadow: inset --stillwind-builtin-shadow-color([shadow], --tw-inset-shadow-color);
|
|
327
327
|
box-shadow:
|
|
328
328
|
var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
|
|
@@ -334,7 +334,7 @@ A token shadow with a slash opacity modifier needs its authored color, rather th
|
|
|
334
334
|
`var()` reference. `--stillwind-builtin-shadow-color` is the registry extension for this
|
|
335
335
|
CSS Color 5 relative-color operation.
|
|
336
336
|
*/
|
|
337
|
-
@stillwind-utility inset-shadow-* {
|
|
337
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
338
338
|
--tw-inset-shadow-alpha: --alpha(--modifier());
|
|
339
339
|
--tw-inset-shadow: --stillwind-builtin-shadow-color(
|
|
340
340
|
--inset-shadow-*,
|
|
@@ -358,11 +358,11 @@ CSS Color 5 relative-color operation.
|
|
|
358
358
|
var(--tw-ring-shadow), var(--tw-shadow);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
@stillwind-utility inset-shadow-* {
|
|
361
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
362
362
|
--tw-inset-shadow-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
@stillwind-utility inset-shadow-* {
|
|
365
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
366
366
|
--tw-inset-shadow-color: --compat-color(
|
|
367
367
|
--value(--color-*, current, transparent, [color]),
|
|
368
368
|
--alpha(--modifier()),
|
|
@@ -370,11 +370,11 @@ CSS Color 5 relative-color operation.
|
|
|
370
370
|
);
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
@stillwind-utility inset-shadow-* {
|
|
373
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
374
374
|
--tw-inset-shadow-color: --value(--color-*, current, inherit, transparent);
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
@stillwind-utility inset-shadow-* {
|
|
377
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
378
378
|
--tw-inset-shadow-color: --compat-color(
|
|
379
379
|
--value(current, transparent),
|
|
380
380
|
100%,
|
|
@@ -382,7 +382,7 @@ CSS Color 5 relative-color operation.
|
|
|
382
382
|
);
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
@stillwind-utility inset-shadow-* {
|
|
385
|
+
@stillwind-utility inset-shadow-* (exclusive) {
|
|
386
386
|
--tw-inset-shadow-color: --compat-color(
|
|
387
387
|
--value(--color-*, current, transparent),
|
|
388
388
|
--alpha(--modifier()),
|
|
@@ -479,7 +479,7 @@ CSS Color 5 relative-color operation.
|
|
|
479
479
|
var(--tw-drop-shadow,);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
@stillwind-utility drop-shadow-* {
|
|
482
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
483
483
|
--tw-drop-shadow-size: drop-shadow(
|
|
484
484
|
--stillwind-builtin-shadow-color(--drop-shadow-*, --tw-drop-shadow-color)
|
|
485
485
|
);
|
|
@@ -499,7 +499,7 @@ CSS Color 5 relative-color operation.
|
|
|
499
499
|
var(--tw-drop-shadow,);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
@stillwind-utility drop-shadow-* {
|
|
502
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
503
503
|
--tw-drop-shadow-size: drop-shadow(
|
|
504
504
|
--stillwind-builtin-shadow-color([shadow], --tw-drop-shadow-color)
|
|
505
505
|
);
|
|
@@ -509,7 +509,7 @@ CSS Color 5 relative-color operation.
|
|
|
509
509
|
var(--tw-drop-shadow,);
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
@stillwind-utility drop-shadow-* {
|
|
512
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
513
513
|
--tw-drop-shadow-alpha: --alpha(--modifier());
|
|
514
514
|
--tw-drop-shadow-size: drop-shadow(
|
|
515
515
|
--stillwind-builtin-shadow-color(--drop-shadow-*, --tw-drop-shadow-color, --alpha(--modifier()))
|
|
@@ -531,12 +531,12 @@ CSS Color 5 relative-color operation.
|
|
|
531
531
|
var(--tw-drop-shadow,);
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
@stillwind-utility drop-shadow-* {
|
|
534
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
535
535
|
--tw-drop-shadow-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
536
536
|
--tw-drop-shadow: var(--tw-drop-shadow-size);
|
|
537
537
|
}
|
|
538
538
|
|
|
539
|
-
@stillwind-utility drop-shadow-* {
|
|
539
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
540
540
|
--tw-drop-shadow-color: --compat-color(
|
|
541
541
|
--value(--color-*, current, inherit, transparent, [color]),
|
|
542
542
|
--alpha(--modifier()),
|
|
@@ -545,14 +545,14 @@ CSS Color 5 relative-color operation.
|
|
|
545
545
|
--tw-drop-shadow: var(--tw-drop-shadow-size);
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
@stillwind-utility drop-shadow-* {
|
|
548
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
549
549
|
--tw-drop-shadow-color: --value(--color-*, current, transparent);
|
|
550
550
|
--tw-drop-shadow: var(--tw-drop-shadow-size);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
@stillwind-arbitrary-property --tw-drop-shadow-color;
|
|
554
554
|
|
|
555
|
-
@stillwind-utility drop-shadow-* {
|
|
555
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
556
556
|
--tw-drop-shadow-color: --compat-color(
|
|
557
557
|
--value(current, transparent),
|
|
558
558
|
100%,
|
|
@@ -560,7 +560,7 @@ CSS Color 5 relative-color operation.
|
|
|
560
560
|
);
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
@stillwind-utility drop-shadow-* {
|
|
563
|
+
@stillwind-utility drop-shadow-* (exclusive) {
|
|
564
564
|
--tw-drop-shadow-color: --compat-color(
|
|
565
565
|
--value(--color-*, current, transparent),
|
|
566
566
|
--alpha(--modifier()),
|
|
@@ -1146,7 +1146,7 @@ CSS Color 5 relative-color operation.
|
|
|
1146
1146
|
text-shadow: none;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
|
-
@stillwind-utility text-shadow-* {
|
|
1149
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1150
1150
|
text-shadow: --stillwind-builtin-shadow-color(--text-shadow-*, --tw-text-shadow-color);
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
@@ -1154,11 +1154,11 @@ CSS Color 5 relative-color operation.
|
|
|
1154
1154
|
text-shadow: --stillwind-builtin-shadow-color(--text-shadow, --tw-text-shadow-color);
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
|
-
@stillwind-utility text-shadow-* {
|
|
1157
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1158
1158
|
text-shadow: --stillwind-builtin-shadow-color([shadow], --tw-text-shadow-color);
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
-
@stillwind-utility text-shadow-* {
|
|
1161
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1162
1162
|
--tw-text-shadow-alpha: --alpha(--modifier());
|
|
1163
1163
|
text-shadow: --stillwind-builtin-shadow-color(
|
|
1164
1164
|
--text-shadow-*,
|
|
@@ -1176,11 +1176,11 @@ CSS Color 5 relative-color operation.
|
|
|
1176
1176
|
);
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
|
-
@stillwind-utility text-shadow-* {
|
|
1179
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1180
1180
|
--tw-text-shadow-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
|
-
@stillwind-utility text-shadow-* {
|
|
1183
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1184
1184
|
--tw-text-shadow-color: --compat-color(
|
|
1185
1185
|
--value(--color-*, current, transparent, [color]),
|
|
1186
1186
|
--alpha(--modifier()),
|
|
@@ -1188,11 +1188,11 @@ CSS Color 5 relative-color operation.
|
|
|
1188
1188
|
);
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
|
-
@stillwind-utility text-shadow-* {
|
|
1191
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1192
1192
|
--tw-text-shadow-color: --value(--color-*, current, inherit, transparent);
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
1195
|
-
@stillwind-utility text-shadow-* {
|
|
1195
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1196
1196
|
--tw-text-shadow-color: --compat-color(
|
|
1197
1197
|
--value(current, transparent),
|
|
1198
1198
|
100%,
|
|
@@ -1200,7 +1200,7 @@ CSS Color 5 relative-color operation.
|
|
|
1200
1200
|
);
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
|
-
@stillwind-utility text-shadow-* {
|
|
1203
|
+
@stillwind-utility text-shadow-* (exclusive) {
|
|
1204
1204
|
--tw-text-shadow-color: --compat-color(
|
|
1205
1205
|
--value(--color-*, current, transparent),
|
|
1206
1206
|
--alpha(--modifier()),
|
|
@@ -240,11 +240,11 @@ An untyped variable selects the earliest registered branch that accepts it. Keep
|
|
|
240
240
|
color branch before the font-size branches so `text-(--x)` sets the color, as in
|
|
241
241
|
Tailwind.
|
|
242
242
|
*/
|
|
243
|
-
@stillwind-utility text-* {
|
|
243
|
+
@stillwind-utility text-* (exclusive) {
|
|
244
244
|
color: --value(--color-*, current, inherit, transparent);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
@stillwind-utility text-* {
|
|
247
|
+
@stillwind-utility text-* (exclusive) {
|
|
248
248
|
color: --compat-color(
|
|
249
249
|
--value(--color-*, current, inherit, transparent, [color]),
|
|
250
250
|
--alpha(--modifier())
|
|
@@ -253,22 +253,22 @@ Tailwind.
|
|
|
253
253
|
|
|
254
254
|
@stillwind-arbitrary-property font-size;
|
|
255
255
|
|
|
256
|
-
@stillwind-utility text-* {
|
|
256
|
+
@stillwind-utility text-* (exclusive) {
|
|
257
257
|
font-size: --value(--text-*, [length-percentage]);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
@stillwind-utility text-* {
|
|
260
|
+
@stillwind-utility text-* (exclusive) {
|
|
261
261
|
font-size: --value(--text-*);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
@stillwind-arbitrary-property line-height;
|
|
265
265
|
|
|
266
|
-
@stillwind-utility text-* {
|
|
266
|
+
@stillwind-utility text-* (exclusive) {
|
|
267
267
|
font-size: --value(--text-*);
|
|
268
268
|
line-height: var(--tw-leading, --stillwind-theme-suffix(--text-*, --line-height));
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
@stillwind-utility text-* {
|
|
271
|
+
@stillwind-utility text-* (exclusive) {
|
|
272
272
|
font-size: --value(--text-*);
|
|
273
273
|
line-height: --modifier(--leading-*, --spacing(), [length-percentage]);
|
|
274
274
|
}
|
|
@@ -634,11 +634,15 @@ Tailwind.
|
|
|
634
634
|
text-decoration-line: underline;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
@stillwind-utility decoration-* {
|
|
637
|
+
@stillwind-utility decoration-* (exclusive) {
|
|
638
|
+
text-decoration-thickness: calc(--value(integer) * 1px);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
@stillwind-utility decoration-* (exclusive) {
|
|
638
642
|
text-decoration-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
639
643
|
}
|
|
640
644
|
|
|
641
|
-
@stillwind-utility decoration-* {
|
|
645
|
+
@stillwind-utility decoration-* (exclusive) {
|
|
642
646
|
text-decoration-color: --compat-color(
|
|
643
647
|
--value(--color-*, current, inherit, transparent, [color]),
|
|
644
648
|
--alpha(--modifier())
|
|
@@ -673,11 +677,7 @@ Tailwind.
|
|
|
673
677
|
text-decoration-thickness: from-font;
|
|
674
678
|
}
|
|
675
679
|
|
|
676
|
-
@stillwind-utility decoration-* {
|
|
677
|
-
text-decoration-thickness: calc(--value(integer) * 1px);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
@stillwind-utility decoration-* {
|
|
680
|
+
@stillwind-utility decoration-* (exclusive) {
|
|
681
681
|
text-decoration-thickness: --value([length-percentage]);
|
|
682
682
|
}
|
|
683
683
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"class-object-C87DR3v2.js","names":[],"sources":["../src/outputs/class-object.ts"],"sourcesContent":["import type { StyleResult as Result } from \"../macro/output.ts\";\nimport {\n createStyleMacro,\n type StyleMacro as Macro,\n type StyleMacroWithoutForward as MacroWithoutForward,\n} from \"../macro/style.ts\";\n\nexport type StyleProps = {\n class?: string;\n style?: Record<string, string>;\n};\n\nexport type StyleResult<Id extends string = string> = Result<Id, StyleProps>;\n\nexport type StyleMacro = Macro<StyleProps>;\n\nexport type StyleMacroWithoutForward = MacroWithoutForward<StyleProps>;\n\nexport const style: StyleMacro = createStyleMacro<StyleProps>();\n"],"mappings":";;AAkBA,MAAa,QAAoB,iBAA6B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StyleMacro as StyleMacro$1, StyleMacroWithoutForward as StyleMacroWithoutForward$1, StyleResult as StyleResult$1 } from "./index-DpaDcczW.js";
|
|
2
|
+
export type StyleProps = {
|
|
3
|
+
class?: string;
|
|
4
|
+
style?: Record<string, string>;
|
|
5
|
+
};
|
|
6
|
+
export type StyleResult<Id extends string = string> = StyleResult$1<Id, StyleProps>;
|
|
7
|
+
export type StyleMacro = StyleMacro$1<StyleProps>;
|
|
8
|
+
export type StyleMacroWithoutForward = StyleMacroWithoutForward$1<StyleProps>;
|
|
9
|
+
export declare const style: StyleMacro;
|
|
10
|
+
//# sourceMappingURL=class-object-CR0QHoF9.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleMacro as StyleMacro$1, StyleResult as StyleResult$1 } from "./index-
|
|
1
|
+
import { StyleMacro as StyleMacro$1, StyleResult as StyleResult$1 } from "./index-DpaDcczW.js";
|
|
2
2
|
export type StyleProps = {
|
|
3
3
|
class?: string;
|
|
4
4
|
style?: string;
|
|
@@ -6,4 +6,4 @@ export type StyleProps = {
|
|
|
6
6
|
export type StyleResult<Id extends string = string> = StyleResult$1<Id, StyleProps>;
|
|
7
7
|
export type StyleMacro = StyleMacro$1<StyleProps>;
|
|
8
8
|
export declare const style: StyleMacro;
|
|
9
|
-
//# sourceMappingURL=class-string-
|
|
9
|
+
//# sourceMappingURL=class-string-BlClX8JK.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class-string-
|
|
1
|
+
{"version":3,"file":"class-string-CiNTVHYm.js","names":[],"sources":["../src/outputs/class-string.ts"],"sourcesContent":["import type { StyleResult as Result } from \"../macro/output.ts\";\nimport type { StyleMacro as Macro } from \"../macro/style.ts\";\nimport { createStyleMacro } from \"../macro/style.ts\";\n\nexport type StyleProps = {\n class?: string;\n style?: string;\n};\nexport type StyleResult<Id extends string = string> = Result<Id, StyleProps>;\nexport type StyleMacro = Macro<StyleProps>;\nexport const style: StyleMacro = createStyleMacro<StyleProps>();\n"],"mappings":";;AAUA,MAAa,QAAoB,iBAA6B"}
|