@styleframe/theme 2.1.0 → 2.3.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/dist/theme.d.ts CHANGED
@@ -1,9 +1,49 @@
1
1
  import { CamelCase } from 'scule';
2
+ import { ModifierFactory } from '@styleframe/core';
2
3
  import { Reference } from '@styleframe/core';
3
4
  import { Styleframe } from '@styleframe/core';
4
5
  import { TokenValue } from '@styleframe/core';
6
+ import { UtilityCallbackFn } from '@styleframe/core';
7
+ import { UtilityCreatorFn } from '@styleframe/core';
5
8
  import { Variable } from '@styleframe/core';
6
9
 
10
+ /**
11
+ * Creates a generic composable function for a CSS utility.
12
+ *
13
+ * This factory function generates `use*Utility` composables (like `useMarginUtility`, `usePaddingUtility`, etc.)
14
+ * from a utility name and factory function.
15
+ *
16
+ * @param utilityName - The utility name (e.g., 'margin', 'padding')
17
+ * @param factory - Function that receives { value } and returns CSS declarations
18
+ * @param options - Configuration options
19
+ * @returns A composable function that creates utilities for the given property
20
+ *
21
+ * @example
22
+ * ```typescript
23
+ * // Create a useMarginUtility composable
24
+ * export const useMarginUtility = createUseUtility(
25
+ * 'm',
26
+ * ({ value }) => ({ margin: value })
27
+ * );
28
+ *
29
+ * // Usage
30
+ * const s = styleframe();
31
+ * const createMargin = useMarginUtility(s, {
32
+ * sm: '0.5rem',
33
+ * md: '1rem',
34
+ * lg: '1.5rem',
35
+ * });
36
+ * ```
37
+ */
38
+ export declare function createUseUtility<UtilityName extends string, Defaults extends Record<string, TokenValue> = Record<string, TokenValue>>(utilityName: UtilityName, factory: UtilityCallbackFn, options?: CreateUseUtilityOptions<Defaults>): <T extends Record<string, TokenValue> = Defaults>(s: Styleframe, values?: T, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
39
+
40
+ export declare interface CreateUseUtilityOptions<Defaults extends Record<string, TokenValue>> {
41
+ /** Default values for the utility */
42
+ defaults?: Defaults;
43
+ /** Whether to merge user values with defaults (true) or replace them (false) */
44
+ mergeDefaults?: boolean;
45
+ }
46
+
7
47
  /**
8
48
  * Creates a generic composable function for a CSS property.
9
49
  *
@@ -41,13 +81,208 @@ import { Variable } from '@styleframe/core';
41
81
  * });
42
82
  * ```
43
83
  */
44
- export declare function createUseVariable<PropertyName extends string, PropertyType = TokenValue, Delimiter extends string = "--", Defaults extends Record<string, PropertyType> = Record<string, PropertyType>, MergeDefaults extends boolean = false>(propertyName: PropertyName, { defaults, mergeDefaults, transform, delimiter, }?: {
84
+ export declare function createUseVariable<PropertyName extends string, PropertyType = TokenValue, Delimiter extends string = ".", Defaults extends Record<string, PropertyType> = Record<string, PropertyType>, MergeDefaults extends boolean = false>(propertyName: PropertyName, { defaults, mergeDefaults, transform, delimiter, }?: {
45
85
  defaults?: Defaults;
46
86
  mergeDefaults?: MergeDefaults;
47
87
  transform?: (value: PropertyType) => TokenValue;
48
88
  delimiter?: Delimiter;
49
89
  }): <T extends Record<string, PropertyType> = Defaults>(s: Styleframe, tokens?: T) => ExportKeys<PropertyName, MergeDefaults extends true ? Defaults & T : T, Delimiter>;
50
90
 
91
+ /**
92
+ * Default align-content utility values matching Tailwind CSS.
93
+ */
94
+ export declare const defaultAlignContentValues: {
95
+ normal: string;
96
+ center: string;
97
+ start: string;
98
+ end: string;
99
+ between: string;
100
+ around: string;
101
+ evenly: string;
102
+ baseline: string;
103
+ stretch: string;
104
+ };
105
+
106
+ /**
107
+ * Default align-items utility values matching Tailwind CSS.
108
+ */
109
+ export declare const defaultAlignItemsValues: {
110
+ start: string;
111
+ end: string;
112
+ center: string;
113
+ baseline: string;
114
+ stretch: string;
115
+ };
116
+
117
+ /**
118
+ * Default align-self utility values matching Tailwind CSS.
119
+ */
120
+ export declare const defaultAlignSelfValues: {
121
+ auto: string;
122
+ start: string;
123
+ end: string;
124
+ center: string;
125
+ stretch: string;
126
+ baseline: string;
127
+ };
128
+
129
+ /**
130
+ * Default animation utility values matching Tailwind CSS.
131
+ */
132
+ export declare const defaultAnimationValues: {
133
+ none: string;
134
+ spin: string;
135
+ ping: string;
136
+ pulse: string;
137
+ bounce: string;
138
+ };
139
+
140
+ /**
141
+ * Default appearance utility values matching Tailwind CSS.
142
+ */
143
+ export declare const defaultAppearanceValues: {
144
+ none: string;
145
+ auto: string;
146
+ };
147
+
148
+ /**
149
+ * Default aspect ratio utility values matching Tailwind CSS.
150
+ */
151
+ export declare const defaultAspectRatioValues: {
152
+ auto: string;
153
+ square: string;
154
+ video: string;
155
+ };
156
+
157
+ /**
158
+ * Default backface-visibility utility values matching Tailwind CSS.
159
+ */
160
+ export declare const defaultBackfaceVisibilityValues: {
161
+ visible: string;
162
+ hidden: string;
163
+ };
164
+
165
+ /**
166
+ * Default background-attachment utility values matching Tailwind CSS.
167
+ */
168
+ export declare const defaultBackgroundAttachmentValues: {
169
+ fixed: string;
170
+ local: string;
171
+ scroll: string;
172
+ };
173
+
174
+ /**
175
+ * Default background-blend-mode utility values matching Tailwind CSS.
176
+ */
177
+ export declare const defaultBackgroundBlendModeValues: {
178
+ normal: string;
179
+ multiply: string;
180
+ screen: string;
181
+ overlay: string;
182
+ darken: string;
183
+ lighten: string;
184
+ "color-dodge": string;
185
+ "color-burn": string;
186
+ "hard-light": string;
187
+ "soft-light": string;
188
+ difference: string;
189
+ exclusion: string;
190
+ hue: string;
191
+ saturation: string;
192
+ color: string;
193
+ luminosity: string;
194
+ };
195
+
196
+ /**
197
+ * Default background-clip utility values matching Tailwind CSS.
198
+ */
199
+ export declare const defaultBackgroundClipValues: {
200
+ border: string;
201
+ padding: string;
202
+ content: string;
203
+ text: string;
204
+ };
205
+
206
+ /**
207
+ * Default background-image utility values matching Tailwind CSS.
208
+ */
209
+ export declare const defaultBackgroundImageValues: {
210
+ none: string;
211
+ "gradient-to-t": string;
212
+ "gradient-to-tr": string;
213
+ "gradient-to-r": string;
214
+ "gradient-to-br": string;
215
+ "gradient-to-b": string;
216
+ "gradient-to-bl": string;
217
+ "gradient-to-l": string;
218
+ "gradient-to-tl": string;
219
+ };
220
+
221
+ /**
222
+ * Default background-origin utility values matching Tailwind CSS.
223
+ */
224
+ export declare const defaultBackgroundOriginValues: {
225
+ border: string;
226
+ padding: string;
227
+ content: string;
228
+ };
229
+
230
+ /**
231
+ * Default background-position utility values matching Tailwind CSS.
232
+ */
233
+ export declare const defaultBackgroundPositionValues: {
234
+ bottom: string;
235
+ center: string;
236
+ left: string;
237
+ "left-bottom": string;
238
+ "left-top": string;
239
+ right: string;
240
+ "right-bottom": string;
241
+ "right-top": string;
242
+ top: string;
243
+ };
244
+
245
+ /**
246
+ * Default background-repeat utility values matching Tailwind CSS.
247
+ */
248
+ export declare const defaultBackgroundRepeatValues: {
249
+ repeat: string;
250
+ "no-repeat": string;
251
+ "repeat-x": string;
252
+ "repeat-y": string;
253
+ round: string;
254
+ space: string;
255
+ };
256
+
257
+ /**
258
+ * Default background-size utility values matching Tailwind CSS.
259
+ */
260
+ export declare const defaultBackgroundSizeValues: {
261
+ auto: string;
262
+ cover: string;
263
+ contain: string;
264
+ };
265
+
266
+ /**
267
+ * Default border-collapse utility values matching Tailwind CSS.
268
+ */
269
+ export declare const defaultBorderCollapseValues: {
270
+ collapse: string;
271
+ separate: string;
272
+ };
273
+
274
+ /**
275
+ * Default border-style utility values matching Tailwind CSS.
276
+ */
277
+ export declare const defaultBorderStyleUtilityValues: {
278
+ solid: string;
279
+ dashed: string;
280
+ dotted: string;
281
+ double: string;
282
+ hidden: string;
283
+ none: string;
284
+ };
285
+
51
286
  export declare const defaultBorderStyleValues: {
52
287
  readonly default: "@solid";
53
288
  readonly none: "none";
@@ -68,6 +303,14 @@ export declare const defaultBorderWidthValues: {
68
303
  thick: string;
69
304
  };
70
305
 
306
+ /**
307
+ * Default box-decoration-break utility values matching Tailwind CSS.
308
+ */
309
+ export declare const defaultBoxDecorationBreakValues: {
310
+ clone: string;
311
+ slice: string;
312
+ };
313
+
71
314
  export declare const defaultBoxShadowValues: {
72
315
  default: string;
73
316
  none: string;
@@ -81,6 +324,52 @@ export declare const defaultBoxShadowValues: {
81
324
  ring: string;
82
325
  };
83
326
 
327
+ /**
328
+ * Default box-sizing utility values matching Tailwind CSS.
329
+ */
330
+ export declare const defaultBoxSizingValues: {
331
+ border: string;
332
+ content: string;
333
+ };
334
+
335
+ /**
336
+ * Default break-after utility values matching Tailwind CSS.
337
+ */
338
+ export declare const defaultBreakAfterValues: {
339
+ auto: string;
340
+ avoid: string;
341
+ all: string;
342
+ "avoid-page": string;
343
+ page: string;
344
+ left: string;
345
+ right: string;
346
+ column: string;
347
+ };
348
+
349
+ /**
350
+ * Default break-before utility values matching Tailwind CSS.
351
+ */
352
+ export declare const defaultBreakBeforeValues: {
353
+ auto: string;
354
+ avoid: string;
355
+ all: string;
356
+ "avoid-page": string;
357
+ page: string;
358
+ left: string;
359
+ right: string;
360
+ column: string;
361
+ };
362
+
363
+ /**
364
+ * Default break-inside utility values matching Tailwind CSS.
365
+ */
366
+ export declare const defaultBreakInsideValues: {
367
+ auto: string;
368
+ avoid: string;
369
+ "avoid-page": string;
370
+ "avoid-column": string;
371
+ };
372
+
84
373
  export declare const defaultBreakpointValues: {
85
374
  xs: number;
86
375
  sm: number;
@@ -89,6 +378,26 @@ export declare const defaultBreakpointValues: {
89
378
  xl: number;
90
379
  };
91
380
 
381
+ /**
382
+ * Default caption-side utility values matching Tailwind CSS.
383
+ */
384
+ export declare const defaultCaptionSideValues: {
385
+ top: string;
386
+ bottom: string;
387
+ };
388
+
389
+ /**
390
+ * Default clear utility values matching Tailwind CSS.
391
+ */
392
+ export declare const defaultClearValues: {
393
+ start: string;
394
+ end: string;
395
+ left: string;
396
+ right: string;
397
+ both: string;
398
+ none: string;
399
+ };
400
+
92
401
  export declare const defaultColorLightnessValues: {
93
402
  readonly 50: 5;
94
403
  readonly 100: 10;
@@ -103,6 +412,16 @@ export declare const defaultColorLightnessValues: {
103
412
  readonly 950: 95;
104
413
  };
105
414
 
415
+ /**
416
+ * Default color-scheme utility values matching Tailwind CSS.
417
+ */
418
+ export declare const defaultColorSchemeValues: {
419
+ normal: string;
420
+ light: string;
421
+ dark: string;
422
+ "light-dark": string;
423
+ };
424
+
106
425
  export declare const defaultColorShadeValues: {
107
426
  readonly 50: 5;
108
427
  readonly 100: 10;
@@ -117,6 +436,160 @@ export declare const defaultColorTintValues: {
117
436
  readonly 200: 20;
118
437
  };
119
438
 
439
+ /**
440
+ * Default cursor utility values matching Tailwind CSS.
441
+ */
442
+ export declare const defaultCursorValues: {
443
+ auto: string;
444
+ default: string;
445
+ pointer: string;
446
+ wait: string;
447
+ text: string;
448
+ move: string;
449
+ help: string;
450
+ "not-allowed": string;
451
+ none: string;
452
+ "context-menu": string;
453
+ progress: string;
454
+ cell: string;
455
+ crosshair: string;
456
+ "vertical-text": string;
457
+ alias: string;
458
+ copy: string;
459
+ "no-drop": string;
460
+ grab: string;
461
+ grabbing: string;
462
+ "all-scroll": string;
463
+ "col-resize": string;
464
+ "row-resize": string;
465
+ "n-resize": string;
466
+ "e-resize": string;
467
+ "s-resize": string;
468
+ "w-resize": string;
469
+ "ne-resize": string;
470
+ "nw-resize": string;
471
+ "se-resize": string;
472
+ "sw-resize": string;
473
+ "ew-resize": string;
474
+ "ns-resize": string;
475
+ "nesw-resize": string;
476
+ "nwse-resize": string;
477
+ "zoom-in": string;
478
+ "zoom-out": string;
479
+ };
480
+
481
+ /**
482
+ * Default display utility values matching Tailwind CSS.
483
+ */
484
+ export declare const defaultDisplayValues: {
485
+ block: string;
486
+ "inline-block": string;
487
+ inline: string;
488
+ flex: string;
489
+ "inline-flex": string;
490
+ table: string;
491
+ "inline-table": string;
492
+ "table-caption": string;
493
+ "table-cell": string;
494
+ "table-column": string;
495
+ "table-column-group": string;
496
+ "table-footer-group": string;
497
+ "table-header-group": string;
498
+ "table-row-group": string;
499
+ "table-row": string;
500
+ "flow-root": string;
501
+ grid: string;
502
+ "inline-grid": string;
503
+ contents: string;
504
+ "list-item": string;
505
+ hidden: string;
506
+ };
507
+
508
+ /**
509
+ * Default divide-style utility values matching Tailwind CSS.
510
+ */
511
+ export declare const defaultDivideStyleValues: {
512
+ solid: string;
513
+ dashed: string;
514
+ dotted: string;
515
+ double: string;
516
+ none: string;
517
+ };
518
+
519
+ export declare const defaultEasingValues: {
520
+ readonly linear: "linear";
521
+ readonly ease: "ease";
522
+ readonly "ease-in": "ease-in";
523
+ readonly "ease-out": "ease-out";
524
+ readonly "ease-in-out": "ease-in-out";
525
+ readonly "ease-in-sine": "cubic-bezier(0.47, 0, 0.745, 0.715)";
526
+ readonly "ease-out-sine": "cubic-bezier(0.39, 0.575, 0.565, 1)";
527
+ readonly "ease-in-out-sine": "cubic-bezier(0.445, 0.05, 0.55, 0.95)";
528
+ readonly "ease-in-quad": "cubic-bezier(0.55, 0.085, 0.68, 0.53)";
529
+ readonly "ease-out-quad": "cubic-bezier(0.25, 0.46, 0.45, 0.94)";
530
+ readonly "ease-in-out-quad": "cubic-bezier(0.455, 0.03, 0.515, 0.955)";
531
+ readonly "ease-in-cubic": "cubic-bezier(0.55, 0.055, 0.675, 0.19)";
532
+ readonly "ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)";
533
+ readonly "ease-in-out-cubic": "cubic-bezier(0.645, 0.045, 0.355, 1)";
534
+ readonly "ease-in-quart": "cubic-bezier(0.895, 0.03, 0.685, 0.22)";
535
+ readonly "ease-out-quart": "cubic-bezier(0.165, 0.84, 0.44, 1)";
536
+ readonly "ease-in-out-quart": "cubic-bezier(0.77, 0, 0.175, 1)";
537
+ readonly "ease-in-quint": "cubic-bezier(0.755, 0.05, 0.855, 0.06)";
538
+ readonly "ease-out-quint": "cubic-bezier(0.23, 1, 0.32, 1)";
539
+ readonly "ease-in-out-quint": "cubic-bezier(0.86, 0, 0.07, 1)";
540
+ readonly "ease-in-expo": "cubic-bezier(0.95, 0.05, 0.795, 0.035)";
541
+ readonly "ease-out-expo": "cubic-bezier(0.19, 1, 0.22, 1)";
542
+ readonly "ease-in-out-expo": "cubic-bezier(1, 0, 0, 1)";
543
+ readonly "ease-in-circ": "cubic-bezier(0.6, 0.04, 0.98, 0.335)";
544
+ readonly "ease-out-circ": "cubic-bezier(0.075, 0.82, 0.165, 1)";
545
+ readonly "ease-in-out-circ": "cubic-bezier(0.785, 0.135, 0.15, 0.86)";
546
+ readonly "ease-in-back": "cubic-bezier(0.6, -0.28, 0.735, 0.045)";
547
+ readonly "ease-out-back": "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
548
+ readonly "ease-in-out-back": "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
549
+ readonly spring: "linear(0, 0.0018, 0.0069 1.15%, 0.026 2.3%, 0.0637, 0.1135 5.18%, 0.2229 7.78%, 0.5977 15.84%, 0.7014, 0.7904, 0.8641, 0.9228, 0.9676 28.8%, 1.0032 31.68%, 1.0225, 1.0352 36.29%, 1.0431 38.88%, 1.046 42.05%, 1.0448 44.35%, 1.0407 47.23%, 1.0118 61.63%, 1.0025 69.41%, 0.9981 80.35%, 0.9992 99.94%)";
550
+ readonly bounce: "linear(0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141 13.6%, 0.25, 0.391, 0.563, 0.765, 1, 0.891 40.9%, 0.848, 0.813, 0.785, 0.766, 0.754, 0.75, 0.754, 0.766, 0.785, 0.813, 0.848, 0.891 68.2%, 1 72.7%, 0.973, 0.953, 0.941, 0.938, 0.941, 0.953, 0.973, 1, 0.988, 0.984, 0.988, 1)";
551
+ };
552
+
553
+ /**
554
+ * Default flex-direction utility values matching Tailwind CSS.
555
+ */
556
+ export declare const defaultFlexDirectionValues: {
557
+ row: string;
558
+ "row-reverse": string;
559
+ col: string;
560
+ "col-reverse": string;
561
+ };
562
+
563
+ /**
564
+ * Default flex utility values matching Tailwind CSS.
565
+ */
566
+ export declare const defaultFlexValues: {
567
+ "1": string;
568
+ auto: string;
569
+ initial: string;
570
+ none: string;
571
+ };
572
+
573
+ /**
574
+ * Default flex-wrap utility values matching Tailwind CSS.
575
+ */
576
+ export declare const defaultFlexWrapValues: {
577
+ wrap: string;
578
+ "wrap-reverse": string;
579
+ nowrap: string;
580
+ };
581
+
582
+ /**
583
+ * Default float utility values matching Tailwind CSS.
584
+ */
585
+ export declare const defaultFloatValues: {
586
+ start: string;
587
+ end: string;
588
+ right: string;
589
+ left: string;
590
+ none: string;
591
+ };
592
+
120
593
  export declare const defaultFontFamilyValues: {
121
594
  default: string;
122
595
  base: string;
@@ -128,6 +601,67 @@ export declare const defaultFontSizeValues: {
128
601
  default: string;
129
602
  };
130
603
 
604
+ /**
605
+ * Default font-smoothing utility values matching Tailwind CSS.
606
+ */
607
+ export declare const defaultFontSmoothingValues: {
608
+ antialiased: string;
609
+ "subpixel-antialiased": string;
610
+ };
611
+
612
+ /**
613
+ * Default font-stretch utility values matching Tailwind CSS.
614
+ */
615
+ export declare const defaultFontStretchValues: {
616
+ "ultra-condensed": string;
617
+ "extra-condensed": string;
618
+ condensed: string;
619
+ "semi-condensed": string;
620
+ normal: string;
621
+ "semi-expanded": string;
622
+ expanded: string;
623
+ "extra-expanded": string;
624
+ "ultra-expanded": string;
625
+ };
626
+
627
+ /**
628
+ * Default font-style utility values matching Tailwind CSS.
629
+ */
630
+ export declare const defaultFontStyleValues: {
631
+ italic: string;
632
+ "not-italic": string;
633
+ };
634
+
635
+ /**
636
+ * Default font-variant-numeric utility values matching Tailwind CSS.
637
+ */
638
+ export declare const defaultFontVariantNumericValues: {
639
+ "normal-nums": string;
640
+ ordinal: string;
641
+ "slashed-zero": string;
642
+ "lining-nums": string;
643
+ "oldstyle-nums": string;
644
+ "proportional-nums": string;
645
+ "tabular-nums": string;
646
+ "diagonal-fractions": string;
647
+ "stacked-fractions": string;
648
+ };
649
+
650
+ /**
651
+ * Default font-weight utility values matching Tailwind CSS.
652
+ */
653
+ export declare const defaultFontWeightUtilityValues: {
654
+ thin: string;
655
+ extralight: string;
656
+ light: string;
657
+ normal: string;
658
+ medium: string;
659
+ semibold: string;
660
+ bold: string;
661
+ extrabold: string;
662
+ black: string;
663
+ };
664
+
131
665
  export declare const defaultFontWeightValues: {
132
666
  default: string;
133
667
  extralight: number;
@@ -142,6 +676,77 @@ export declare const defaultFontWeightValues: {
142
676
  inherit: string;
143
677
  };
144
678
 
679
+ /**
680
+ * Default forced-color-adjust utility values matching Tailwind CSS.
681
+ */
682
+ export declare const defaultForcedColorAdjustValues: {
683
+ auto: string;
684
+ none: string;
685
+ };
686
+
687
+ /**
688
+ * Default grid-auto-flow utility values matching Tailwind CSS.
689
+ */
690
+ export declare const defaultGridAutoFlowValues: {
691
+ row: string;
692
+ col: string;
693
+ dense: string;
694
+ "row-dense": string;
695
+ "col-dense": string;
696
+ };
697
+
698
+ /**
699
+ * Default hyphens utility values matching Tailwind CSS.
700
+ */
701
+ export declare const defaultHyphensValues: {
702
+ none: string;
703
+ manual: string;
704
+ auto: string;
705
+ };
706
+
707
+ /**
708
+ * Default isolation utility values matching Tailwind CSS.
709
+ */
710
+ export declare const defaultIsolationValues: {
711
+ isolate: string;
712
+ auto: string;
713
+ };
714
+
715
+ /**
716
+ * Default justify-content utility values matching Tailwind CSS.
717
+ */
718
+ export declare const defaultJustifyContentValues: {
719
+ normal: string;
720
+ start: string;
721
+ end: string;
722
+ center: string;
723
+ between: string;
724
+ around: string;
725
+ evenly: string;
726
+ stretch: string;
727
+ };
728
+
729
+ /**
730
+ * Default justify-items utility values matching Tailwind CSS.
731
+ */
732
+ export declare const defaultJustifyItemsValues: {
733
+ start: string;
734
+ end: string;
735
+ center: string;
736
+ stretch: string;
737
+ };
738
+
739
+ /**
740
+ * Default justify-self utility values matching Tailwind CSS.
741
+ */
742
+ export declare const defaultJustifySelfValues: {
743
+ auto: string;
744
+ start: string;
745
+ end: string;
746
+ center: string;
747
+ stretch: string;
748
+ };
749
+
145
750
  export declare const defaultLetterSpacingValues: {
146
751
  default: string;
147
752
  tighter: string;
@@ -160,613 +765,3792 @@ export declare const defaultLineHeightValues: {
160
765
  loose: number;
161
766
  };
162
767
 
163
- export declare const defaultScalePowerValues: readonly number[];
768
+ /**
769
+ * Default list-style-position utility values matching Tailwind CSS.
770
+ */
771
+ export declare const defaultListStylePositionValues: {
772
+ inside: string;
773
+ outside: string;
774
+ };
164
775
 
165
- export declare const defaultScaleValues: {
166
- readonly default: "@minor-third";
167
- readonly "minor-second": 1.067;
168
- readonly "major-second": 1.125;
169
- readonly "minor-third": 1.2;
170
- readonly "major-third": 1.25;
171
- readonly "perfect-fourth": 1.333;
172
- readonly "augmented-fourth": 1.414;
173
- readonly "perfect-fifth": 1.5;
174
- readonly golden: 1.618;
776
+ /**
777
+ * Default list-style-type utility values matching Tailwind CSS.
778
+ */
779
+ export declare const defaultListStyleTypeValues: {
780
+ none: string;
781
+ disc: string;
782
+ decimal: string;
175
783
  };
176
784
 
177
785
  /**
178
- * Generic type that transforms keys to their export names with a given prefix
179
- *
180
- * @example
181
- * ExportKeys<"example-property", { "default": "...", "variant": "..." }> -> {
182
- * "exampleProperty": Variable<'example-property'>,
183
- * "examplePropertyVariant": Variable<'example-property--variant'>,
184
- * }
786
+ * Default mix-blend-mode utility values matching Tailwind CSS.
185
787
  */
186
- export declare type ExportKeys<Prefix extends string, T extends Record<string, unknown>, Separator extends string = "--"> = {
187
- [K in keyof T as CamelCase<ExportKeyVariableName<Prefix, K, Separator>>]: Variable<ExportKeyVariableName<Prefix, K, Separator>>;
788
+ export declare const defaultMixBlendModeValues: {
789
+ normal: string;
790
+ multiply: string;
791
+ screen: string;
792
+ overlay: string;
793
+ darken: string;
794
+ lighten: string;
795
+ "color-dodge": string;
796
+ "color-burn": string;
797
+ "hard-light": string;
798
+ "soft-light": string;
799
+ difference: string;
800
+ exclusion: string;
801
+ hue: string;
802
+ saturation: string;
803
+ color: string;
804
+ luminosity: string;
805
+ "plus-darker": string;
806
+ "plus-lighter": string;
188
807
  };
189
808
 
190
809
  /**
191
- * Helper type to compute the variable name for a given prefix and key
810
+ * Default object-fit utility values matching Tailwind CSS.
192
811
  */
193
- declare type ExportKeyVariableName<Prefix extends string, K, Separator extends string = "--"> = K extends "default" ? Prefix : `${Prefix}${Separator}${K & (string | number)}`;
812
+ export declare const defaultObjectFitValues: {
813
+ contain: string;
814
+ cover: string;
815
+ fill: string;
816
+ none: string;
817
+ "scale-down": string;
818
+ };
194
819
 
195
- export declare function isKeyReferenceValue(value: unknown): value is `@${string}`;
820
+ /**
821
+ * Default object-position utility values matching Tailwind CSS.
822
+ */
823
+ export declare const defaultObjectPositionValues: {
824
+ bottom: string;
825
+ center: string;
826
+ left: string;
827
+ "left-bottom": string;
828
+ "left-top": string;
829
+ right: string;
830
+ "right-bottom": string;
831
+ "right-top": string;
832
+ top: string;
833
+ };
196
834
 
197
835
  /**
198
- * Create a set of border-color variables for use in a Styleframe instance.
199
- *
200
- * @usage
201
- * ```typescript
202
- * import { styleframe } from "styleframe";
203
- * import { useBorderColor, useColor } from "styleframe/theme";
204
- *
205
- * const s = styleframe();
206
- *
207
- * const { colorPrimary, colorSecondary } = useColor(s, {
208
- * primary: "#007bff",
836
+ * Default outline-style utility values matching Tailwind CSS.
837
+ */
838
+ export declare const defaultOutlineStyleValues: {
839
+ none: string;
840
+ solid: string;
841
+ dashed: string;
842
+ dotted: string;
843
+ double: string;
844
+ };
845
+
846
+ /**
847
+ * Default overflow utility values matching Tailwind CSS.
848
+ */
849
+ export declare const defaultOverflowValues: {
850
+ auto: string;
851
+ hidden: string;
852
+ clip: string;
853
+ visible: string;
854
+ scroll: string;
855
+ };
856
+
857
+ /**
858
+ * Default overflow-wrap utility values matching Tailwind CSS.
859
+ */
860
+ export declare const defaultOverflowWrapValues: {
861
+ normal: string;
862
+ "break-word": string;
863
+ anywhere: string;
864
+ };
865
+
866
+ /**
867
+ * Default overscroll-behavior utility values matching Tailwind CSS.
868
+ */
869
+ export declare const defaultOverscrollValues: {
870
+ auto: string;
871
+ contain: string;
872
+ none: string;
873
+ };
874
+
875
+ /**
876
+ * Default perspective-origin utility values matching Tailwind CSS.
877
+ */
878
+ export declare const defaultPerspectiveOriginValues: {
879
+ center: string;
880
+ top: string;
881
+ "top-right": string;
882
+ right: string;
883
+ "bottom-right": string;
884
+ bottom: string;
885
+ "bottom-left": string;
886
+ left: string;
887
+ "top-left": string;
888
+ };
889
+
890
+ /**
891
+ * Default place-content utility values matching Tailwind CSS.
892
+ */
893
+ export declare const defaultPlaceContentValues: {
894
+ center: string;
895
+ start: string;
896
+ end: string;
897
+ between: string;
898
+ around: string;
899
+ evenly: string;
900
+ baseline: string;
901
+ stretch: string;
902
+ };
903
+
904
+ /**
905
+ * Default place-items utility values matching Tailwind CSS.
906
+ */
907
+ export declare const defaultPlaceItemsValues: {
908
+ start: string;
909
+ end: string;
910
+ center: string;
911
+ baseline: string;
912
+ stretch: string;
913
+ };
914
+
915
+ /**
916
+ * Default place-self utility values matching Tailwind CSS.
917
+ */
918
+ export declare const defaultPlaceSelfValues: {
919
+ auto: string;
920
+ start: string;
921
+ end: string;
922
+ center: string;
923
+ stretch: string;
924
+ };
925
+
926
+ /**
927
+ * Default pointer-events utility values matching Tailwind CSS.
928
+ */
929
+ export declare const defaultPointerEventsValues: {
930
+ none: string;
931
+ auto: string;
932
+ };
933
+
934
+ /**
935
+ * Default position utility values matching Tailwind CSS.
936
+ */
937
+ export declare const defaultPositionValues: {
938
+ static: string;
939
+ fixed: string;
940
+ absolute: string;
941
+ relative: string;
942
+ sticky: string;
943
+ };
944
+
945
+ /**
946
+ * Default resize utility values matching Tailwind CSS.
947
+ */
948
+ export declare const defaultResizeValues: {
949
+ none: string;
950
+ y: string;
951
+ x: string;
952
+ both: string;
953
+ };
954
+
955
+ export declare const defaultScalePowerValues: readonly number[];
956
+
957
+ export declare const defaultScaleValues: {
958
+ readonly default: "@minor-third";
959
+ readonly "minor-second": 1.067;
960
+ readonly "major-second": 1.125;
961
+ readonly "minor-third": 1.2;
962
+ readonly "major-third": 1.25;
963
+ readonly "perfect-fourth": 1.333;
964
+ readonly "augmented-fourth": 1.414;
965
+ readonly "perfect-fifth": 1.5;
966
+ readonly golden: 1.618;
967
+ };
968
+
969
+ /**
970
+ * Default scroll-behavior utility values matching Tailwind CSS.
971
+ */
972
+ export declare const defaultScrollBehaviorValues: {
973
+ auto: string;
974
+ smooth: string;
975
+ };
976
+
977
+ /**
978
+ * Default scroll-snap-align utility values matching Tailwind CSS.
979
+ */
980
+ export declare const defaultScrollSnapAlignValues: {
981
+ start: string;
982
+ end: string;
983
+ center: string;
984
+ "align-none": string;
985
+ };
986
+
987
+ /**
988
+ * Default scroll-snap-stop utility values matching Tailwind CSS.
989
+ */
990
+ export declare const defaultScrollSnapStopValues: {
991
+ normal: string;
992
+ always: string;
993
+ };
994
+
995
+ /**
996
+ * Default scroll-snap-type utility values matching Tailwind CSS.
997
+ */
998
+ export declare const defaultScrollSnapTypeValues: {
999
+ none: string;
1000
+ x: string;
1001
+ y: string;
1002
+ both: string;
1003
+ mandatory: string;
1004
+ proximity: string;
1005
+ };
1006
+
1007
+ /**
1008
+ * Default table-layout utility values matching Tailwind CSS.
1009
+ */
1010
+ export declare const defaultTableLayoutValues: {
1011
+ auto: string;
1012
+ fixed: string;
1013
+ };
1014
+
1015
+ /**
1016
+ * Default text-align utility values matching Tailwind CSS.
1017
+ */
1018
+ export declare const defaultTextAlignValues: {
1019
+ left: string;
1020
+ center: string;
1021
+ right: string;
1022
+ justify: string;
1023
+ start: string;
1024
+ end: string;
1025
+ };
1026
+
1027
+ /**
1028
+ * Default text-decoration-line utility values matching Tailwind CSS.
1029
+ */
1030
+ export declare const defaultTextDecorationLineValues: {
1031
+ underline: string;
1032
+ overline: string;
1033
+ "line-through": string;
1034
+ "no-underline": string;
1035
+ };
1036
+
1037
+ /**
1038
+ * Default text-decoration-style utility values matching Tailwind CSS.
1039
+ */
1040
+ export declare const defaultTextDecorationStyleValues: {
1041
+ solid: string;
1042
+ double: string;
1043
+ dotted: string;
1044
+ dashed: string;
1045
+ wavy: string;
1046
+ };
1047
+
1048
+ /**
1049
+ * Default text-overflow utility values matching Tailwind CSS.
1050
+ */
1051
+ export declare const defaultTextOverflowValues: {
1052
+ truncate: string;
1053
+ "text-ellipsis": string;
1054
+ "text-clip": string;
1055
+ };
1056
+
1057
+ /**
1058
+ * Default text-transform utility values matching Tailwind CSS.
1059
+ */
1060
+ export declare const defaultTextTransformValues: {
1061
+ uppercase: string;
1062
+ lowercase: string;
1063
+ capitalize: string;
1064
+ "normal-case": string;
1065
+ };
1066
+
1067
+ /**
1068
+ * Default text-wrap utility values matching Tailwind CSS.
1069
+ */
1070
+ export declare const defaultTextWrapValues: {
1071
+ wrap: string;
1072
+ nowrap: string;
1073
+ balance: string;
1074
+ pretty: string;
1075
+ };
1076
+
1077
+ /**
1078
+ * Default touch-action utility values matching Tailwind CSS.
1079
+ */
1080
+ export declare const defaultTouchActionValues: {
1081
+ auto: string;
1082
+ none: string;
1083
+ "pan-x": string;
1084
+ "pan-left": string;
1085
+ "pan-right": string;
1086
+ "pan-y": string;
1087
+ "pan-up": string;
1088
+ "pan-down": string;
1089
+ "pinch-zoom": string;
1090
+ manipulation: string;
1091
+ };
1092
+
1093
+ /**
1094
+ * Default transform-origin utility values matching Tailwind CSS.
1095
+ */
1096
+ export declare const defaultTransformOriginValues: {
1097
+ center: string;
1098
+ top: string;
1099
+ "top-right": string;
1100
+ right: string;
1101
+ "bottom-right": string;
1102
+ bottom: string;
1103
+ "bottom-left": string;
1104
+ left: string;
1105
+ "top-left": string;
1106
+ };
1107
+
1108
+ /**
1109
+ * Default transform-style utility values matching Tailwind CSS.
1110
+ */
1111
+ export declare const defaultTransformStyleValues: {
1112
+ flat: string;
1113
+ "3d": string;
1114
+ };
1115
+
1116
+ /**
1117
+ * Default transition-behavior utility values matching Tailwind CSS.
1118
+ */
1119
+ export declare const defaultTransitionBehaviorValues: {
1120
+ normal: string;
1121
+ "allow-discrete": string;
1122
+ };
1123
+
1124
+ /**
1125
+ * Default transition-property utility values matching Tailwind CSS.
1126
+ */
1127
+ export declare const defaultTransitionPropertyValues: {
1128
+ none: string;
1129
+ all: string;
1130
+ default: string;
1131
+ colors: string;
1132
+ opacity: string;
1133
+ shadow: string;
1134
+ transform: string;
1135
+ };
1136
+
1137
+ /**
1138
+ * Default user-select utility values matching Tailwind CSS.
1139
+ */
1140
+ export declare const defaultUserSelectValues: {
1141
+ none: string;
1142
+ text: string;
1143
+ all: string;
1144
+ auto: string;
1145
+ };
1146
+
1147
+ /**
1148
+ * Default vertical-align utility values matching Tailwind CSS.
1149
+ */
1150
+ export declare const defaultVerticalAlignValues: {
1151
+ baseline: string;
1152
+ top: string;
1153
+ middle: string;
1154
+ bottom: string;
1155
+ "text-top": string;
1156
+ "text-bottom": string;
1157
+ sub: string;
1158
+ super: string;
1159
+ };
1160
+
1161
+ /**
1162
+ * Default visibility utility values matching Tailwind CSS.
1163
+ */
1164
+ export declare const defaultVisibilityValues: {
1165
+ visible: string;
1166
+ invisible: string;
1167
+ collapse: string;
1168
+ };
1169
+
1170
+ /**
1171
+ * Default white-space utility values matching Tailwind CSS.
1172
+ */
1173
+ export declare const defaultWhitespaceValues: {
1174
+ normal: string;
1175
+ nowrap: string;
1176
+ pre: string;
1177
+ "pre-line": string;
1178
+ "pre-wrap": string;
1179
+ "break-spaces": string;
1180
+ };
1181
+
1182
+ /**
1183
+ * Default will-change utility values matching Tailwind CSS.
1184
+ */
1185
+ export declare const defaultWillChangeValues: {
1186
+ auto: string;
1187
+ scroll: string;
1188
+ contents: string;
1189
+ transform: string;
1190
+ };
1191
+
1192
+ /**
1193
+ * Default word-break utility values matching Tailwind CSS.
1194
+ */
1195
+ export declare const defaultWordBreakValues: {
1196
+ normal: string;
1197
+ words: string;
1198
+ all: string;
1199
+ keep: string;
1200
+ };
1201
+
1202
+ /**
1203
+ * Generic type that transforms keys to their export names with a given prefix
1204
+ *
1205
+ * @example
1206
+ * ExportKeys<"example-property", { "default": "...", "variant": "..." }> -> {
1207
+ * "exampleProperty": Variable<'example-property'>,
1208
+ * "examplePropertyVariant": Variable<'example-property.variant'>,
1209
+ * }
1210
+ */
1211
+ export declare type ExportKeys<Prefix extends string, T extends Record<string, unknown>, Separator extends string = "."> = {
1212
+ [K in keyof T as CamelCase<ExportKeyVariableName<Prefix, K, Separator>>]: Variable<ExportKeyVariableName<Prefix, K, Separator>>;
1213
+ };
1214
+
1215
+ /**
1216
+ * Helper type to compute the variable name for a given prefix and key
1217
+ */
1218
+ declare type ExportKeyVariableName<Prefix extends string, K, Separator extends string = "."> = K extends "default" ? Prefix : `${Prefix}${Separator}${K & (string | number)}`;
1219
+
1220
+ export declare function isKeyReferenceValue(value: unknown): value is `@${string}`;
1221
+
1222
+ /**
1223
+ * Create accent-color utility classes.
1224
+ */
1225
+ export declare const useAccentColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1226
+
1227
+ /**
1228
+ * Create align-content utility classes.
1229
+ */
1230
+ export declare const useAlignContentUtility: <T extends Record<string, TokenValue> = {
1231
+ normal: string;
1232
+ center: string;
1233
+ start: string;
1234
+ end: string;
1235
+ between: string;
1236
+ around: string;
1237
+ evenly: string;
1238
+ baseline: string;
1239
+ stretch: string;
1240
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1241
+
1242
+ /**
1243
+ * Create align-items utility classes.
1244
+ */
1245
+ export declare const useAlignItemsUtility: <T extends Record<string, TokenValue> = {
1246
+ start: string;
1247
+ end: string;
1248
+ center: string;
1249
+ baseline: string;
1250
+ stretch: string;
1251
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1252
+
1253
+ /**
1254
+ * Create align-self utility classes.
1255
+ */
1256
+ export declare const useAlignSelfUtility: <T extends Record<string, TokenValue> = {
1257
+ auto: string;
1258
+ start: string;
1259
+ end: string;
1260
+ center: string;
1261
+ stretch: string;
1262
+ baseline: string;
1263
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1264
+
1265
+ /**
1266
+ * Create animation utility classes.
1267
+ *
1268
+ * @example
1269
+ * ```typescript
1270
+ * const s = styleframe();
1271
+ * useAnimationUtility(s);
1272
+ * // Uses defaults: ._animate:none, ._animate:spin, etc.
1273
+ * ```
1274
+ */
1275
+ export declare const useAnimationUtility: <T extends Record<string, TokenValue> = {
1276
+ none: string;
1277
+ spin: string;
1278
+ ping: string;
1279
+ pulse: string;
1280
+ bounce: string;
1281
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1282
+
1283
+ /**
1284
+ * Create appearance utility classes.
1285
+ */
1286
+ export declare const useAppearanceUtility: <T extends Record<string, TokenValue> = {
1287
+ none: string;
1288
+ auto: string;
1289
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1290
+
1291
+ /**
1292
+ * Create aspect-ratio utility classes.
1293
+ *
1294
+ * @example
1295
+ * ```typescript
1296
+ * const s = styleframe();
1297
+ * useAspectRatioUtility(s, { square: '1 / 1', video: '16 / 9', '4/3': '4 / 3' });
1298
+ * ```
1299
+ */
1300
+ export declare const useAspectRatioUtility: <T extends Record<string, TokenValue> = {
1301
+ auto: string;
1302
+ square: string;
1303
+ video: string;
1304
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1305
+
1306
+ /**
1307
+ * Create backdrop-blur utility classes.
1308
+ */
1309
+ export declare const useBackdropBlurUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1310
+
1311
+ /**
1312
+ * Create backdrop-brightness utility classes.
1313
+ */
1314
+ export declare const useBackdropBrightnessUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1315
+
1316
+ /**
1317
+ * Create backdrop-contrast utility classes.
1318
+ */
1319
+ export declare const useBackdropContrastUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1320
+
1321
+ /**
1322
+ * Create backdrop-grayscale utility classes.
1323
+ */
1324
+ export declare const useBackdropGrayscaleUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1325
+
1326
+ /**
1327
+ * Create backdrop-hue-rotate utility classes.
1328
+ */
1329
+ export declare const useBackdropHueRotateUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1330
+
1331
+ /**
1332
+ * Create backdrop-invert utility classes.
1333
+ */
1334
+ export declare const useBackdropInvertUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1335
+
1336
+ /**
1337
+ * Create backdrop-opacity utility classes.
1338
+ */
1339
+ export declare const useBackdropOpacityUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1340
+
1341
+ /**
1342
+ * Create backdrop-saturate utility classes.
1343
+ */
1344
+ export declare const useBackdropSaturateUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1345
+
1346
+ /**
1347
+ * Create backdrop-sepia utility classes.
1348
+ */
1349
+ export declare const useBackdropSepiaUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1350
+
1351
+ /**
1352
+ * Create backface-visibility utility classes.
1353
+ */
1354
+ export declare const useBackfaceVisibilityUtility: <T extends Record<string, TokenValue> = {
1355
+ visible: string;
1356
+ hidden: string;
1357
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1358
+
1359
+ /**
1360
+ * Create background-attachment utility classes.
1361
+ */
1362
+ export declare const useBackgroundAttachmentUtility: <T extends Record<string, TokenValue> = {
1363
+ fixed: string;
1364
+ local: string;
1365
+ scroll: string;
1366
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1367
+
1368
+ /**
1369
+ * Create background-blend-mode utility classes.
1370
+ */
1371
+ export declare const useBackgroundBlendModeUtility: <T extends Record<string, TokenValue> = {
1372
+ normal: string;
1373
+ multiply: string;
1374
+ screen: string;
1375
+ overlay: string;
1376
+ darken: string;
1377
+ lighten: string;
1378
+ "color-dodge": string;
1379
+ "color-burn": string;
1380
+ "hard-light": string;
1381
+ "soft-light": string;
1382
+ difference: string;
1383
+ exclusion: string;
1384
+ hue: string;
1385
+ saturation: string;
1386
+ color: string;
1387
+ luminosity: string;
1388
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1389
+
1390
+ /**
1391
+ * Create background-clip utility classes.
1392
+ */
1393
+ export declare const useBackgroundClipUtility: <T extends Record<string, TokenValue> = {
1394
+ border: string;
1395
+ padding: string;
1396
+ content: string;
1397
+ text: string;
1398
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1399
+
1400
+ /**
1401
+ * Create background-color utility classes.
1402
+ *
1403
+ * @example
1404
+ * ```typescript
1405
+ * const s = styleframe();
1406
+ * useBackgroundColorUtility(s, {
1407
+ * inherit: 'inherit',
1408
+ * current: 'currentColor',
1409
+ * transparent: 'transparent',
1410
+ * black: '#000',
1411
+ * white: '#fff',
1412
+ * });
1413
+ * ```
1414
+ */
1415
+ export declare const useBackgroundColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1416
+
1417
+ /**
1418
+ * Create background-image utility classes.
1419
+ */
1420
+ export declare const useBackgroundImageUtility: <T extends Record<string, TokenValue> = {
1421
+ none: string;
1422
+ "gradient-to-t": string;
1423
+ "gradient-to-tr": string;
1424
+ "gradient-to-r": string;
1425
+ "gradient-to-br": string;
1426
+ "gradient-to-b": string;
1427
+ "gradient-to-bl": string;
1428
+ "gradient-to-l": string;
1429
+ "gradient-to-tl": string;
1430
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1431
+
1432
+ /**
1433
+ * Create background-origin utility classes.
1434
+ */
1435
+ export declare const useBackgroundOriginUtility: <T extends Record<string, TokenValue> = {
1436
+ border: string;
1437
+ padding: string;
1438
+ content: string;
1439
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1440
+
1441
+ /**
1442
+ * Create background-position utility classes.
1443
+ */
1444
+ export declare const useBackgroundPositionUtility: <T extends Record<string, TokenValue> = {
1445
+ bottom: string;
1446
+ center: string;
1447
+ left: string;
1448
+ "left-bottom": string;
1449
+ "left-top": string;
1450
+ right: string;
1451
+ "right-bottom": string;
1452
+ "right-top": string;
1453
+ top: string;
1454
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1455
+
1456
+ /**
1457
+ * Create background-repeat utility classes.
1458
+ */
1459
+ export declare const useBackgroundRepeatUtility: <T extends Record<string, TokenValue> = {
1460
+ repeat: string;
1461
+ "no-repeat": string;
1462
+ "repeat-x": string;
1463
+ "repeat-y": string;
1464
+ round: string;
1465
+ space: string;
1466
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1467
+
1468
+ /**
1469
+ * Create background-size utility classes.
1470
+ */
1471
+ export declare const useBackgroundSizeUtility: <T extends Record<string, TokenValue> = {
1472
+ auto: string;
1473
+ cover: string;
1474
+ contain: string;
1475
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1476
+
1477
+ /**
1478
+ * Create blur utility classes.
1479
+ *
1480
+ * @example
1481
+ * ```typescript
1482
+ * const s = styleframe();
1483
+ * useBlurUtility(s, {
1484
+ * none: '0',
1485
+ * sm: '4px',
1486
+ * default: '8px',
1487
+ * md: '12px',
1488
+ * lg: '16px',
1489
+ * xl: '24px',
1490
+ * '2xl': '40px',
1491
+ * '3xl': '64px',
1492
+ * });
1493
+ * ```
1494
+ */
1495
+ export declare const useBlurUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1496
+
1497
+ /**
1498
+ * Create border-collapse utility classes.
1499
+ */
1500
+ export declare const useBorderCollapseUtility: <T extends Record<string, TokenValue> = {
1501
+ collapse: string;
1502
+ separate: string;
1503
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1504
+
1505
+ /**
1506
+ * Create a set of border-color variables for use in a Styleframe instance.
1507
+ *
1508
+ * @usage
1509
+ * ```typescript
1510
+ * import { styleframe } from "styleframe";
1511
+ * import { useBorderColor, useColor } from "styleframe/theme";
1512
+ *
1513
+ * const s = styleframe();
1514
+ *
1515
+ * const { colorPrimary, colorSecondary } = useColor(s, {
1516
+ * primary: "#007bff",
1517
+ * secondary: "#6c757d",
1518
+ * });
1519
+ *
1520
+ * const {
1521
+ * borderColorPrimary, // Variable<'border-color.primary'>
1522
+ * borderColorSecondary, // Variable<'border-color.secondary'>
1523
+ * } = useBorderColor(s, {
1524
+ * primary: ref(colorPrimary),
1525
+ * secondary: ref(colorSecondary),
1526
+ * });
1527
+ * ```
1528
+ */
1529
+ export declare const useBorderColor: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-color", T, ".">;
1530
+
1531
+ /**
1532
+ * Create border-bottom-color utility classes.
1533
+ */
1534
+ export declare const useBorderColorBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1535
+
1536
+ /**
1537
+ * Create border-inline-end-color utility classes.
1538
+ */
1539
+ export declare const useBorderColorEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1540
+
1541
+ /**
1542
+ * Create border-left-color utility classes.
1543
+ */
1544
+ export declare const useBorderColorLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1545
+
1546
+ /**
1547
+ * Create border-right-color utility classes.
1548
+ */
1549
+ export declare const useBorderColorRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1550
+
1551
+ /**
1552
+ * Create border-inline-start-color utility classes.
1553
+ */
1554
+ export declare const useBorderColorStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1555
+
1556
+ /**
1557
+ * Create border-top-color utility classes.
1558
+ */
1559
+ export declare const useBorderColorTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1560
+
1561
+ /**
1562
+ * Create border-color utility classes.
1563
+ *
1564
+ * @example
1565
+ * ```typescript
1566
+ * const s = styleframe();
1567
+ * useBorderColorUtility(s, {
1568
+ * inherit: 'inherit',
1569
+ * current: 'currentColor',
1570
+ * transparent: 'transparent',
1571
+ * black: '#000',
1572
+ * white: '#fff',
1573
+ * });
1574
+ * ```
1575
+ */
1576
+ export declare const useBorderColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1577
+
1578
+ /**
1579
+ * Create border-x-color utility classes.
1580
+ */
1581
+ export declare const useBorderColorXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1582
+
1583
+ /**
1584
+ * Create border-y-color utility classes.
1585
+ */
1586
+ export declare const useBorderColorYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1587
+
1588
+ /**
1589
+ * Create a set of border-radius variables for use in a Styleframe instance.
1590
+ *
1591
+ * @usage
1592
+ * ```typescript
1593
+ * import { styleframe } from "styleframe";
1594
+ * import { useBorderRadius } from "styleframe/theme";
1595
+ *
1596
+ * const s = styleframe();
1597
+ *
1598
+ * const {
1599
+ * borderRadius, // Variable<'border-radius'>
1600
+ * borderRadiusSm, // Variable<'border-radius.sm'>
1601
+ * borderRadiusMd, // Variable<'border-radius.md'>
1602
+ * borderRadiusLg, // Variable<'border-radius.lg'>
1603
+ * } = useBorderRadius(s, {
1604
+ * default: "0.25rem",
1605
+ * sm: "0.125rem",
1606
+ * md: "0.25rem",
1607
+ * lg: "0.5rem",
1608
+ * });
1609
+ * ```
1610
+ */
1611
+ export declare const useBorderRadius: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-radius", T, ".">;
1612
+
1613
+ /**
1614
+ * Create border-bottom-left-radius utility classes.
1615
+ */
1616
+ export declare const useBorderRadiusBottomLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1617
+
1618
+ /**
1619
+ * Create border-bottom-right-radius utility classes.
1620
+ */
1621
+ export declare const useBorderRadiusBottomRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1622
+
1623
+ /**
1624
+ * Create border-radius-bottom utility classes.
1625
+ */
1626
+ export declare const useBorderRadiusBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1627
+
1628
+ /**
1629
+ * Create border-end-end-radius utility classes.
1630
+ */
1631
+ export declare const useBorderRadiusEndEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1632
+
1633
+ /**
1634
+ * Create border-end-start-radius utility classes.
1635
+ */
1636
+ export declare const useBorderRadiusEndStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1637
+
1638
+ /**
1639
+ * Create border-radius-end utility classes (logical property).
1640
+ */
1641
+ export declare const useBorderRadiusEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1642
+
1643
+ /**
1644
+ * Create border-radius-left utility classes.
1645
+ */
1646
+ export declare const useBorderRadiusLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1647
+
1648
+ /**
1649
+ * Create border-radius-right utility classes.
1650
+ */
1651
+ export declare const useBorderRadiusRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1652
+
1653
+ /**
1654
+ * Create border-start-end-radius utility classes.
1655
+ */
1656
+ export declare const useBorderRadiusStartEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1657
+
1658
+ /**
1659
+ * Create border-start-start-radius utility classes.
1660
+ */
1661
+ export declare const useBorderRadiusStartStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1662
+
1663
+ /**
1664
+ * Create border-radius-start utility classes (logical property).
1665
+ */
1666
+ export declare const useBorderRadiusStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1667
+
1668
+ /**
1669
+ * Create border-top-left-radius utility classes.
1670
+ */
1671
+ export declare const useBorderRadiusTopLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1672
+
1673
+ /**
1674
+ * Create border-top-right-radius utility classes.
1675
+ */
1676
+ export declare const useBorderRadiusTopRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1677
+
1678
+ /**
1679
+ * Create border-radius-top utility classes.
1680
+ */
1681
+ export declare const useBorderRadiusTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1682
+
1683
+ /**
1684
+ * Create border-radius utility classes.
1685
+ *
1686
+ * @example
1687
+ * ```typescript
1688
+ * const s = styleframe();
1689
+ * useBorderRadiusUtility(s, {
1690
+ * none: '0px',
1691
+ * sm: '0.125rem',
1692
+ * default: '0.25rem',
1693
+ * md: '0.375rem',
1694
+ * lg: '0.5rem',
1695
+ * full: '9999px',
1696
+ * });
1697
+ * ```
1698
+ */
1699
+ export declare const useBorderRadiusUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1700
+
1701
+ /**
1702
+ * Create border-spacing utility classes.
1703
+ */
1704
+ export declare const useBorderSpacingUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1705
+
1706
+ /**
1707
+ * Create border-spacing-x utility classes.
1708
+ */
1709
+ export declare const useBorderSpacingXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1710
+
1711
+ /**
1712
+ * Create border-spacing-y utility classes.
1713
+ */
1714
+ export declare const useBorderSpacingYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1715
+
1716
+ /**
1717
+ * Create a set of border-style variables for use in a Styleframe instance.
1718
+ *
1719
+ * @usage
1720
+ * ```typescript
1721
+ * import { styleframe } from "styleframe";
1722
+ * import { useBorderStyle } from "styleframe/theme";
1723
+ *
1724
+ * const s = styleframe();
1725
+ *
1726
+ * const {
1727
+ * borderStyleNone,
1728
+ * borderStyleSolid,
1729
+ * borderStyleDashed,
1730
+ * borderStyleDotted,
1731
+ * borderStyleDouble,
1732
+ * borderStyleGroove,
1733
+ * borderStyleInset,
1734
+ * borderStyleOutset,
1735
+ * borderStyle,
1736
+ * } = useBorderStyle(s, {
1737
+ * default: "solid",
1738
+ * none: "none",
1739
+ * dashed: "dashed",
1740
+ * dotted: "dotted",
1741
+ * double: "double",
1742
+ * groove: "groove",
1743
+ * inset: "inset",
1744
+ * outset: "outset",
1745
+ * });
1746
+ * ```
1747
+ */
1748
+ export declare const useBorderStyle: <T extends Record<string, TokenValue> = {
1749
+ readonly default: "@solid";
1750
+ readonly none: "none";
1751
+ readonly solid: "solid";
1752
+ readonly dashed: "dashed";
1753
+ readonly dotted: "dotted";
1754
+ readonly double: "double";
1755
+ readonly groove: "groove";
1756
+ readonly inset: "inset";
1757
+ readonly outset: "outset";
1758
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-style", T, ".">;
1759
+
1760
+ /**
1761
+ * Create border-style utility classes.
1762
+ */
1763
+ export declare const useBorderStyleUtility: <T extends Record<string, TokenValue> = {
1764
+ solid: string;
1765
+ dashed: string;
1766
+ dotted: string;
1767
+ double: string;
1768
+ hidden: string;
1769
+ none: string;
1770
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1771
+
1772
+ /**
1773
+ * Create a set of border-width variables for use in a Styleframe instance.
1774
+ *
1775
+ * @usage
1776
+ * ```typescript
1777
+ * import { styleframe } from "styleframe";
1778
+ * import { useBorderWidth } from "styleframe/theme";
1779
+ *
1780
+ * const s = styleframe();
1781
+ *
1782
+ * const {
1783
+ * borderWidthNone,
1784
+ * borderWidthThin,
1785
+ * borderWidthMedium,
1786
+ * borderWidthThick,
1787
+ * borderWidth,
1788
+ * } = useBorderWidth(s, {
1789
+ * default: "thin",
1790
+ * none: 0,
1791
+ * thin: "thin",
1792
+ * medium: "medium",
1793
+ * thick: "thick",
1794
+ * });
1795
+ * ```
1796
+ */
1797
+ export declare const useBorderWidth: <T extends Record<string, TokenValue> = {
1798
+ default: string;
1799
+ none: number;
1800
+ thin: string;
1801
+ medium: string;
1802
+ thick: string;
1803
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-width", T, ".">;
1804
+
1805
+ /**
1806
+ * Create border-bottom-width utility classes.
1807
+ */
1808
+ export declare const useBorderWidthBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1809
+
1810
+ /**
1811
+ * Create border-inline-end-width utility classes.
1812
+ */
1813
+ export declare const useBorderWidthEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1814
+
1815
+ /**
1816
+ * Create border-left-width utility classes.
1817
+ */
1818
+ export declare const useBorderWidthLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1819
+
1820
+ /**
1821
+ * Create border-right-width utility classes.
1822
+ */
1823
+ export declare const useBorderWidthRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1824
+
1825
+ /**
1826
+ * Create border-inline-start-width utility classes.
1827
+ */
1828
+ export declare const useBorderWidthStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1829
+
1830
+ /**
1831
+ * Create border-top-width utility classes.
1832
+ */
1833
+ export declare const useBorderWidthTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1834
+
1835
+ /**
1836
+ * Create border-width utility classes.
1837
+ *
1838
+ * @example
1839
+ * ```typescript
1840
+ * const s = styleframe();
1841
+ * useBorderWidthUtility(s, {
1842
+ * '0': '0px',
1843
+ * '2': '2px',
1844
+ * '4': '4px',
1845
+ * '8': '8px',
1846
+ * default: '1px',
1847
+ * });
1848
+ * ```
1849
+ */
1850
+ export declare const useBorderWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1851
+
1852
+ /**
1853
+ * Create border-x-width utility classes.
1854
+ */
1855
+ export declare const useBorderWidthXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1856
+
1857
+ /**
1858
+ * Create border-y-width utility classes.
1859
+ */
1860
+ export declare const useBorderWidthYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1861
+
1862
+ /**
1863
+ * Create bottom utility classes.
1864
+ */
1865
+ export declare const useBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1866
+
1867
+ /**
1868
+ * Create box-decoration-break utility classes.
1869
+ */
1870
+ export declare const useBoxDecorationBreakUtility: <T extends Record<string, TokenValue> = {
1871
+ clone: string;
1872
+ slice: string;
1873
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1874
+
1875
+ /**
1876
+ * Create a set of box-shadow variables for use in a Styleframe instance.
1877
+ *
1878
+ * @usage
1879
+ * ```typescript
1880
+ * import { styleframe } from "styleframe";
1881
+ * import { useBoxShadow } from "styleframe/theme";
1882
+ *
1883
+ * const s = styleframe();
1884
+ * const { variable } = s;
1885
+ *
1886
+ * const boxShadowColor = s.variable("box-shadow-color", "0 0 0");
1887
+ *
1888
+ * const {
1889
+ * boxShadow, // Variable<'box-shadow'>
1890
+ * boxShadowSm, // Variable<'box-shadow.sm'>
1891
+ * boxShadowMd, // Variable<'box-shadow.md'>
1892
+ * boxShadowLg, // Variable<'box-shadow.lg'>
1893
+ * } = useBoxShadow(s, {
1894
+ * default: '@md',
1895
+ * sm: css`0 1px 2px oklcha(${ref(boxShadowColor)} / 0.05)`,
1896
+ * md: css`0 4px 8px oklcha(${ref(boxShadowColor)} / 0.1)`,
1897
+ * lg: css`0 8px 16px oklcha(${ref(boxShadowColor)} / 0.15)`,
1898
+ * });
1899
+ * ```
1900
+ */
1901
+ export declare const useBoxShadow: <T extends Record<string, TokenValue> = {
1902
+ default: string;
1903
+ none: string;
1904
+ xs: string;
1905
+ sm: string;
1906
+ md: string;
1907
+ lg: string;
1908
+ xl: string;
1909
+ "2xl": string;
1910
+ inner: string;
1911
+ ring: string;
1912
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"box-shadow", T, ".">;
1913
+
1914
+ /**
1915
+ * Create box-shadow-color utility classes.
1916
+ */
1917
+ export declare const useBoxShadowColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1918
+
1919
+ /**
1920
+ * Create box-shadow utility classes.
1921
+ *
1922
+ * @example
1923
+ * ```typescript
1924
+ * const s = styleframe();
1925
+ * useBoxShadowUtility(s, {
1926
+ * sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
1927
+ * default: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
1928
+ * md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
1929
+ * lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
1930
+ * xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
1931
+ * '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
1932
+ * inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
1933
+ * none: 'none',
1934
+ * });
1935
+ * ```
1936
+ */
1937
+ export declare const useBoxShadowUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1938
+
1939
+ /**
1940
+ * Create box-sizing utility classes.
1941
+ */
1942
+ export declare const useBoxSizingUtility: <T extends Record<string, TokenValue> = {
1943
+ border: string;
1944
+ content: string;
1945
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1946
+
1947
+ /**
1948
+ * Create break-after utility classes.
1949
+ */
1950
+ export declare const useBreakAfterUtility: <T extends Record<string, TokenValue> = {
1951
+ auto: string;
1952
+ avoid: string;
1953
+ all: string;
1954
+ "avoid-page": string;
1955
+ page: string;
1956
+ left: string;
1957
+ right: string;
1958
+ column: string;
1959
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1960
+
1961
+ /**
1962
+ * Create break-before utility classes.
1963
+ */
1964
+ export declare const useBreakBeforeUtility: <T extends Record<string, TokenValue> = {
1965
+ auto: string;
1966
+ avoid: string;
1967
+ all: string;
1968
+ "avoid-page": string;
1969
+ page: string;
1970
+ left: string;
1971
+ right: string;
1972
+ column: string;
1973
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1974
+
1975
+ /**
1976
+ * Create break-inside utility classes.
1977
+ */
1978
+ export declare const useBreakInsideUtility: <T extends Record<string, TokenValue> = {
1979
+ auto: string;
1980
+ avoid: string;
1981
+ "avoid-page": string;
1982
+ "avoid-column": string;
1983
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
1984
+
1985
+ /**
1986
+ * Create a set of breakpoint variables for use in a Styleframe instance.
1987
+ *
1988
+ * @usage
1989
+ * ```typescript
1990
+ * import { styleframe } from "styleframe";
1991
+ * import { useBreakpoint } from "styleframe/theme";
1992
+ *
1993
+ * const s = styleframe();
1994
+ *
1995
+ * const {
1996
+ * breakpointXs, // Variable<'breakpoint.xs'>
1997
+ * breakpointSm, // Variable<'breakpoint.sm'>
1998
+ * breakpointMd, // Variable<'breakpoint.md'>
1999
+ * breakpointLg, // Variable<'breakpoint.lg'>
2000
+ * breakpointXl, // Variable<'breakpoint.xl'>
2001
+ * } = useBreakpoint(s, {
2002
+ * xs: 0,
2003
+ * sm: 576,
2004
+ * md: 992,
2005
+ * lg: 1200,
2006
+ * xl: 1440,
2007
+ * });
2008
+ * ```
2009
+ */
2010
+ export declare const useBreakpoint: <T extends Record<string, TokenValue> = {
2011
+ xs: number;
2012
+ sm: number;
2013
+ md: number;
2014
+ lg: number;
2015
+ xl: number;
2016
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"breakpoint", T, ".">;
2017
+
2018
+ /**
2019
+ * Create brightness utility classes.
2020
+ */
2021
+ export declare const useBrightnessUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2022
+
2023
+ /**
2024
+ * Create caption-side utility classes.
2025
+ */
2026
+ export declare const useCaptionSideUtility: <T extends Record<string, TokenValue> = {
2027
+ top: string;
2028
+ bottom: string;
2029
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2030
+
2031
+ /**
2032
+ * Create caret-color utility classes.
2033
+ */
2034
+ export declare const useCaretColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2035
+
2036
+ /**
2037
+ * Create clear utility classes.
2038
+ */
2039
+ export declare const useClearUtility: <T extends Record<string, TokenValue> = {
2040
+ start: string;
2041
+ end: string;
2042
+ left: string;
2043
+ right: string;
2044
+ both: string;
2045
+ none: string;
2046
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2047
+
2048
+ /**
2049
+ * Create a set of color variables for use in a Styleframe instance.
2050
+ *
2051
+ * @usage
2052
+ * ```typescript
2053
+ * import { styleframe } from "styleframe";
2054
+ * import { useColors } from "styleframe/theme";
2055
+ *
2056
+ * const s = styleframe();
2057
+ *
2058
+ * const {
2059
+ * colorPrimary, // Variable<'color.primary'>
2060
+ * colorSecondary, // Variable<'color.secondary'>
2061
+ * } = useColors(s, {
2062
+ * primary: "#007bff",
209
2063
  * secondary: "#6c757d",
210
2064
  * });
2065
+ * ```
2066
+ */
2067
+ export declare const useColor: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"color", T, ".">;
2068
+
2069
+ /**
2070
+ * Create a set of lightness levels for a color variable.
2071
+ *
2072
+ * @usage
2073
+ * ```typescript
2074
+ * import { styleframe } from "styleframe";
2075
+ * import { useColors } from "styleframe/theme";
2076
+ *
2077
+ * const s = styleframe();
2078
+ *
2079
+ * const { colorPrimary } = useColor(s, { primary: "#007bff" });
2080
+ *
2081
+ * const {
2082
+ * colorPrimary100, // Variable<'color.primary-100'>
2083
+ * colorPrimary200, // Variable<'color.primary-200'>
2084
+ * colorPrimary300, // Variable<'color.primary-300'>
2085
+ * ...
2086
+ * } = useColorLightnessLevels(s, colorPrimary, {
2087
+ * 100: 10,
2088
+ * 200: 20,
2089
+ * 300: 30,
2090
+ * ...
2091
+ * });
2092
+ * ```
2093
+ */
2094
+ export declare function useColorLightness<Name extends string, T extends Record<string | number, number>>(s: Styleframe, color: Variable<Name>, levels: T): ExportKeys<Name, T, "-">;
2095
+
2096
+ /**
2097
+ * Create color-scheme utility classes.
2098
+ */
2099
+ export declare const useColorSchemeUtility: <T extends Record<string, TokenValue> = {
2100
+ normal: string;
2101
+ light: string;
2102
+ dark: string;
2103
+ "light-dark": string;
2104
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2105
+
2106
+ /**
2107
+ * Create a set of relative color shade (darker) levels
2108
+ *
2109
+ * @usage
2110
+ * const s = styleframe();
2111
+ *
2112
+ * const { colorPrimary } = useColor(s, { primary: "#007bff" });
2113
+ *
2114
+ * const {
2115
+ * colorPrimaryShade50, // Variable<'color.primary-shade-50'>
2116
+ * colorPrimaryShade100, // Variable<'color.primary-shade-100'>
2117
+ * colorPrimaryShade150, // Variable<'color.primary-shade-150'>
2118
+ * ...
2119
+ * } = useColorShadeLevels(s, colorPrimary, {
2120
+ * 50: 5,
2121
+ * 100: 10,
2122
+ * 150: 15,
2123
+ * ...
2124
+ * });
2125
+ * ```
2126
+ */
2127
+ export declare function useColorShade<Name extends string, T extends Record<string | number, number>>(s: Styleframe, color: Variable<Name>, levels: T): ExportKeys<`${Name}-shade`, T, "-">;
2128
+
2129
+ /**
2130
+ * Create a set of relative color tint (lighter) levels
2131
+ *
2132
+ * @usage
2133
+ * const s = styleframe();
2134
+ *
2135
+ * const { colorPrimary } = useColor(s, { primary: "#007bff" });
2136
+ *
2137
+ * const {
2138
+ * colorPrimaryTint50, // Variable<'color.primary-tint-50'>
2139
+ * colorPrimaryTint100, // Variable<'color.primary-tint-100'>
2140
+ * colorPrimaryTint150, // Variable<'color.primary-tint-150'>
2141
+ * ...
2142
+ * } = useColorTintLevels(s, colorPrimary, {
2143
+ * 50: 5,
2144
+ * 100: 10,
2145
+ * 150: 15,
2146
+ * ...
2147
+ * });
2148
+ * ```
2149
+ */
2150
+ export declare function useColorTint<Name extends string, T extends Record<string | number, number>>(s: Styleframe, color: Variable<Name>, levels: T): ExportKeys<`${Name}-tint`, T, "-">;
2151
+
2152
+ /**
2153
+ * Create color utility classes.
2154
+ *
2155
+ * @example
2156
+ * ```typescript
2157
+ * const s = styleframe();
2158
+ * useColorUtility(s, {
2159
+ * inherit: 'inherit',
2160
+ * current: 'currentColor',
2161
+ * transparent: 'transparent',
2162
+ * black: '#000',
2163
+ * white: '#fff',
2164
+ * });
2165
+ * ```
2166
+ */
2167
+ export declare const useColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2168
+
2169
+ /**
2170
+ * Create columns utility classes.
2171
+ *
2172
+ * @example
2173
+ * ```typescript
2174
+ * const s = styleframe();
2175
+ * useColumnsUtility(s, {
2176
+ * '1': '1',
2177
+ * '2': '2',
2178
+ * '3': '3',
2179
+ * auto: 'auto',
2180
+ * '3xs': '16rem',
2181
+ * '2xs': '18rem',
2182
+ * xs: '20rem',
2183
+ * });
2184
+ * ```
2185
+ */
2186
+ export declare const useColumnsUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2187
+
2188
+ /**
2189
+ * Create content utility classes for pseudo-elements.
2190
+ *
2191
+ * @example
2192
+ * ```typescript
2193
+ * const s = styleframe();
2194
+ * useContentUtility(s, {
2195
+ * none: 'none',
2196
+ * empty: "''",
2197
+ * });
2198
+ * ```
2199
+ */
2200
+ export declare const useContentUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2201
+
2202
+ /**
2203
+ * Create contrast utility classes.
2204
+ */
2205
+ export declare const useContrastUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2206
+
2207
+ /**
2208
+ * Create cursor utility classes.
2209
+ */
2210
+ export declare const useCursorUtility: <T extends Record<string, TokenValue> = {
2211
+ auto: string;
2212
+ default: string;
2213
+ pointer: string;
2214
+ wait: string;
2215
+ text: string;
2216
+ move: string;
2217
+ help: string;
2218
+ "not-allowed": string;
2219
+ none: string;
2220
+ "context-menu": string;
2221
+ progress: string;
2222
+ cell: string;
2223
+ crosshair: string;
2224
+ "vertical-text": string;
2225
+ alias: string;
2226
+ copy: string;
2227
+ "no-drop": string;
2228
+ grab: string;
2229
+ grabbing: string;
2230
+ "all-scroll": string;
2231
+ "col-resize": string;
2232
+ "row-resize": string;
2233
+ "n-resize": string;
2234
+ "e-resize": string;
2235
+ "s-resize": string;
2236
+ "w-resize": string;
2237
+ "ne-resize": string;
2238
+ "nw-resize": string;
2239
+ "se-resize": string;
2240
+ "sw-resize": string;
2241
+ "ew-resize": string;
2242
+ "ns-resize": string;
2243
+ "nesw-resize": string;
2244
+ "nwse-resize": string;
2245
+ "zoom-in": string;
2246
+ "zoom-out": string;
2247
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2248
+
2249
+ /**
2250
+ * Create display utility classes.
2251
+ *
2252
+ * @example
2253
+ * ```typescript
2254
+ * const s = styleframe();
2255
+ * useDisplayUtility(s, { flex: 'flex', block: 'block', hidden: 'none' });
2256
+ * // Generates: ._display:flex, ._display:block, ._display:hidden
2257
+ * ```
2258
+ */
2259
+ export declare const useDisplayUtility: <T extends Record<string, TokenValue> = {
2260
+ block: string;
2261
+ "inline-block": string;
2262
+ inline: string;
2263
+ flex: string;
2264
+ "inline-flex": string;
2265
+ table: string;
2266
+ "inline-table": string;
2267
+ "table-caption": string;
2268
+ "table-cell": string;
2269
+ "table-column": string;
2270
+ "table-column-group": string;
2271
+ "table-footer-group": string;
2272
+ "table-header-group": string;
2273
+ "table-row-group": string;
2274
+ "table-row": string;
2275
+ "flow-root": string;
2276
+ grid: string;
2277
+ "inline-grid": string;
2278
+ contents: string;
2279
+ "list-item": string;
2280
+ hidden: string;
2281
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2282
+
2283
+ /**
2284
+ * Create divide-color utility classes.
2285
+ */
2286
+ export declare const useDivideColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2287
+
2288
+ /**
2289
+ * Create divide-style utility classes.
2290
+ */
2291
+ export declare const useDivideStyleUtility: <T extends Record<string, TokenValue> = {
2292
+ solid: string;
2293
+ dashed: string;
2294
+ dotted: string;
2295
+ double: string;
2296
+ none: string;
2297
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2298
+
2299
+ /**
2300
+ * Create divide-x-reverse utility classes.
2301
+ */
2302
+ export declare const useDivideXReverseUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2303
+
2304
+ /**
2305
+ * Create divide-x-width utility classes.
2306
+ * Adds borders between horizontal children.
2307
+ */
2308
+ export declare const useDivideXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2309
+
2310
+ /**
2311
+ * Create divide-y-reverse utility classes.
2312
+ */
2313
+ export declare const useDivideYReverseUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2314
+
2315
+ /**
2316
+ * Create divide-y-width utility classes.
2317
+ * Adds borders between vertical children.
2318
+ */
2319
+ export declare const useDivideYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2320
+
2321
+ /**
2322
+ * Create drop-shadow utility classes.
2323
+ */
2324
+ export declare const useDropShadowUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2325
+
2326
+ /**
2327
+ * Create a set of easing variables for use in a Styleframe instance.
2328
+ *
2329
+ * Includes CSS keywords, cubic-bezier curves from easings.net, and
2330
+ * linear() functions for spring and bounce animations.
2331
+ *
2332
+ * @usage
2333
+ * ```typescript
2334
+ * import { styleframe } from "styleframe";
2335
+ * import { useEasing } from "@styleframe/theme";
2336
+ *
2337
+ * const s = styleframe();
2338
+ *
2339
+ * const {
2340
+ * easing, // Variable<'easing'>
2341
+ * easingEaseInOut, // Variable<'easing.ease-in-out'>
2342
+ * easingEaseOutCubic, // Variable<'easing.ease-out-cubic'>
2343
+ * easingSpring, // Variable<'easing.spring'>
2344
+ * easingBounce, // Variable<'easing.bounce'>
2345
+ * } = useEasing(s, {
2346
+ * default: "ease-in-out",
2347
+ * "ease-in-out": "ease-in-out",
2348
+ * "ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)",
2349
+ * spring: "linear(...)",
2350
+ * bounce: "linear(...)",
2351
+ * });
2352
+ * ```
2353
+ */
2354
+ export declare const useEasing: <T extends Record<string, TokenValue> = {
2355
+ readonly linear: "linear";
2356
+ readonly ease: "ease";
2357
+ readonly "ease-in": "ease-in";
2358
+ readonly "ease-out": "ease-out";
2359
+ readonly "ease-in-out": "ease-in-out";
2360
+ readonly "ease-in-sine": "cubic-bezier(0.47, 0, 0.745, 0.715)";
2361
+ readonly "ease-out-sine": "cubic-bezier(0.39, 0.575, 0.565, 1)";
2362
+ readonly "ease-in-out-sine": "cubic-bezier(0.445, 0.05, 0.55, 0.95)";
2363
+ readonly "ease-in-quad": "cubic-bezier(0.55, 0.085, 0.68, 0.53)";
2364
+ readonly "ease-out-quad": "cubic-bezier(0.25, 0.46, 0.45, 0.94)";
2365
+ readonly "ease-in-out-quad": "cubic-bezier(0.455, 0.03, 0.515, 0.955)";
2366
+ readonly "ease-in-cubic": "cubic-bezier(0.55, 0.055, 0.675, 0.19)";
2367
+ readonly "ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)";
2368
+ readonly "ease-in-out-cubic": "cubic-bezier(0.645, 0.045, 0.355, 1)";
2369
+ readonly "ease-in-quart": "cubic-bezier(0.895, 0.03, 0.685, 0.22)";
2370
+ readonly "ease-out-quart": "cubic-bezier(0.165, 0.84, 0.44, 1)";
2371
+ readonly "ease-in-out-quart": "cubic-bezier(0.77, 0, 0.175, 1)";
2372
+ readonly "ease-in-quint": "cubic-bezier(0.755, 0.05, 0.855, 0.06)";
2373
+ readonly "ease-out-quint": "cubic-bezier(0.23, 1, 0.32, 1)";
2374
+ readonly "ease-in-out-quint": "cubic-bezier(0.86, 0, 0.07, 1)";
2375
+ readonly "ease-in-expo": "cubic-bezier(0.95, 0.05, 0.795, 0.035)";
2376
+ readonly "ease-out-expo": "cubic-bezier(0.19, 1, 0.22, 1)";
2377
+ readonly "ease-in-out-expo": "cubic-bezier(1, 0, 0, 1)";
2378
+ readonly "ease-in-circ": "cubic-bezier(0.6, 0.04, 0.98, 0.335)";
2379
+ readonly "ease-out-circ": "cubic-bezier(0.075, 0.82, 0.165, 1)";
2380
+ readonly "ease-in-out-circ": "cubic-bezier(0.785, 0.135, 0.15, 0.86)";
2381
+ readonly "ease-in-back": "cubic-bezier(0.6, -0.28, 0.735, 0.045)";
2382
+ readonly "ease-out-back": "cubic-bezier(0.175, 0.885, 0.32, 1.275)";
2383
+ readonly "ease-in-out-back": "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
2384
+ readonly spring: "linear(0, 0.0018, 0.0069 1.15%, 0.026 2.3%, 0.0637, 0.1135 5.18%, 0.2229 7.78%, 0.5977 15.84%, 0.7014, 0.7904, 0.8641, 0.9228, 0.9676 28.8%, 1.0032 31.68%, 1.0225, 1.0352 36.29%, 1.0431 38.88%, 1.046 42.05%, 1.0448 44.35%, 1.0407 47.23%, 1.0118 61.63%, 1.0025 69.41%, 0.9981 80.35%, 0.9992 99.94%)";
2385
+ readonly bounce: "linear(0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141 13.6%, 0.25, 0.391, 0.563, 0.765, 1, 0.891 40.9%, 0.848, 0.813, 0.785, 0.766, 0.754, 0.75, 0.754, 0.766, 0.785, 0.813, 0.848, 0.891 68.2%, 1 72.7%, 0.973, 0.953, 0.941, 0.938, 0.941, 0.953, 0.973, 1, 0.988, 0.984, 0.988, 1)";
2386
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"easing", T, ".">;
2387
+
2388
+ /**
2389
+ * Create fill utility classes for SVG elements.
2390
+ *
2391
+ * @example
2392
+ * ```typescript
2393
+ * const s = styleframe();
2394
+ * useFillUtility(s, {
2395
+ * none: 'none',
2396
+ * current: 'currentColor',
2397
+ * inherit: 'inherit',
2398
+ * });
2399
+ * ```
2400
+ */
2401
+ export declare const useFillUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2402
+
2403
+ /**
2404
+ * Create flex-basis utility classes.
2405
+ */
2406
+ export declare const useFlexBasisUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2407
+
2408
+ /**
2409
+ * Create flex-direction utility classes.
2410
+ */
2411
+ export declare const useFlexDirectionUtility: <T extends Record<string, TokenValue> = {
2412
+ row: string;
2413
+ "row-reverse": string;
2414
+ col: string;
2415
+ "col-reverse": string;
2416
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2417
+
2418
+ /**
2419
+ * Create flex-grow utility classes.
2420
+ */
2421
+ export declare const useFlexGrowUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2422
+
2423
+ /**
2424
+ * Create flex-shrink utility classes.
2425
+ */
2426
+ export declare const useFlexShrinkUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2427
+
2428
+ /**
2429
+ * Create flex utility classes.
2430
+ *
2431
+ * @example
2432
+ * ```typescript
2433
+ * const s = styleframe();
2434
+ * useFlexUtility(s);
2435
+ * // Uses defaults: ._flex:1, ._flex:auto, ._flex:initial, ._flex:none
2436
+ * ```
2437
+ */
2438
+ export declare const useFlexUtility: <T extends Record<string, TokenValue> = {
2439
+ "1": string;
2440
+ auto: string;
2441
+ initial: string;
2442
+ none: string;
2443
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2444
+
2445
+ /**
2446
+ * Create flex-wrap utility classes.
2447
+ */
2448
+ export declare const useFlexWrapUtility: <T extends Record<string, TokenValue> = {
2449
+ wrap: string;
2450
+ "wrap-reverse": string;
2451
+ nowrap: string;
2452
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2453
+
2454
+ /**
2455
+ * Create float utility classes.
2456
+ */
2457
+ export declare const useFloatUtility: <T extends Record<string, TokenValue> = {
2458
+ start: string;
2459
+ end: string;
2460
+ right: string;
2461
+ left: string;
2462
+ none: string;
2463
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2464
+
2465
+ /**
2466
+ * Create a set of font family variables for use in a Styleframe instance.
2467
+ *
2468
+ * @usage
2469
+ * ```typescript
2470
+ * import { styleframe } from "styleframe";
2471
+ * import { useFontFamily } from "styleframe/theme";
2472
+ *
2473
+ * const s = styleframe();
2474
+ *
2475
+ * const {
2476
+ * fontFamily, // Variable<'font-family'>
2477
+ * fontFamilyPrint, // Variable<'font-family.print'>
2478
+ * fontFamilyMono, // Variable<'font-family.mono'>
2479
+ * } = useFontFamily(s, {
2480
+ * default: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
2481
+ * print: "'Georgia', 'Times New Roman', 'Times', serif",
2482
+ * mono: "'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
2483
+ * });
2484
+ * ```
2485
+ */
2486
+ export declare const useFontFamily: <T extends Record<string, TokenValue> = {
2487
+ default: string;
2488
+ base: string;
2489
+ print: string;
2490
+ mono: string;
2491
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"font-family", T, ".">;
2492
+
2493
+ /**
2494
+ * Create font-family utility classes.
2495
+ *
2496
+ * @example
2497
+ * ```typescript
2498
+ * const s = styleframe();
2499
+ * useFontFamilyUtility(s, {
2500
+ * sans: 'ui-sans-serif, system-ui, sans-serif',
2501
+ * serif: 'ui-serif, Georgia, serif',
2502
+ * mono: 'ui-monospace, monospace',
2503
+ * });
2504
+ * ```
2505
+ */
2506
+ export declare const useFontFamilyUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2507
+
2508
+ /**
2509
+ * Create a set of font-size variables for use in a Styleframe instance.
2510
+ *
2511
+ * @usage
2512
+ * ```typescript
2513
+ * import { styleframe } from "styleframe";
2514
+ * import { useFontSize } from "styleframe/theme";
2515
+ *
2516
+ * const s = styleframe();
2517
+ *
2518
+ * const {
2519
+ * fontSize, // Variable<'font-size'>
2520
+ * fontSizeSm, // Variable<'font-size.sm'>
2521
+ * fontSizeMd, // Variable<'font-size.md'>
2522
+ * fontSizeLg, // Variable<'font-size.lg'>
2523
+ * } = useFontSize(s, {
2524
+ * default: "1rem",
2525
+ * sm: "0.875rem",
2526
+ * md: "1rem",
2527
+ * lg: "1.25rem",
2528
+ * });
2529
+ * ```
2530
+ */
2531
+ export declare const useFontSize: <T extends Record<string, TokenValue> = {
2532
+ default: string;
2533
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"font-size", T, ".">;
2534
+
2535
+ /**
2536
+ * Create font-size utility classes.
2537
+ *
2538
+ * @example
2539
+ * ```typescript
2540
+ * const s = styleframe();
2541
+ * useFontSizeUtility(s, {
2542
+ * xs: '0.75rem',
2543
+ * sm: '0.875rem',
2544
+ * base: '1rem',
2545
+ * lg: '1.125rem',
2546
+ * xl: '1.25rem',
2547
+ * });
2548
+ * ```
2549
+ */
2550
+ export declare const useFontSizeUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2551
+
2552
+ /**
2553
+ * Create font-smoothing utility classes.
2554
+ */
2555
+ export declare const useFontSmoothingUtility: <T extends Record<string, TokenValue> = {
2556
+ antialiased: string;
2557
+ "subpixel-antialiased": string;
2558
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2559
+
2560
+ /**
2561
+ * Create font-stretch utility classes.
2562
+ */
2563
+ export declare const useFontStretchUtility: <T extends Record<string, TokenValue> = {
2564
+ "ultra-condensed": string;
2565
+ "extra-condensed": string;
2566
+ condensed: string;
2567
+ "semi-condensed": string;
2568
+ normal: string;
2569
+ "semi-expanded": string;
2570
+ expanded: string;
2571
+ "extra-expanded": string;
2572
+ "ultra-expanded": string;
2573
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2574
+
2575
+ /**
2576
+ * Create font-style utility classes.
2577
+ */
2578
+ export declare const useFontStyleUtility: <T extends Record<string, TokenValue> = {
2579
+ italic: string;
2580
+ "not-italic": string;
2581
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2582
+
2583
+ /**
2584
+ * Create font-variant-numeric utility classes.
2585
+ */
2586
+ export declare const useFontVariantNumericUtility: <T extends Record<string, TokenValue> = {
2587
+ "normal-nums": string;
2588
+ ordinal: string;
2589
+ "slashed-zero": string;
2590
+ "lining-nums": string;
2591
+ "oldstyle-nums": string;
2592
+ "proportional-nums": string;
2593
+ "tabular-nums": string;
2594
+ "diagonal-fractions": string;
2595
+ "stacked-fractions": string;
2596
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2597
+
2598
+ /**
2599
+ * Create a set of font-weight variables for use in a Styleframe instance.
2600
+ *
2601
+ * @usage
2602
+ * ```typescript
2603
+ * import { styleframe } from "styleframe";
2604
+ * import { useFontWeight } from "styleframe/theme";
2605
+ *
2606
+ * const s = styleframe();
2607
+ *
2608
+ * const {
2609
+ * fontWeightExtralight,
2610
+ * fontWeightLight,
2611
+ * fontWeightNormal,
2612
+ * fontWeightMedium,
2613
+ * fontWeightSemibold,
2614
+ * fontWeightBold,
2615
+ * fontWeightBlack,
2616
+ * fontWeightLighter,
2617
+ * fontWeightBolder,
2618
+ * fontWeight,
2619
+ * } = useFontWeight(s, {
2620
+ * default: "normal",
2621
+ * extralight: 200,
2622
+ * light: 300,
2623
+ * normal: "normal",
2624
+ * medium: 500,
2625
+ * semibold: 600,
2626
+ * bold: 700,
2627
+ * black: 900,
2628
+ * lighter: "lighter",
2629
+ * bolder: "bolder",
2630
+ * inherit: "inherit",
2631
+ * });
2632
+ * ```
2633
+ */
2634
+ export declare const useFontWeight: <T extends Record<string, TokenValue> = {
2635
+ default: string;
2636
+ extralight: number;
2637
+ light: number;
2638
+ normal: string;
2639
+ medium: number;
2640
+ semibold: number;
2641
+ bold: string;
2642
+ black: number;
2643
+ lighter: string;
2644
+ bolder: string;
2645
+ inherit: string;
2646
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"font-weight", T, ".">;
2647
+
2648
+ /**
2649
+ * Create font-weight utility classes.
2650
+ */
2651
+ export declare const useFontWeightUtility: <T extends Record<string, TokenValue> = {
2652
+ thin: string;
2653
+ extralight: string;
2654
+ light: string;
2655
+ normal: string;
2656
+ medium: string;
2657
+ semibold: string;
2658
+ bold: string;
2659
+ extrabold: string;
2660
+ black: string;
2661
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2662
+
2663
+ /**
2664
+ * Create forced-color-adjust utility classes.
2665
+ */
2666
+ export declare const useForcedColorAdjustUtility: <T extends Record<string, TokenValue> = {
2667
+ auto: string;
2668
+ none: string;
2669
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2670
+
2671
+ /**
2672
+ * Create gap utility classes.
2673
+ *
2674
+ * @example
2675
+ * ```typescript
2676
+ * const s = styleframe();
2677
+ * useGapUtility(s, { '0': '0', '1': '0.25rem', '2': '0.5rem' });
2678
+ * ```
2679
+ */
2680
+ export declare const useGapUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2681
+
2682
+ /**
2683
+ * Create column-gap utility classes.
2684
+ */
2685
+ export declare const useGapXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2686
+
2687
+ /**
2688
+ * Create row-gap utility classes.
2689
+ */
2690
+ export declare const useGapYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2691
+
2692
+ /**
2693
+ * Create gradient from-color utility classes.
2694
+ */
2695
+ export declare const useGradientFromUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2696
+
2697
+ /**
2698
+ * Create gradient to-color utility classes.
2699
+ */
2700
+ export declare const useGradientToUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2701
+
2702
+ /**
2703
+ * Create gradient via-color utility classes.
2704
+ */
2705
+ export declare const useGradientViaUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2706
+
2707
+ /**
2708
+ * Create grayscale utility classes.
2709
+ */
2710
+ export declare const useGrayscaleUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2711
+
2712
+ /**
2713
+ * Create grid-auto-columns utility classes.
2714
+ */
2715
+ export declare const useGridAutoColumnsUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2716
+
2717
+ /**
2718
+ * Create grid-auto-flow utility classes.
2719
+ */
2720
+ export declare const useGridAutoFlowUtility: <T extends Record<string, TokenValue> = {
2721
+ row: string;
2722
+ col: string;
2723
+ dense: string;
2724
+ "row-dense": string;
2725
+ "col-dense": string;
2726
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2727
+
2728
+ /**
2729
+ * Create grid-auto-rows utility classes.
2730
+ */
2731
+ export declare const useGridAutoRowsUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2732
+
2733
+ /**
2734
+ * Create grid-column-end utility classes.
2735
+ */
2736
+ export declare const useGridColumnEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2737
+
2738
+ /**
2739
+ * Create grid-column-start utility classes.
2740
+ */
2741
+ export declare const useGridColumnStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2742
+
2743
+ /**
2744
+ * Create grid-column utility classes (span).
2745
+ */
2746
+ export declare const useGridColumnUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2747
+
2748
+ /**
2749
+ * Create grid-row-end utility classes.
2750
+ */
2751
+ export declare const useGridRowEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2752
+
2753
+ /**
2754
+ * Create grid-row-start utility classes.
2755
+ */
2756
+ export declare const useGridRowStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2757
+
2758
+ /**
2759
+ * Create grid-row utility classes.
2760
+ */
2761
+ export declare const useGridRowUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2762
+
2763
+ /**
2764
+ * Create grid-template-columns utility classes.
2765
+ *
2766
+ * @example
2767
+ * ```typescript
2768
+ * const s = styleframe();
2769
+ * useGridTemplateColumnsUtility(s, {
2770
+ * '1': 'repeat(1, minmax(0, 1fr))',
2771
+ * '2': 'repeat(2, minmax(0, 1fr))',
2772
+ * '3': 'repeat(3, minmax(0, 1fr))',
2773
+ * none: 'none',
2774
+ * subgrid: 'subgrid',
2775
+ * });
2776
+ * ```
2777
+ */
2778
+ export declare const useGridTemplateColumnsUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2779
+
2780
+ /**
2781
+ * Create grid-template-rows utility classes.
2782
+ */
2783
+ export declare const useGridTemplateRowsUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2784
+
2785
+ /**
2786
+ * Create height utility classes.
2787
+ *
2788
+ * @example
2789
+ * ```typescript
2790
+ * const s = styleframe();
2791
+ * useHeightUtility(s, {
2792
+ * full: '100%',
2793
+ * screen: '100vh',
2794
+ * auto: 'auto',
2795
+ * '1/2': '50%',
2796
+ * });
2797
+ * ```
2798
+ */
2799
+ export declare const useHeightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2800
+
2801
+ /**
2802
+ * Create hue-rotate utility classes.
2803
+ */
2804
+ export declare const useHueRotateUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2805
+
2806
+ /**
2807
+ * Create hyphens utility classes.
2808
+ */
2809
+ export declare const useHyphensUtility: <T extends Record<string, TokenValue> = {
2810
+ none: string;
2811
+ manual: string;
2812
+ auto: string;
2813
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2814
+
2815
+ /**
2816
+ * Create inset-inline-end utility classes.
2817
+ */
2818
+ export declare const useInsetEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2819
+
2820
+ /**
2821
+ * Create inset-inline-start utility classes.
2822
+ */
2823
+ export declare const useInsetStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2824
+
2825
+ /**
2826
+ * Create inset utility classes (top, right, bottom, left).
2827
+ *
2828
+ * @example
2829
+ * ```typescript
2830
+ * const s = styleframe();
2831
+ * useInsetUtility(s, { '0': '0', '1': '0.25rem', auto: 'auto' });
2832
+ * ```
2833
+ */
2834
+ export declare const useInsetUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2835
+
2836
+ /**
2837
+ * Create inset-x utility classes (left and right).
2838
+ */
2839
+ export declare const useInsetXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2840
+
2841
+ /**
2842
+ * Create inset-y utility classes (top and bottom).
2843
+ */
2844
+ export declare const useInsetYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2845
+
2846
+ /**
2847
+ * Create invert utility classes.
2848
+ */
2849
+ export declare const useInvertUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2850
+
2851
+ /**
2852
+ * Create isolation utility classes.
2853
+ */
2854
+ export declare const useIsolationUtility: <T extends Record<string, TokenValue> = {
2855
+ isolate: string;
2856
+ auto: string;
2857
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2858
+
2859
+ /**
2860
+ * Create justify-content utility classes.
2861
+ */
2862
+ export declare const useJustifyContentUtility: <T extends Record<string, TokenValue> = {
2863
+ normal: string;
2864
+ start: string;
2865
+ end: string;
2866
+ center: string;
2867
+ between: string;
2868
+ around: string;
2869
+ evenly: string;
2870
+ stretch: string;
2871
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2872
+
2873
+ /**
2874
+ * Create justify-items utility classes.
2875
+ */
2876
+ export declare const useJustifyItemsUtility: <T extends Record<string, TokenValue> = {
2877
+ start: string;
2878
+ end: string;
2879
+ center: string;
2880
+ stretch: string;
2881
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2882
+
2883
+ /**
2884
+ * Create justify-self utility classes.
2885
+ */
2886
+ export declare const useJustifySelfUtility: <T extends Record<string, TokenValue> = {
2887
+ auto: string;
2888
+ start: string;
2889
+ end: string;
2890
+ center: string;
2891
+ stretch: string;
2892
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2893
+
2894
+ /**
2895
+ * Create left utility classes.
2896
+ */
2897
+ export declare const useLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2898
+
2899
+ /**
2900
+ * Create a set of letter-spacing variables for use in a Styleframe instance.
2901
+ *
2902
+ * @usage
2903
+ * ```typescript
2904
+ * import { styleframe } from "styleframe";
2905
+ * import { useLetterSpacing } from "styleframe/theme";
2906
+ *
2907
+ * const s = styleframe();
2908
+ *
2909
+ * const {
2910
+ * letterSpacingTighter,
2911
+ * letterSpacingTight,
2912
+ * letterSpacingNormal,
2913
+ * letterSpacingWide,
2914
+ * letterSpacingWider,
2915
+ * letterSpacing,
2916
+ * } = useLetterSpacing(s, {
2917
+ * default: "normal",
2918
+ * tighter: "-0.05em",
2919
+ * tight: "-0.025em",
2920
+ * normal: "normal",
2921
+ * wide: "0.05em",
2922
+ * wider: "0.1em",
2923
+ * });
2924
+ * ```
2925
+ */
2926
+ export declare const useLetterSpacing: <T extends Record<string, TokenValue> = {
2927
+ default: string;
2928
+ tighter: string;
2929
+ tight: string;
2930
+ normal: string;
2931
+ wide: string;
2932
+ wider: string;
2933
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"letter-spacing", T, ".">;
2934
+
2935
+ /**
2936
+ * Create letter-spacing utility classes.
2937
+ *
2938
+ * @example
2939
+ * ```typescript
2940
+ * const s = styleframe();
2941
+ * useLetterSpacingUtility(s, {
2942
+ * tighter: '-0.05em',
2943
+ * tight: '-0.025em',
2944
+ * normal: '0em',
2945
+ * wide: '0.025em',
2946
+ * wider: '0.05em',
2947
+ * widest: '0.1em',
2948
+ * });
2949
+ * ```
2950
+ */
2951
+ export declare const useLetterSpacingUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2952
+
2953
+ /**
2954
+ * Create line-clamp utility classes.
2955
+ * Limits the number of visible lines with an ellipsis.
2956
+ *
2957
+ * @example
2958
+ * ```typescript
2959
+ * const s = styleframe();
2960
+ * useLineClampUtility(s, { '1': '1', '2': '2', '3': '3', none: 'unset' });
2961
+ * ```
2962
+ */
2963
+ export declare const useLineClampUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
2964
+
2965
+ /**
2966
+ * Create a set of line-height variables for use in a Styleframe instance.
2967
+ *
2968
+ * @usage
2969
+ * ```typescript
2970
+ * import { styleframe } from "styleframe";
2971
+ * import { useLineHeight } from "styleframe/theme";
2972
+ *
2973
+ * const s = styleframe();
2974
+ *
2975
+ * const {
2976
+ * lineHeightTight,
2977
+ * lineHeightSnug,
2978
+ * lineHeightNormal,
2979
+ * lineHeightRelaxed,
2980
+ * lineHeightLoose,
2981
+ * lineHeight,
2982
+ * } = useLineHeight(s, {
2983
+ * default: "normal",
2984
+ * tight: 1.2,
2985
+ * snug: 1.35,
2986
+ * normal: 1.5,
2987
+ * relaxed: 1.65,
2988
+ * loose: 1.9,
2989
+ * });
2990
+ * ```
2991
+ */
2992
+ export declare const useLineHeight: <T extends Record<string, TokenValue> = {
2993
+ default: string;
2994
+ tight: number;
2995
+ snug: number;
2996
+ normal: number;
2997
+ relaxed: number;
2998
+ loose: number;
2999
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"line-height", T, ".">;
3000
+
3001
+ /**
3002
+ * Create line-height utility classes.
3003
+ *
3004
+ * @example
3005
+ * ```typescript
3006
+ * const s = styleframe();
3007
+ * useLineHeightUtility(s, {
3008
+ * none: '1',
3009
+ * tight: '1.25',
3010
+ * snug: '1.375',
3011
+ * normal: '1.5',
3012
+ * relaxed: '1.625',
3013
+ * loose: '2',
3014
+ * });
3015
+ * ```
3016
+ */
3017
+ export declare const useLineHeightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3018
+
3019
+ /**
3020
+ * Create list-style-image utility classes.
3021
+ */
3022
+ export declare const useListStyleImageUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3023
+
3024
+ /**
3025
+ * Create list-style-position utility classes.
3026
+ */
3027
+ export declare const useListStylePositionUtility: <T extends Record<string, TokenValue> = {
3028
+ inside: string;
3029
+ outside: string;
3030
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3031
+
3032
+ /**
3033
+ * Create list-style-type utility classes.
3034
+ */
3035
+ export declare const useListStyleTypeUtility: <T extends Record<string, TokenValue> = {
3036
+ none: string;
3037
+ disc: string;
3038
+ decimal: string;
3039
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3040
+
3041
+ /**
3042
+ * Create vertical margin utility classes (top and bottom).
3043
+ */
3044
+ export declare const useMarginBlockUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3045
+
3046
+ /**
3047
+ * Create margin-bottom utility classes.
3048
+ */
3049
+ export declare const useMarginBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3050
+
3051
+ /**
3052
+ * Create margin-inline-end utility classes.
3053
+ */
3054
+ export declare const useMarginInlineEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3055
+
3056
+ /**
3057
+ * Create margin-inline-start utility classes.
3058
+ */
3059
+ export declare const useMarginInlineStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3060
+
3061
+ /**
3062
+ * Create horizontal margin utility classes (left and right).
3063
+ */
3064
+ export declare const useMarginInlineUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3065
+
3066
+ /**
3067
+ * Create margin-left utility classes.
3068
+ */
3069
+ export declare const useMarginLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3070
+
3071
+ /**
3072
+ * Create margin-right utility classes.
3073
+ */
3074
+ export declare const useMarginRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3075
+
3076
+ /**
3077
+ * Create margin-top utility classes.
3078
+ */
3079
+ export declare const useMarginTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3080
+
3081
+ /**
3082
+ * Create margin utility classes.
3083
+ *
3084
+ * @example
3085
+ * ```typescript
3086
+ * const s = styleframe();
3087
+ * useMarginUtility(s, { sm: '0.5rem', md: '1rem', lg: '1.5rem', auto: 'auto' });
3088
+ * // Generates: ._margin:sm, ._margin:md, ._margin:lg, ._margin:auto
3089
+ * ```
3090
+ */
3091
+ export declare const useMarginUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3092
+
3093
+ /**
3094
+ * Create margin-x utility classes (left and right).
3095
+ */
3096
+ export declare const useMarginXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3097
+
3098
+ /**
3099
+ * Create margin-y utility classes (top and bottom).
3100
+ */
3101
+ export declare const useMarginYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3102
+
3103
+ /**
3104
+ * Create max-height utility classes.
3105
+ */
3106
+ export declare const useMaxHeightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3107
+
3108
+ /**
3109
+ * Create max-width utility classes.
3110
+ */
3111
+ export declare const useMaxWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3112
+
3113
+ /**
3114
+ * Create min-height utility classes.
3115
+ */
3116
+ export declare const useMinHeightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3117
+
3118
+ /**
3119
+ * Create min-width utility classes.
3120
+ */
3121
+ export declare const useMinWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3122
+
3123
+ /**
3124
+ * Create mix-blend-mode utility classes.
3125
+ */
3126
+ export declare const useMixBlendModeUtility: <T extends Record<string, TokenValue> = {
3127
+ normal: string;
3128
+ multiply: string;
3129
+ screen: string;
3130
+ overlay: string;
3131
+ darken: string;
3132
+ lighten: string;
3133
+ "color-dodge": string;
3134
+ "color-burn": string;
3135
+ "hard-light": string;
3136
+ "soft-light": string;
3137
+ difference: string;
3138
+ exclusion: string;
3139
+ hue: string;
3140
+ saturation: string;
3141
+ color: string;
3142
+ luminosity: string;
3143
+ "plus-darker": string;
3144
+ "plus-lighter": string;
3145
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3146
+
3147
+ /**
3148
+ * Create a font-size scale for use in a Styleframe instance.
3149
+ *
3150
+ * @usage
3151
+ * ```typescript
3152
+ * import { styleframe } from "styleframe";
3153
+ * import { useFontSize, useScale, useScalePowers, useMultiplier } from "styleframe/theme";
3154
+ *
3155
+ * const s = styleframe();
3156
+ *
3157
+ * const { scale } = useScale(s);
3158
+ * const { fontSize } = useFontSize(s);
3159
+ *
3160
+ * const scalePowers = useScalePowers(s, scale, defaultScalePowerValues);
3161
+ *
3162
+ * const {
3163
+ * fontSizeXs, // Variable<'font-size.xs'>
3164
+ * fontSizeSm, // Variable<'font-size.sm'>
3165
+ * fontSizeMd, // Variable<'font-size.md'>
3166
+ * fontSizeLg, // Variable<'font-size.lg'>
3167
+ * fontSizeXl, // Variable<'font-size.xl'>
3168
+ * } = useMultiplier(s, fontSize, {
3169
+ * xs: scalePowers[-2],
3170
+ * sm: scalePowers[-1],
3171
+ * md: scalePowers[0],
3172
+ * lg: scalePowers[1],
3173
+ * xl: scalePowers[2],
3174
+ * });
3175
+ * ```
3176
+ */
3177
+ export declare function useMultiplier<Name extends string, T extends Record<string | number, TokenValue>>(s: Styleframe, variable: Variable<Name>, values: T): ExportKeys<Name, T>;
3178
+
3179
+ /**
3180
+ * Create not-sr-only utility class.
3181
+ * Undoes the sr-only utility.
3182
+ */
3183
+ export declare const useNotSrOnlyUtility: <T extends Record<string, TokenValue> = {
3184
+ default: true;
3185
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3186
+
3187
+ /**
3188
+ * Create object-fit utility classes.
3189
+ */
3190
+ export declare const useObjectFitUtility: <T extends Record<string, TokenValue> = {
3191
+ contain: string;
3192
+ cover: string;
3193
+ fill: string;
3194
+ none: string;
3195
+ "scale-down": string;
3196
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3197
+
3198
+ /**
3199
+ * Create object-position utility classes.
3200
+ */
3201
+ export declare const useObjectPositionUtility: <T extends Record<string, TokenValue> = {
3202
+ bottom: string;
3203
+ center: string;
3204
+ left: string;
3205
+ "left-bottom": string;
3206
+ "left-top": string;
3207
+ right: string;
3208
+ "right-bottom": string;
3209
+ "right-top": string;
3210
+ top: string;
3211
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3212
+
3213
+ /**
3214
+ * Create opacity utility classes.
3215
+ *
3216
+ * @example
3217
+ * ```typescript
3218
+ * const s = styleframe();
3219
+ * useOpacityUtility(s, {
3220
+ * '0': '0',
3221
+ * '5': '0.05',
3222
+ * '10': '0.1',
3223
+ * '25': '0.25',
3224
+ * '50': '0.5',
3225
+ * '75': '0.75',
3226
+ * '100': '1',
3227
+ * });
3228
+ * ```
3229
+ */
3230
+ export declare const useOpacityUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3231
+
3232
+ /**
3233
+ * Create order utility classes.
3234
+ *
3235
+ * @example
3236
+ * ```typescript
3237
+ * const s = styleframe();
3238
+ * useOrderUtility(s, {
3239
+ * '1': '1',
3240
+ * '2': '2',
3241
+ * first: '-9999',
3242
+ * last: '9999',
3243
+ * none: '0',
3244
+ * });
3245
+ * ```
3246
+ */
3247
+ export declare const useOrderUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3248
+
3249
+ /**
3250
+ * Create outline-color utility classes.
3251
+ */
3252
+ export declare const useOutlineColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3253
+
3254
+ /**
3255
+ * Create outline-offset utility classes.
3256
+ */
3257
+ export declare const useOutlineOffsetUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3258
+
3259
+ /**
3260
+ * Create outline-style utility classes.
3261
+ */
3262
+ export declare const useOutlineStyleUtility: <T extends Record<string, TokenValue> = {
3263
+ none: string;
3264
+ solid: string;
3265
+ dashed: string;
3266
+ dotted: string;
3267
+ double: string;
3268
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3269
+
3270
+ /**
3271
+ * Create outline-width utility classes.
3272
+ *
3273
+ * @example
3274
+ * ```typescript
3275
+ * const s = styleframe();
3276
+ * useOutlineWidthUtility(s, {
3277
+ * '0': '0px',
3278
+ * '1': '1px',
3279
+ * '2': '2px',
3280
+ * '4': '4px',
3281
+ * '8': '8px',
3282
+ * });
3283
+ * ```
3284
+ */
3285
+ export declare const useOutlineWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3286
+
3287
+ /**
3288
+ * Create overflow utility classes.
3289
+ *
3290
+ * @example
3291
+ * ```typescript
3292
+ * const s = styleframe();
3293
+ * useOverflowUtility(s);
3294
+ * // Uses defaults: ._overflow:auto, ._overflow:hidden, etc.
3295
+ * ```
3296
+ */
3297
+ export declare const useOverflowUtility: <T extends Record<string, TokenValue> = {
3298
+ auto: string;
3299
+ hidden: string;
3300
+ clip: string;
3301
+ visible: string;
3302
+ scroll: string;
3303
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3304
+
3305
+ /**
3306
+ * Create overflow-wrap utility classes.
3307
+ */
3308
+ export declare const useOverflowWrapUtility: <T extends Record<string, TokenValue> = {
3309
+ normal: string;
3310
+ "break-word": string;
3311
+ anywhere: string;
3312
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3313
+
3314
+ /**
3315
+ * Create overflow-x utility classes.
3316
+ */
3317
+ export declare const useOverflowXUtility: <T extends Record<string, TokenValue> = {
3318
+ auto: string;
3319
+ hidden: string;
3320
+ clip: string;
3321
+ visible: string;
3322
+ scroll: string;
3323
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3324
+
3325
+ /**
3326
+ * Create overflow-y utility classes.
3327
+ */
3328
+ export declare const useOverflowYUtility: <T extends Record<string, TokenValue> = {
3329
+ auto: string;
3330
+ hidden: string;
3331
+ clip: string;
3332
+ visible: string;
3333
+ scroll: string;
3334
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3335
+
3336
+ /**
3337
+ * Create overscroll-behavior utility classes.
3338
+ */
3339
+ export declare const useOverscrollUtility: <T extends Record<string, TokenValue> = {
3340
+ auto: string;
3341
+ contain: string;
3342
+ none: string;
3343
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3344
+
3345
+ /**
3346
+ * Create overscroll-behavior-x utility classes.
3347
+ */
3348
+ export declare const useOverscrollXUtility: <T extends Record<string, TokenValue> = {
3349
+ auto: string;
3350
+ contain: string;
3351
+ none: string;
3352
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3353
+
3354
+ /**
3355
+ * Create overscroll-behavior-y utility classes.
3356
+ */
3357
+ export declare const useOverscrollYUtility: <T extends Record<string, TokenValue> = {
3358
+ auto: string;
3359
+ contain: string;
3360
+ none: string;
3361
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3362
+
3363
+ /**
3364
+ * Create vertical padding utility classes (top and bottom).
3365
+ */
3366
+ export declare const usePaddingBlockUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3367
+
3368
+ /**
3369
+ * Create padding-bottom utility classes.
3370
+ */
3371
+ export declare const usePaddingBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3372
+
3373
+ /**
3374
+ * Create padding-inline-end utility classes.
3375
+ */
3376
+ export declare const usePaddingInlineEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3377
+
3378
+ /**
3379
+ * Create padding-inline-start utility classes.
3380
+ */
3381
+ export declare const usePaddingInlineStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3382
+
3383
+ /**
3384
+ * Create horizontal padding utility classes (left and right).
3385
+ */
3386
+ export declare const usePaddingInlineUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3387
+
3388
+ /**
3389
+ * Create padding-left utility classes.
3390
+ */
3391
+ export declare const usePaddingLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3392
+
3393
+ /**
3394
+ * Create padding-right utility classes.
3395
+ */
3396
+ export declare const usePaddingRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3397
+
3398
+ /**
3399
+ * Create padding-top utility classes.
3400
+ */
3401
+ export declare const usePaddingTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3402
+
3403
+ /**
3404
+ * Create padding utility classes.
3405
+ *
3406
+ * @example
3407
+ * ```typescript
3408
+ * const s = styleframe();
3409
+ * usePaddingUtility(s, { sm: '0.5rem', md: '1rem', lg: '1.5rem' });
3410
+ * // Generates: ._padding:sm, ._padding:md, ._padding:lg
3411
+ * ```
3412
+ */
3413
+ export declare const usePaddingUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3414
+
3415
+ /**
3416
+ * Create padding-x utility classes (left and right).
3417
+ */
3418
+ export declare const usePaddingXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3419
+
3420
+ /**
3421
+ * Create padding-y utility classes (top and bottom).
3422
+ */
3423
+ export declare const usePaddingYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3424
+
3425
+ /**
3426
+ * Create perspective-origin utility classes.
3427
+ */
3428
+ export declare const usePerspectiveOriginUtility: <T extends Record<string, TokenValue> = {
3429
+ center: string;
3430
+ top: string;
3431
+ "top-right": string;
3432
+ right: string;
3433
+ "bottom-right": string;
3434
+ bottom: string;
3435
+ "bottom-left": string;
3436
+ left: string;
3437
+ "top-left": string;
3438
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3439
+
3440
+ /**
3441
+ * Create perspective utility classes.
3442
+ */
3443
+ export declare const usePerspectiveUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3444
+
3445
+ /**
3446
+ * Create place-content utility classes.
3447
+ */
3448
+ export declare const usePlaceContentUtility: <T extends Record<string, TokenValue> = {
3449
+ center: string;
3450
+ start: string;
3451
+ end: string;
3452
+ between: string;
3453
+ around: string;
3454
+ evenly: string;
3455
+ baseline: string;
3456
+ stretch: string;
3457
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3458
+
3459
+ /**
3460
+ * Create place-items utility classes.
3461
+ */
3462
+ export declare const usePlaceItemsUtility: <T extends Record<string, TokenValue> = {
3463
+ start: string;
3464
+ end: string;
3465
+ center: string;
3466
+ baseline: string;
3467
+ stretch: string;
3468
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3469
+
3470
+ /**
3471
+ * Create place-self utility classes.
3472
+ */
3473
+ export declare const usePlaceSelfUtility: <T extends Record<string, TokenValue> = {
3474
+ auto: string;
3475
+ start: string;
3476
+ end: string;
3477
+ center: string;
3478
+ stretch: string;
3479
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3480
+
3481
+ /**
3482
+ * Create pointer-events utility classes.
3483
+ */
3484
+ export declare const usePointerEventsUtility: <T extends Record<string, TokenValue> = {
3485
+ none: string;
3486
+ auto: string;
3487
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3488
+
3489
+ /**
3490
+ * Create position utility classes.
3491
+ *
3492
+ * @example
3493
+ * ```typescript
3494
+ * const s = styleframe();
3495
+ * usePositionUtility(s);
3496
+ * // Uses defaults: ._position:static, ._position:fixed, etc.
3497
+ * ```
3498
+ */
3499
+ export declare const usePositionUtility: <T extends Record<string, TokenValue> = {
3500
+ static: string;
3501
+ fixed: string;
3502
+ absolute: string;
3503
+ relative: string;
3504
+ sticky: string;
3505
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3506
+
3507
+ /**
3508
+ * Create resize utility classes.
3509
+ */
3510
+ export declare const useResizeUtility: <T extends Record<string, TokenValue> = {
3511
+ none: string;
3512
+ y: string;
3513
+ x: string;
3514
+ both: string;
3515
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3516
+
3517
+ /**
3518
+ * Create right utility classes.
3519
+ */
3520
+ export declare const useRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3521
+
3522
+ /**
3523
+ * Create ring-color utility classes.
3524
+ */
3525
+ export declare const useRingColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3526
+
3527
+ /**
3528
+ * Create ring-inset utility classes.
3529
+ */
3530
+ export declare const useRingInsetUtility: <T extends Record<string, TokenValue> = {
3531
+ default: true;
3532
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3533
+
3534
+ /**
3535
+ * Create ring-offset-color utility classes.
3536
+ */
3537
+ export declare const useRingOffsetColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3538
+
3539
+ /**
3540
+ * Create ring-offset-width utility classes.
3541
+ */
3542
+ export declare const useRingOffsetWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3543
+
3544
+ /**
3545
+ * Create ring-width utility classes.
3546
+ * Uses box-shadow to create a ring effect.
3547
+ *
3548
+ * @example
3549
+ * ```typescript
3550
+ * const s = styleframe();
3551
+ * useRingWidthUtility(s, {
3552
+ * '0': '0px',
3553
+ * '1': '1px',
3554
+ * '2': '2px',
3555
+ * default: '3px',
3556
+ * '4': '4px',
3557
+ * '8': '8px',
3558
+ * });
3559
+ * ```
3560
+ */
3561
+ export declare const useRingWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3562
+
3563
+ /**
3564
+ * Create rotate utility classes.
3565
+ */
3566
+ export declare const useRotateUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3567
+
3568
+ /**
3569
+ * Create rotate-x utility classes.
3570
+ */
3571
+ export declare const useRotateXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3572
+
3573
+ /**
3574
+ * Create rotate-y utility classes.
3575
+ */
3576
+ export declare const useRotateYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3577
+
3578
+ /**
3579
+ * Create saturate utility classes.
3580
+ */
3581
+ export declare const useSaturateUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3582
+
3583
+ /**
3584
+ * Create a set of scale variables for use in a Styleframe instance.
3585
+ *
3586
+ * @usage
3587
+ * ```typescript
3588
+ * import { styleframe } from "styleframe";
3589
+ * import { useScale } from "styleframe/theme";
3590
+ *
3591
+ * const s = styleframe();
211
3592
  *
212
3593
  * const {
213
- * borderColorPrimary, // Variable<'border-color--primary'>
214
- * borderColorSecondary, // Variable<'border-color--secondary'>
215
- * } = useBorderColor(s, {
216
- * primary: ref(colorPrimary),
217
- * secondary: ref(colorSecondary),
3594
+ * scaleMinorSecond,
3595
+ * scaleMajorSecond,
3596
+ * scaleMinorThird,
3597
+ * scaleMajorThird,
3598
+ * scalePerfectFourth,
3599
+ * scaleAugmentedFourth,
3600
+ * scalePerfectFifth,
3601
+ * scaleGolden,
3602
+ * scale,
3603
+ * } = useScale(s, {
3604
+ * default: 1.2,
3605
+ * minorSecond: 1.067,
3606
+ * majorSecond: 1.125,
3607
+ * minorThird: 1.2,
3608
+ * majorThird: 1.25,
3609
+ * perfectFourth: 1.333,
3610
+ * augmentedFourth: 1.414,
3611
+ * perfectFifth: 1.5,
3612
+ * golden: 1.618,
218
3613
  * });
219
3614
  * ```
220
3615
  */
221
- export declare const useBorderColor: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-color", T, "--">;
3616
+ export declare const useScale: <T extends Record<string, TokenValue> = {
3617
+ readonly default: "@minor-third";
3618
+ readonly "minor-second": 1.067;
3619
+ readonly "major-second": 1.125;
3620
+ readonly "minor-third": 1.2;
3621
+ readonly "major-third": 1.25;
3622
+ readonly "perfect-fourth": 1.333;
3623
+ readonly "augmented-fourth": 1.414;
3624
+ readonly "perfect-fifth": 1.5;
3625
+ readonly golden: 1.618;
3626
+ }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"scale", T, ".">;
3627
+
3628
+ export declare function useScalePowers<T extends readonly number[]>(s: Styleframe, scale: Variable | Reference, powers?: T): Record<number, TokenValue>;
3629
+
3630
+ /**
3631
+ * Create scale utility classes.
3632
+ */
3633
+ export declare const useScaleUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3634
+
3635
+ /**
3636
+ * Create scale-x utility classes.
3637
+ */
3638
+ export declare const useScaleXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3639
+
3640
+ /**
3641
+ * Create scale-y utility classes.
3642
+ */
3643
+ export declare const useScaleYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3644
+
3645
+ /**
3646
+ * Create scroll-behavior utility classes.
3647
+ */
3648
+ export declare const useScrollBehaviorUtility: <T extends Record<string, TokenValue> = {
3649
+ auto: string;
3650
+ smooth: string;
3651
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3652
+
3653
+ /**
3654
+ * Create scroll-margin-bottom utility classes.
3655
+ */
3656
+ export declare const useScrollMarginBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3657
+
3658
+ /**
3659
+ * Create scroll-margin-end utility classes.
3660
+ */
3661
+ export declare const useScrollMarginEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3662
+
3663
+ /**
3664
+ * Create scroll-margin-left utility classes.
3665
+ */
3666
+ export declare const useScrollMarginLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3667
+
3668
+ /**
3669
+ * Create scroll-margin-right utility classes.
3670
+ */
3671
+ export declare const useScrollMarginRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3672
+
3673
+ /**
3674
+ * Create scroll-margin-start utility classes.
3675
+ */
3676
+ export declare const useScrollMarginStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3677
+
3678
+ /**
3679
+ * Create scroll-margin-top utility classes.
3680
+ */
3681
+ export declare const useScrollMarginTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3682
+
3683
+ /**
3684
+ * Create scroll-margin utility classes.
3685
+ */
3686
+ export declare const useScrollMarginUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3687
+
3688
+ /**
3689
+ * Create scroll-margin-x utility classes.
3690
+ */
3691
+ export declare const useScrollMarginXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3692
+
3693
+ /**
3694
+ * Create scroll-margin-y utility classes.
3695
+ */
3696
+ export declare const useScrollMarginYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3697
+
3698
+ /**
3699
+ * Create scroll-padding-bottom utility classes.
3700
+ */
3701
+ export declare const useScrollPaddingBottomUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3702
+
3703
+ /**
3704
+ * Create scroll-padding-end utility classes.
3705
+ */
3706
+ export declare const useScrollPaddingEndUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3707
+
3708
+ /**
3709
+ * Create scroll-padding-left utility classes.
3710
+ */
3711
+ export declare const useScrollPaddingLeftUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3712
+
3713
+ /**
3714
+ * Create scroll-padding-right utility classes.
3715
+ */
3716
+ export declare const useScrollPaddingRightUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3717
+
3718
+ /**
3719
+ * Create scroll-padding-start utility classes.
3720
+ */
3721
+ export declare const useScrollPaddingStartUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3722
+
3723
+ /**
3724
+ * Create scroll-padding-top utility classes.
3725
+ */
3726
+ export declare const useScrollPaddingTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3727
+
3728
+ /**
3729
+ * Create scroll-padding utility classes.
3730
+ */
3731
+ export declare const useScrollPaddingUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3732
+
3733
+ /**
3734
+ * Create scroll-padding-x utility classes.
3735
+ */
3736
+ export declare const useScrollPaddingXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3737
+
3738
+ /**
3739
+ * Create scroll-padding-y utility classes.
3740
+ */
3741
+ export declare const useScrollPaddingYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3742
+
3743
+ /**
3744
+ * Create scroll-snap-align utility classes.
3745
+ */
3746
+ export declare const useScrollSnapAlignUtility: <T extends Record<string, TokenValue> = {
3747
+ start: string;
3748
+ end: string;
3749
+ center: string;
3750
+ "align-none": string;
3751
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3752
+
3753
+ /**
3754
+ * Create scroll-snap-stop utility classes.
3755
+ */
3756
+ export declare const useScrollSnapStopUtility: <T extends Record<string, TokenValue> = {
3757
+ normal: string;
3758
+ always: string;
3759
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
222
3760
 
223
3761
  /**
224
- * Create a set of border-radius variables for use in a Styleframe instance.
225
- *
226
- * @usage
227
- * ```typescript
228
- * import { styleframe } from "styleframe";
229
- * import { useBorderRadius } from "styleframe/theme";
230
- *
231
- * const s = styleframe();
232
- *
233
- * const {
234
- * borderRadius, // Variable<'border-radius'>
235
- * borderRadiusSm, // Variable<'border-radius--sm'>
236
- * borderRadiusMd, // Variable<'border-radius--md'>
237
- * borderRadiusLg, // Variable<'border-radius--lg'>
238
- * } = useBorderRadius(s, {
239
- * default: "0.25rem",
240
- * sm: "0.125rem",
241
- * md: "0.25rem",
242
- * lg: "0.5rem",
243
- * });
244
- * ```
3762
+ * Create scroll-snap-type utility classes.
245
3763
  */
246
- export declare const useBorderRadius: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-radius", T, "--">;
3764
+ export declare const useScrollSnapTypeUtility: <T extends Record<string, TokenValue> = {
3765
+ none: string;
3766
+ x: string;
3767
+ y: string;
3768
+ both: string;
3769
+ mandatory: string;
3770
+ proximity: string;
3771
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
247
3772
 
248
3773
  /**
249
- * Create a set of border-style variables for use in a Styleframe instance.
250
- *
251
- * @usage
252
- * ```typescript
253
- * import { styleframe } from "styleframe";
254
- * import { useBorderStyle } from "styleframe/theme";
255
- *
256
- * const s = styleframe();
257
- *
258
- * const {
259
- * borderStyleNone,
260
- * borderStyleSolid,
261
- * borderStyleDashed,
262
- * borderStyleDotted,
263
- * borderStyleDouble,
264
- * borderStyleGroove,
265
- * borderStyleInset,
266
- * borderStyleOutset,
267
- * borderStyle,
268
- * } = useBorderStyle(s, {
269
- * default: "solid",
270
- * none: "none",
271
- * dashed: "dashed",
272
- * dotted: "dotted",
273
- * double: "double",
274
- * groove: "groove",
275
- * inset: "inset",
276
- * outset: "outset",
277
- * });
278
- * ```
3774
+ * Create sepia utility classes.
279
3775
  */
280
- export declare const useBorderStyle: <T extends Record<string, TokenValue> = {
281
- readonly default: "@solid";
282
- readonly none: "none";
283
- readonly solid: "solid";
284
- readonly dashed: "dashed";
285
- readonly dotted: "dotted";
286
- readonly double: "double";
287
- readonly groove: "groove";
288
- readonly inset: "inset";
289
- readonly outset: "outset";
290
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-style", T, "--">;
3776
+ export declare const useSepiaUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
291
3777
 
292
3778
  /**
293
- * Create a set of border-width variables for use in a Styleframe instance.
3779
+ * Create size utility classes (sets both width and height).
294
3780
  *
295
- * @usage
3781
+ * @example
296
3782
  * ```typescript
297
- * import { styleframe } from "styleframe";
298
- * import { useBorderWidth } from "styleframe/theme";
299
- *
300
3783
  * const s = styleframe();
301
- *
302
- * const {
303
- * borderWidthNone,
304
- * borderWidthThin,
305
- * borderWidthMedium,
306
- * borderWidthThick,
307
- * borderWidth,
308
- * } = useBorderWidth(s, {
309
- * default: "thin",
310
- * none: 0,
311
- * thin: "thin",
312
- * medium: "medium",
313
- * thick: "thick",
3784
+ * useSizeUtility(s, {
3785
+ * full: '100%',
3786
+ * '4': '1rem',
3787
+ * '8': '2rem',
314
3788
  * });
3789
+ * // Generates classes that set both width and height
315
3790
  * ```
316
3791
  */
317
- export declare const useBorderWidth: <T extends Record<string, TokenValue> = {
318
- default: string;
319
- none: number;
320
- thin: string;
321
- medium: string;
322
- thick: string;
323
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"border-width", T, "--">;
3792
+ export declare const useSizeUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
324
3793
 
325
3794
  /**
326
- * Create a set of box-shadow variables for use in a Styleframe instance.
327
- *
328
- * @usage
329
- * ```typescript
330
- * import { styleframe } from "styleframe";
331
- * import { useBoxShadow } from "styleframe/theme";
332
- *
333
- * const s = styleframe();
334
- * const { variable } = s;
335
- *
336
- * const boxShadowColor = s.variable("box-shadow-color", "0 0 0");
337
- *
338
- * const {
339
- * boxShadow, // Variable<'box-shadow'>
340
- * boxShadowSm, // Variable<'box-shadow--sm'>
341
- * boxShadowMd, // Variable<'box-shadow--md'>
342
- * boxShadowLg, // Variable<'box-shadow--lg'>
343
- * } = useBoxShadow(s, {
344
- * default: '@md',
345
- * sm: css`0 1px 2px oklcha(${ref(boxShadowColor)} / 0.05)`,
346
- * md: css`0 4px 8px oklcha(${ref(boxShadowColor)} / 0.1)`,
347
- * lg: css`0 8px 16px oklcha(${ref(boxShadowColor)} / 0.15)`,
348
- * });
349
- * ```
3795
+ * Create skew-x utility classes.
350
3796
  */
351
- export declare const useBoxShadow: <T extends Record<string, TokenValue> = {
352
- default: string;
353
- none: string;
354
- xs: string;
355
- sm: string;
356
- md: string;
357
- lg: string;
358
- xl: string;
359
- "2xl": string;
360
- inner: string;
361
- ring: string;
362
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"box-shadow", T, "--">;
3797
+ export declare const useSkewXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
363
3798
 
364
3799
  /**
365
- * Create a set of breakpoint variables for use in a Styleframe instance.
366
- *
367
- * @usage
368
- * ```typescript
369
- * import { styleframe } from "styleframe";
370
- * import { useBreakpoint } from "styleframe/theme";
371
- *
372
- * const s = styleframe();
373
- *
374
- * const {
375
- * breakpointXs, // Variable<'breakpoint--xs'>
376
- * breakpointSm, // Variable<'breakpoint--sm'>
377
- * breakpointMd, // Variable<'breakpoint--md'>
378
- * breakpointLg, // Variable<'breakpoint--lg'>
379
- * breakpointXl, // Variable<'breakpoint--xl'>
380
- * } = useBreakpoint(s, {
381
- * xs: 0,
382
- * sm: 576,
383
- * md: 992,
384
- * lg: 1200,
385
- * xl: 1440,
386
- * });
387
- * ```
3800
+ * Create skew-y utility classes.
388
3801
  */
389
- export declare const useBreakpoint: <T extends Record<string, TokenValue> = {
390
- xs: number;
391
- sm: number;
392
- md: number;
393
- lg: number;
394
- xl: number;
395
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"breakpoint", T, "--">;
3802
+ export declare const useSkewYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
396
3803
 
397
3804
  /**
398
- * Create a set of color variables for use in a Styleframe instance.
3805
+ * Create space-x-reverse utility classes.
3806
+ * Reverses the direction of horizontal spacing.
3807
+ */
3808
+ export declare const useSpaceXReverseUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3809
+
3810
+ /**
3811
+ * Create space-x utility classes (horizontal space between children).
3812
+ * Uses the "lobotomized owl" selector to add margin-left to all but the first child.
399
3813
  *
400
- * @usage
3814
+ * @example
401
3815
  * ```typescript
402
- * import { styleframe } from "styleframe";
403
- * import { useColors } from "styleframe/theme";
404
- *
405
3816
  * const s = styleframe();
406
- *
407
- * const {
408
- * colorPrimary, // Variable<'color--primary'>
409
- * colorSecondary, // Variable<'color--secondary'>
410
- * } = useColors(s, {
411
- * primary: "#007bff",
412
- * secondary: "#6c757d",
413
- * });
3817
+ * useSpaceXUtility(s, { sm: '0.5rem', md: '1rem' });
3818
+ * // Generates: ._space-x:sm > * + *, ._space-x:md > * + *
414
3819
  * ```
415
3820
  */
416
- export declare const useColor: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"color", T, "--">;
3821
+ export declare const useSpaceXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
417
3822
 
418
3823
  /**
419
- * Create a set of lightness levels for a color variable.
3824
+ * Create space-y-reverse utility classes.
3825
+ * Reverses the direction of vertical spacing.
3826
+ */
3827
+ export declare const useSpaceYReverseUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3828
+
3829
+ /**
3830
+ * Create space-y utility classes (vertical space between children).
3831
+ * Uses the "lobotomized owl" selector to add margin-top to all but the first child.
3832
+ */
3833
+ export declare const useSpaceYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3834
+
3835
+ /**
3836
+ * Create a set of spacing variables for use in a Styleframe instance.
420
3837
  *
421
3838
  * @usage
422
3839
  * ```typescript
423
3840
  * import { styleframe } from "styleframe";
424
- * import { useColors } from "styleframe/theme";
3841
+ * import { useSpacing } from "styleframe/theme";
425
3842
  *
426
3843
  * const s = styleframe();
427
3844
  *
428
- * const colorPrimary = s.variable("color--primary", "#007bff");
429
- *
430
3845
  * const {
431
- * colorPrimary100, // Variable<'color--primary-100'>
432
- * colorPrimary200, // Variable<'color--primary-200'>
433
- * colorPrimary300, // Variable<'color--primary-300'>
434
- * ...
435
- * } = useColorLightnessLevels(s, colorPrimary, {
436
- * 100: 10,
437
- * 200: 20,
438
- * 300: 30,
439
- * ...
3846
+ * spacing, // Variable<'spacing'>
3847
+ * spacingSm, // Variable<'spacing.sm'>
3848
+ * spacingMd, // Variable<'spacing.md'>
3849
+ * spacingLg, // Variable<'spacing.lg'>
3850
+ * } = useSpacing(s, {
3851
+ * default: "1rem",
3852
+ * sm: "0.875rem",
3853
+ * md: "1rem",
3854
+ * lg: "1.25rem",
440
3855
  * });
441
3856
  * ```
442
3857
  */
443
- export declare function useColorLightness<Name extends string, T extends Record<string | number, number>>(s: Styleframe, color: Variable<Name>, levels: T): ExportKeys<Name, T, "-">;
3858
+ export declare const useSpacing: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"spacing", T, ".">;
444
3859
 
445
3860
  /**
446
- * Create a set of relative color shade (darker) levels
447
- *
448
- * @usage
449
- * const s = styleframe();
450
- *
451
- * const colorPrimary = s.variable("color--primary", "#007bff");
452
- *
453
- * const {
454
- * colorPrimaryShade50, // Variable<'color--primary-shade-50'>
455
- * colorPrimaryShade100, // Variable<'color--primary-shade-100'>
456
- * colorPrimaryShade150, // Variable<'color--primary-shade-150'>
457
- * ...
458
- * } = useColorShadeLevels(s, colorPrimary, {
459
- * 50: 5,
460
- * 100: 10,
461
- * 150: 15,
462
- * ...
463
- * });
464
- * ```
3861
+ * Create screen-reader only utility class.
3862
+ * Visually hides an element while keeping it accessible to screen readers.
465
3863
  */
466
- export declare function useColorShade<Name extends string, T extends Record<string | number, number>>(s: Styleframe, color: Variable<Name>, levels: T): ExportKeys<`${Name}-shade`, T, "-">;
3864
+ export declare const useSrOnlyUtility: <T extends Record<string, TokenValue> = {
3865
+ default: true;
3866
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
467
3867
 
468
3868
  /**
469
- * Create a set of relative color tint (lighter) levels
470
- *
471
- * @usage
472
- * const s = styleframe();
473
- *
474
- * const colorPrimary = s.variable("color--primary", "#007bff");
475
- *
476
- * const {
477
- * colorPrimaryTint50, // Variable<'color--primary-tint-50'>
478
- * colorPrimaryTint100, // Variable<'color--primary-tint-100'>
479
- * colorPrimaryTint150, // Variable<'color--primary-tint-150'>
480
- * ...
481
- * } = useColorTintLevels(s, colorPrimary, {
482
- * 50: 5,
483
- * 100: 10,
484
- * 150: 15,
485
- * ...
486
- * });
487
- * ```
3869
+ * Create stroke utility classes for SVG elements.
488
3870
  */
489
- export declare function useColorTint<Name extends string, T extends Record<string | number, number>>(s: Styleframe, color: Variable<Name>, levels: T): ExportKeys<`${Name}-tint`, T, "-">;
3871
+ export declare const useStrokeUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
490
3872
 
491
3873
  /**
492
- * Create a set of font family variables for use in a Styleframe instance.
3874
+ * Create stroke-width utility classes for SVG elements.
3875
+ */
3876
+ export declare const useStrokeWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3877
+
3878
+ /**
3879
+ * Create table-layout utility classes.
3880
+ */
3881
+ export declare const useTableLayoutUtility: <T extends Record<string, TokenValue> = {
3882
+ auto: string;
3883
+ fixed: string;
3884
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3885
+
3886
+ /**
3887
+ * Create text-align utility classes.
3888
+ */
3889
+ export declare const useTextAlignUtility: <T extends Record<string, TokenValue> = {
3890
+ left: string;
3891
+ center: string;
3892
+ right: string;
3893
+ justify: string;
3894
+ start: string;
3895
+ end: string;
3896
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3897
+
3898
+ /**
3899
+ * Create text-color utility classes.
493
3900
  *
494
- * @usage
3901
+ * @example
495
3902
  * ```typescript
496
- * import { styleframe } from "styleframe";
497
- * import { useFontFamily } from "styleframe/theme";
498
- *
499
3903
  * const s = styleframe();
500
- *
501
- * const {
502
- * fontFamily, // Variable<'font-family'>
503
- * fontFamilyPrint, // Variable<'font-family--print'>
504
- * fontFamilyMono, // Variable<'font-family--mono'>
505
- * } = useFontFamily(s, {
506
- * default: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
507
- * print: "'Georgia', 'Times New Roman', 'Times', serif",
508
- * mono: "'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
3904
+ * useTextColorUtility(s, {
3905
+ * inherit: 'inherit',
3906
+ * current: 'currentColor',
3907
+ * transparent: 'transparent',
3908
+ * black: '#000',
3909
+ * white: '#fff',
509
3910
  * });
510
3911
  * ```
511
3912
  */
512
- export declare const useFontFamily: <T extends Record<string, TokenValue> = {
513
- default: string;
514
- base: string;
515
- print: string;
516
- mono: string;
517
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"font-family", T, "--">;
3913
+ export declare const useTextColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
518
3914
 
519
3915
  /**
520
- * Create a set of font-size variables for use in a Styleframe instance.
521
- *
522
- * @usage
523
- * ```typescript
524
- * import { styleframe } from "styleframe";
525
- * import { useFontSize } from "styleframe/theme";
3916
+ * Create text-decoration-color utility classes.
3917
+ */
3918
+ export declare const useTextDecorationColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3919
+
3920
+ /**
3921
+ * Create text-decoration-line utility classes.
3922
+ */
3923
+ export declare const useTextDecorationLineUtility: <T extends Record<string, TokenValue> = {
3924
+ underline: string;
3925
+ overline: string;
3926
+ "line-through": string;
3927
+ "no-underline": string;
3928
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3929
+
3930
+ /**
3931
+ * Create text-decoration-style utility classes.
3932
+ */
3933
+ export declare const useTextDecorationStyleUtility: <T extends Record<string, TokenValue> = {
3934
+ solid: string;
3935
+ double: string;
3936
+ dotted: string;
3937
+ dashed: string;
3938
+ wavy: string;
3939
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3940
+
3941
+ /**
3942
+ * Create text-decoration-thickness utility classes.
3943
+ */
3944
+ export declare const useTextDecorationThicknessUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3945
+
3946
+ /**
3947
+ * Create text-indent utility classes.
526
3948
  *
3949
+ * @example
3950
+ * ```typescript
527
3951
  * const s = styleframe();
528
- *
529
- * const {
530
- * fontSize, // Variable<'font-size'>
531
- * fontSizeSm, // Variable<'font-size--sm'>
532
- * fontSizeMd, // Variable<'font-size--md'>
533
- * fontSizeLg, // Variable<'font-size--lg'>
534
- * } = useFontSize(s, {
535
- * default: "1rem",
536
- * sm: "0.875rem",
537
- * md: "1rem",
538
- * lg: "1.25rem",
3952
+ * useTextIndentUtility(s, {
3953
+ * '0': '0px',
3954
+ * '1': '0.25rem',
3955
+ * '2': '0.5rem',
3956
+ * '4': '1rem',
539
3957
  * });
540
3958
  * ```
541
3959
  */
542
- export declare const useFontSize: <T extends Record<string, TokenValue> = {
543
- default: string;
544
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"font-size", T, "--">;
3960
+ export declare const useTextIndentUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
545
3961
 
546
3962
  /**
547
- * Create a set of font-weight variables for use in a Styleframe instance.
3963
+ * Create text-overflow utility classes.
3964
+ */
3965
+ export declare const useTextOverflowUtility: <T extends Record<string, TokenValue> = {
3966
+ truncate: string;
3967
+ "text-ellipsis": string;
3968
+ "text-clip": string;
3969
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3970
+
3971
+ /**
3972
+ * Create text-shadow-color utility classes.
3973
+ */
3974
+ export declare const useTextShadowColorUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
3975
+
3976
+ /**
3977
+ * Create text-shadow utility classes.
548
3978
  *
549
- * @usage
3979
+ * @example
550
3980
  * ```typescript
551
- * import { styleframe } from "styleframe";
552
- * import { useFontWeight } from "styleframe/theme";
553
- *
554
3981
  * const s = styleframe();
555
- *
556
- * const {
557
- * fontWeightExtralight,
558
- * fontWeightLight,
559
- * fontWeightNormal,
560
- * fontWeightMedium,
561
- * fontWeightSemibold,
562
- * fontWeightBold,
563
- * fontWeightBlack,
564
- * fontWeightLighter,
565
- * fontWeightBolder,
566
- * fontWeight,
567
- * } = useFontWeight(s, {
568
- * default: "normal",
569
- * extralight: 200,
570
- * light: 300,
571
- * normal: "normal",
572
- * medium: 500,
573
- * semibold: 600,
574
- * bold: 700,
575
- * black: 900,
576
- * lighter: "lighter",
577
- * bolder: "bolder",
578
- * inherit: "inherit",
3982
+ * useTextShadowUtility(s, {
3983
+ * sm: '0 1px 2px var(--tw-text-shadow-color, rgb(0 0 0 / 0.05))',
3984
+ * default: '0 1px 3px var(--tw-text-shadow-color, rgb(0 0 0 / 0.1))',
3985
+ * md: '0 2px 4px var(--tw-text-shadow-color, rgb(0 0 0 / 0.1))',
3986
+ * lg: '0 4px 8px var(--tw-text-shadow-color, rgb(0 0 0 / 0.1))',
3987
+ * none: 'none',
579
3988
  * });
580
3989
  * ```
581
3990
  */
582
- export declare const useFontWeight: <T extends Record<string, TokenValue> = {
583
- default: string;
584
- extralight: number;
585
- light: number;
586
- normal: string;
587
- medium: number;
588
- semibold: number;
589
- bold: string;
590
- black: number;
591
- lighter: string;
592
- bolder: string;
593
- inherit: string;
594
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"font-weight", T, "--">;
3991
+ export declare const useTextShadowUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
595
3992
 
596
3993
  /**
597
- * Create a set of letter-spacing variables for use in a Styleframe instance.
3994
+ * Create text-transform utility classes.
3995
+ */
3996
+ export declare const useTextTransformUtility: <T extends Record<string, TokenValue> = {
3997
+ uppercase: string;
3998
+ lowercase: string;
3999
+ capitalize: string;
4000
+ "normal-case": string;
4001
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4002
+
4003
+ /**
4004
+ * Create text-underline-offset utility classes.
598
4005
  *
599
- * @usage
4006
+ * @example
600
4007
  * ```typescript
601
- * import { styleframe } from "styleframe";
602
- * import { useLetterSpacing } from "styleframe/theme";
603
- *
604
4008
  * const s = styleframe();
605
- *
606
- * const {
607
- * letterSpacingTighter,
608
- * letterSpacingTight,
609
- * letterSpacingNormal,
610
- * letterSpacingWide,
611
- * letterSpacingWider,
612
- * letterSpacing,
613
- * } = useLetterSpacing(s, {
614
- * default: "normal",
615
- * tighter: "-0.05em",
616
- * tight: "-0.025em",
617
- * normal: "normal",
618
- * wide: "0.05em",
619
- * wider: "0.1em",
4009
+ * useTextUnderlineOffsetUtility(s, {
4010
+ * auto: 'auto',
4011
+ * '0': '0px',
4012
+ * '1': '1px',
4013
+ * '2': '2px',
4014
+ * '4': '4px',
4015
+ * '8': '8px',
620
4016
  * });
621
4017
  * ```
622
4018
  */
623
- export declare const useLetterSpacing: <T extends Record<string, TokenValue> = {
624
- default: string;
625
- tighter: string;
626
- tight: string;
4019
+ export declare const useTextUnderlineOffsetUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4020
+
4021
+ /**
4022
+ * Create text-wrap utility classes.
4023
+ */
4024
+ export declare const useTextWrapUtility: <T extends Record<string, TokenValue> = {
4025
+ wrap: string;
4026
+ nowrap: string;
4027
+ balance: string;
4028
+ pretty: string;
4029
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4030
+
4031
+ /**
4032
+ * Create top utility classes.
4033
+ */
4034
+ export declare const useTopUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4035
+
4036
+ /**
4037
+ * Create touch-action utility classes.
4038
+ */
4039
+ export declare const useTouchActionUtility: <T extends Record<string, TokenValue> = {
4040
+ auto: string;
4041
+ none: string;
4042
+ "pan-x": string;
4043
+ "pan-left": string;
4044
+ "pan-right": string;
4045
+ "pan-y": string;
4046
+ "pan-up": string;
4047
+ "pan-down": string;
4048
+ "pinch-zoom": string;
4049
+ manipulation: string;
4050
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4051
+
4052
+ /**
4053
+ * Create transform-origin utility classes.
4054
+ */
4055
+ export declare const useTransformOriginUtility: <T extends Record<string, TokenValue> = {
4056
+ center: string;
4057
+ top: string;
4058
+ "top-right": string;
4059
+ right: string;
4060
+ "bottom-right": string;
4061
+ bottom: string;
4062
+ "bottom-left": string;
4063
+ left: string;
4064
+ "top-left": string;
4065
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4066
+
4067
+ /**
4068
+ * Create transform-style utility classes.
4069
+ */
4070
+ export declare const useTransformStyleUtility: <T extends Record<string, TokenValue> = {
4071
+ flat: string;
4072
+ "3d": string;
4073
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4074
+
4075
+ /**
4076
+ * Create transition-behavior utility classes.
4077
+ */
4078
+ export declare const useTransitionBehaviorUtility: <T extends Record<string, TokenValue> = {
627
4079
  normal: string;
628
- wide: string;
629
- wider: string;
630
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"letter-spacing", T, "--">;
4080
+ "allow-discrete": string;
4081
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
631
4082
 
632
4083
  /**
633
- * Create a set of line-height variables for use in a Styleframe instance.
4084
+ * Create transition-delay utility classes.
4085
+ */
4086
+ export declare const useTransitionDelayUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4087
+
4088
+ /**
4089
+ * Create transition-duration utility classes.
4090
+ */
4091
+ export declare const useTransitionDurationUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4092
+
4093
+ /**
4094
+ * Create transition-property utility classes.
4095
+ */
4096
+ export declare const useTransitionPropertyUtility: <T extends Record<string, TokenValue> = {
4097
+ none: string;
4098
+ all: string;
4099
+ default: string;
4100
+ colors: string;
4101
+ opacity: string;
4102
+ shadow: string;
4103
+ transform: string;
4104
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4105
+
4106
+ /**
4107
+ * Create transition-timing-function utility classes.
4108
+ */
4109
+ export declare const useTransitionTimingFunctionUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4110
+
4111
+ /**
4112
+ * Create translate utility classes (both x and y).
4113
+ */
4114
+ export declare const useTranslateUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4115
+
4116
+ /**
4117
+ * Create translate-x utility classes.
4118
+ */
4119
+ export declare const useTranslateXUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4120
+
4121
+ /**
4122
+ * Create translate-y utility classes.
4123
+ */
4124
+ export declare const useTranslateYUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4125
+
4126
+ /**
4127
+ * Create translate-z utility classes.
4128
+ */
4129
+ export declare const useTranslateZUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4130
+
4131
+ /**
4132
+ * Create user-select utility classes.
4133
+ */
4134
+ export declare const useUserSelectUtility: <T extends Record<string, TokenValue> = {
4135
+ none: string;
4136
+ text: string;
4137
+ all: string;
4138
+ auto: string;
4139
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4140
+
4141
+ /**
4142
+ * Register all utility factories with the Styleframe instance and return their creator functions.
634
4143
  *
635
- * @usage
4144
+ * This function is useful when you want to register all utilities at once for use with recipes.
4145
+ * Each utility factory is registered without default values, allowing recipes to automatically
4146
+ * generate utility classes based on the values used in recipe declarations.
4147
+ *
4148
+ * @example
636
4149
  * ```typescript
637
4150
  * import { styleframe } from "styleframe";
638
- * import { useLineHeight } from "styleframe/theme";
4151
+ * import { useUtilities } from "@styleframe/theme";
639
4152
  *
640
4153
  * const s = styleframe();
641
- *
642
4154
  * const {
643
- * lineHeightTight,
644
- * lineHeightSnug,
645
- * lineHeightNormal,
646
- * lineHeightRelaxed,
647
- * lineHeightLoose,
648
- * lineHeight,
649
- * } = useLineHeight(s, {
650
- * default: "normal",
651
- * tight: 1.2,
652
- * snug: 1.35,
653
- * normal: 1.5,
654
- * relaxed: 1.65,
655
- * loose: 1.9,
4155
+ * createMarginUtility,
4156
+ * createPaddingUtility,
4157
+ * createDisplayUtility,
4158
+ * // ... all other utilities
4159
+ * } = useUtilities(s);
4160
+ *
4161
+ * // Now you can use the creator functions to define utility values
4162
+ * createMarginUtility({ sm: '0.5rem', md: '1rem', lg: '1.5rem' });
4163
+ * createPaddingUtility({ sm: '0.5rem', md: '1rem', lg: '1.5rem' });
4164
+ *
4165
+ * // Or use them in recipes - utilities are already registered
4166
+ * s.recipe({
4167
+ * name: 'button',
4168
+ * base: { display: 'flex' },
4169
+ * variants: {
4170
+ * size: {
4171
+ * sm: { padding: '0.5rem' },
4172
+ * md: { padding: '1rem' },
4173
+ * },
4174
+ * },
656
4175
  * });
657
4176
  * ```
658
4177
  */
659
- export declare const useLineHeight: <T extends Record<string, TokenValue> = {
660
- default: string;
661
- tight: number;
662
- snug: number;
663
- normal: number;
664
- relaxed: number;
665
- loose: number;
666
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"line-height", T, "--">;
4178
+ export declare function useUtilities(s: Styleframe): {
4179
+ createForcedColorAdjustUtility: UtilityCreatorFn;
4180
+ createNotSrOnlyUtility: UtilityCreatorFn;
4181
+ createSrOnlyUtility: UtilityCreatorFn;
4182
+ createBackgroundAttachmentUtility: UtilityCreatorFn;
4183
+ createBackgroundClipUtility: UtilityCreatorFn;
4184
+ createBackgroundColorUtility: UtilityCreatorFn;
4185
+ createBackgroundImageUtility: UtilityCreatorFn;
4186
+ createBackgroundOriginUtility: UtilityCreatorFn;
4187
+ createBackgroundPositionUtility: UtilityCreatorFn;
4188
+ createBackgroundRepeatUtility: UtilityCreatorFn;
4189
+ createBackgroundSizeUtility: UtilityCreatorFn;
4190
+ createGradientFromUtility: UtilityCreatorFn;
4191
+ createGradientToUtility: UtilityCreatorFn;
4192
+ createGradientViaUtility: UtilityCreatorFn;
4193
+ createBorderColorBottomUtility: UtilityCreatorFn;
4194
+ createBorderColorEndUtility: UtilityCreatorFn;
4195
+ createBorderColorLeftUtility: UtilityCreatorFn;
4196
+ createBorderColorRightUtility: UtilityCreatorFn;
4197
+ createBorderColorStartUtility: UtilityCreatorFn;
4198
+ createBorderColorTopUtility: UtilityCreatorFn;
4199
+ createBorderColorUtility: UtilityCreatorFn;
4200
+ createBorderColorXUtility: UtilityCreatorFn;
4201
+ createBorderColorYUtility: UtilityCreatorFn;
4202
+ createBorderRadiusBottomLeftUtility: UtilityCreatorFn;
4203
+ createBorderRadiusBottomRightUtility: UtilityCreatorFn;
4204
+ createBorderRadiusBottomUtility: UtilityCreatorFn;
4205
+ createBorderRadiusEndEndUtility: UtilityCreatorFn;
4206
+ createBorderRadiusEndStartUtility: UtilityCreatorFn;
4207
+ createBorderRadiusEndUtility: UtilityCreatorFn;
4208
+ createBorderRadiusLeftUtility: UtilityCreatorFn;
4209
+ createBorderRadiusRightUtility: UtilityCreatorFn;
4210
+ createBorderRadiusStartEndUtility: UtilityCreatorFn;
4211
+ createBorderRadiusStartStartUtility: UtilityCreatorFn;
4212
+ createBorderRadiusStartUtility: UtilityCreatorFn;
4213
+ createBorderRadiusTopLeftUtility: UtilityCreatorFn;
4214
+ createBorderRadiusTopRightUtility: UtilityCreatorFn;
4215
+ createBorderRadiusTopUtility: UtilityCreatorFn;
4216
+ createBorderRadiusUtility: UtilityCreatorFn;
4217
+ createBorderStyleUtility: UtilityCreatorFn;
4218
+ createBorderWidthBottomUtility: UtilityCreatorFn;
4219
+ createBorderWidthEndUtility: UtilityCreatorFn;
4220
+ createBorderWidthLeftUtility: UtilityCreatorFn;
4221
+ createBorderWidthRightUtility: UtilityCreatorFn;
4222
+ createBorderWidthStartUtility: UtilityCreatorFn;
4223
+ createBorderWidthTopUtility: UtilityCreatorFn;
4224
+ createBorderWidthUtility: UtilityCreatorFn;
4225
+ createBorderWidthXUtility: UtilityCreatorFn;
4226
+ createBorderWidthYUtility: UtilityCreatorFn;
4227
+ createDivideColorUtility: UtilityCreatorFn;
4228
+ createDivideStyleUtility: UtilityCreatorFn;
4229
+ createDivideXReverseUtility: UtilityCreatorFn;
4230
+ createDivideXUtility: UtilityCreatorFn;
4231
+ createDivideYReverseUtility: UtilityCreatorFn;
4232
+ createDivideYUtility: UtilityCreatorFn;
4233
+ createOutlineColorUtility: UtilityCreatorFn;
4234
+ createOutlineOffsetUtility: UtilityCreatorFn;
4235
+ createOutlineStyleUtility: UtilityCreatorFn;
4236
+ createOutlineWidthUtility: UtilityCreatorFn;
4237
+ createRingColorUtility: UtilityCreatorFn;
4238
+ createRingInsetUtility: UtilityCreatorFn;
4239
+ createRingOffsetColorUtility: UtilityCreatorFn;
4240
+ createRingOffsetWidthUtility: UtilityCreatorFn;
4241
+ createRingWidthUtility: UtilityCreatorFn;
4242
+ createBackgroundBlendModeUtility: UtilityCreatorFn;
4243
+ createBoxShadowColorUtility: UtilityCreatorFn;
4244
+ createBoxShadowUtility: UtilityCreatorFn;
4245
+ createMixBlendModeUtility: UtilityCreatorFn;
4246
+ createOpacityUtility: UtilityCreatorFn;
4247
+ createTextShadowColorUtility: UtilityCreatorFn;
4248
+ createTextShadowUtility: UtilityCreatorFn;
4249
+ createBackdropBlurUtility: UtilityCreatorFn;
4250
+ createBackdropBrightnessUtility: UtilityCreatorFn;
4251
+ createBackdropContrastUtility: UtilityCreatorFn;
4252
+ createBackdropGrayscaleUtility: UtilityCreatorFn;
4253
+ createBackdropHueRotateUtility: UtilityCreatorFn;
4254
+ createBackdropInvertUtility: UtilityCreatorFn;
4255
+ createBackdropOpacityUtility: UtilityCreatorFn;
4256
+ createBackdropSaturateUtility: UtilityCreatorFn;
4257
+ createBackdropSepiaUtility: UtilityCreatorFn;
4258
+ createBlurUtility: UtilityCreatorFn;
4259
+ createBrightnessUtility: UtilityCreatorFn;
4260
+ createContrastUtility: UtilityCreatorFn;
4261
+ createDropShadowUtility: UtilityCreatorFn;
4262
+ createGrayscaleUtility: UtilityCreatorFn;
4263
+ createHueRotateUtility: UtilityCreatorFn;
4264
+ createInvertUtility: UtilityCreatorFn;
4265
+ createSaturateUtility: UtilityCreatorFn;
4266
+ createSepiaUtility: UtilityCreatorFn;
4267
+ createAlignContentUtility: UtilityCreatorFn;
4268
+ createAlignItemsUtility: UtilityCreatorFn;
4269
+ createAlignSelfUtility: UtilityCreatorFn;
4270
+ createFlexBasisUtility: UtilityCreatorFn;
4271
+ createFlexDirectionUtility: UtilityCreatorFn;
4272
+ createFlexGrowUtility: UtilityCreatorFn;
4273
+ createFlexShrinkUtility: UtilityCreatorFn;
4274
+ createFlexUtility: UtilityCreatorFn;
4275
+ createFlexWrapUtility: UtilityCreatorFn;
4276
+ createGapUtility: UtilityCreatorFn;
4277
+ createGapXUtility: UtilityCreatorFn;
4278
+ createGapYUtility: UtilityCreatorFn;
4279
+ createGridAutoColumnsUtility: UtilityCreatorFn;
4280
+ createGridAutoFlowUtility: UtilityCreatorFn;
4281
+ createGridAutoRowsUtility: UtilityCreatorFn;
4282
+ createGridColumnEndUtility: UtilityCreatorFn;
4283
+ createGridColumnStartUtility: UtilityCreatorFn;
4284
+ createGridColumnUtility: UtilityCreatorFn;
4285
+ createGridRowEndUtility: UtilityCreatorFn;
4286
+ createGridRowStartUtility: UtilityCreatorFn;
4287
+ createGridRowUtility: UtilityCreatorFn;
4288
+ createGridTemplateColumnsUtility: UtilityCreatorFn;
4289
+ createGridTemplateRowsUtility: UtilityCreatorFn;
4290
+ createJustifyContentUtility: UtilityCreatorFn;
4291
+ createJustifyItemsUtility: UtilityCreatorFn;
4292
+ createJustifySelfUtility: UtilityCreatorFn;
4293
+ createOrderUtility: UtilityCreatorFn;
4294
+ createPlaceContentUtility: UtilityCreatorFn;
4295
+ createPlaceItemsUtility: UtilityCreatorFn;
4296
+ createPlaceSelfUtility: UtilityCreatorFn;
4297
+ createAccentColorUtility: UtilityCreatorFn;
4298
+ createAppearanceUtility: UtilityCreatorFn;
4299
+ createCaretColorUtility: UtilityCreatorFn;
4300
+ createColorSchemeUtility: UtilityCreatorFn;
4301
+ createCursorUtility: UtilityCreatorFn;
4302
+ createPointerEventsUtility: UtilityCreatorFn;
4303
+ createResizeUtility: UtilityCreatorFn;
4304
+ createScrollBehaviorUtility: UtilityCreatorFn;
4305
+ createScrollMarginBottomUtility: UtilityCreatorFn;
4306
+ createScrollMarginEndUtility: UtilityCreatorFn;
4307
+ createScrollMarginLeftUtility: UtilityCreatorFn;
4308
+ createScrollMarginRightUtility: UtilityCreatorFn;
4309
+ createScrollMarginStartUtility: UtilityCreatorFn;
4310
+ createScrollMarginTopUtility: UtilityCreatorFn;
4311
+ createScrollMarginUtility: UtilityCreatorFn;
4312
+ createScrollMarginXUtility: UtilityCreatorFn;
4313
+ createScrollMarginYUtility: UtilityCreatorFn;
4314
+ createScrollPaddingBottomUtility: UtilityCreatorFn;
4315
+ createScrollPaddingEndUtility: UtilityCreatorFn;
4316
+ createScrollPaddingLeftUtility: UtilityCreatorFn;
4317
+ createScrollPaddingRightUtility: UtilityCreatorFn;
4318
+ createScrollPaddingStartUtility: UtilityCreatorFn;
4319
+ createScrollPaddingTopUtility: UtilityCreatorFn;
4320
+ createScrollPaddingUtility: UtilityCreatorFn;
4321
+ createScrollPaddingXUtility: UtilityCreatorFn;
4322
+ createScrollPaddingYUtility: UtilityCreatorFn;
4323
+ createScrollSnapAlignUtility: UtilityCreatorFn;
4324
+ createScrollSnapStopUtility: UtilityCreatorFn;
4325
+ createScrollSnapTypeUtility: UtilityCreatorFn;
4326
+ createTouchActionUtility: UtilityCreatorFn;
4327
+ createUserSelectUtility: UtilityCreatorFn;
4328
+ createWillChangeUtility: UtilityCreatorFn;
4329
+ createAspectRatioUtility: UtilityCreatorFn;
4330
+ createBottomUtility: UtilityCreatorFn;
4331
+ createBoxDecorationBreakUtility: UtilityCreatorFn;
4332
+ createBoxSizingUtility: UtilityCreatorFn;
4333
+ createBreakAfterUtility: UtilityCreatorFn;
4334
+ createBreakBeforeUtility: UtilityCreatorFn;
4335
+ createBreakInsideUtility: UtilityCreatorFn;
4336
+ createClearUtility: UtilityCreatorFn;
4337
+ createColumnsUtility: UtilityCreatorFn;
4338
+ createDisplayUtility: UtilityCreatorFn;
4339
+ createFloatUtility: UtilityCreatorFn;
4340
+ createInsetEndUtility: UtilityCreatorFn;
4341
+ createInsetStartUtility: UtilityCreatorFn;
4342
+ createInsetUtility: UtilityCreatorFn;
4343
+ createInsetXUtility: UtilityCreatorFn;
4344
+ createInsetYUtility: UtilityCreatorFn;
4345
+ createIsolationUtility: UtilityCreatorFn;
4346
+ createLeftUtility: UtilityCreatorFn;
4347
+ createObjectFitUtility: UtilityCreatorFn;
4348
+ createObjectPositionUtility: UtilityCreatorFn;
4349
+ createOverflowUtility: UtilityCreatorFn;
4350
+ createOverflowXUtility: UtilityCreatorFn;
4351
+ createOverflowYUtility: UtilityCreatorFn;
4352
+ createOverscrollUtility: UtilityCreatorFn;
4353
+ createOverscrollXUtility: UtilityCreatorFn;
4354
+ createOverscrollYUtility: UtilityCreatorFn;
4355
+ createPositionUtility: UtilityCreatorFn;
4356
+ createRightUtility: UtilityCreatorFn;
4357
+ createTopUtility: UtilityCreatorFn;
4358
+ createVisibilityUtility: UtilityCreatorFn;
4359
+ createZIndexUtility: UtilityCreatorFn;
4360
+ createHeightUtility: UtilityCreatorFn;
4361
+ createMaxHeightUtility: UtilityCreatorFn;
4362
+ createMaxWidthUtility: UtilityCreatorFn;
4363
+ createMinHeightUtility: UtilityCreatorFn;
4364
+ createMinWidthUtility: UtilityCreatorFn;
4365
+ createSizeUtility: UtilityCreatorFn;
4366
+ createWidthUtility: UtilityCreatorFn;
4367
+ createMarginBlockUtility: UtilityCreatorFn;
4368
+ createMarginBottomUtility: UtilityCreatorFn;
4369
+ createMarginInlineEndUtility: UtilityCreatorFn;
4370
+ createMarginInlineStartUtility: UtilityCreatorFn;
4371
+ createMarginInlineUtility: UtilityCreatorFn;
4372
+ createMarginLeftUtility: UtilityCreatorFn;
4373
+ createMarginRightUtility: UtilityCreatorFn;
4374
+ createMarginTopUtility: UtilityCreatorFn;
4375
+ createMarginUtility: UtilityCreatorFn;
4376
+ createMarginXUtility: UtilityCreatorFn;
4377
+ createMarginYUtility: UtilityCreatorFn;
4378
+ createPaddingBlockUtility: UtilityCreatorFn;
4379
+ createPaddingBottomUtility: UtilityCreatorFn;
4380
+ createPaddingInlineEndUtility: UtilityCreatorFn;
4381
+ createPaddingInlineStartUtility: UtilityCreatorFn;
4382
+ createPaddingInlineUtility: UtilityCreatorFn;
4383
+ createPaddingLeftUtility: UtilityCreatorFn;
4384
+ createPaddingRightUtility: UtilityCreatorFn;
4385
+ createPaddingTopUtility: UtilityCreatorFn;
4386
+ createPaddingUtility: UtilityCreatorFn;
4387
+ createPaddingXUtility: UtilityCreatorFn;
4388
+ createPaddingYUtility: UtilityCreatorFn;
4389
+ createSpaceXReverseUtility: UtilityCreatorFn;
4390
+ createSpaceXUtility: UtilityCreatorFn;
4391
+ createSpaceYReverseUtility: UtilityCreatorFn;
4392
+ createSpaceYUtility: UtilityCreatorFn;
4393
+ createFillUtility: UtilityCreatorFn;
4394
+ createStrokeUtility: UtilityCreatorFn;
4395
+ createStrokeWidthUtility: UtilityCreatorFn;
4396
+ createBorderCollapseUtility: UtilityCreatorFn;
4397
+ createBorderSpacingUtility: UtilityCreatorFn;
4398
+ createBorderSpacingXUtility: UtilityCreatorFn;
4399
+ createBorderSpacingYUtility: UtilityCreatorFn;
4400
+ createCaptionSideUtility: UtilityCreatorFn;
4401
+ createTableLayoutUtility: UtilityCreatorFn;
4402
+ createBackfaceVisibilityUtility: UtilityCreatorFn;
4403
+ createPerspectiveOriginUtility: UtilityCreatorFn;
4404
+ createPerspectiveUtility: UtilityCreatorFn;
4405
+ createRotateUtility: UtilityCreatorFn;
4406
+ createRotateXUtility: UtilityCreatorFn;
4407
+ createRotateYUtility: UtilityCreatorFn;
4408
+ createScaleUtility: UtilityCreatorFn;
4409
+ createScaleXUtility: UtilityCreatorFn;
4410
+ createScaleYUtility: UtilityCreatorFn;
4411
+ createSkewXUtility: UtilityCreatorFn;
4412
+ createSkewYUtility: UtilityCreatorFn;
4413
+ createTransformOriginUtility: UtilityCreatorFn;
4414
+ createTransformStyleUtility: UtilityCreatorFn;
4415
+ createTranslateUtility: UtilityCreatorFn;
4416
+ createTranslateXUtility: UtilityCreatorFn;
4417
+ createTranslateYUtility: UtilityCreatorFn;
4418
+ createTranslateZUtility: UtilityCreatorFn;
4419
+ createAnimationUtility: UtilityCreatorFn;
4420
+ createTransitionBehaviorUtility: UtilityCreatorFn;
4421
+ createTransitionDelayUtility: UtilityCreatorFn;
4422
+ createTransitionDurationUtility: UtilityCreatorFn;
4423
+ createTransitionPropertyUtility: UtilityCreatorFn;
4424
+ createTransitionTimingFunctionUtility: UtilityCreatorFn;
4425
+ createColorUtility: UtilityCreatorFn;
4426
+ createContentUtility: UtilityCreatorFn;
4427
+ createFontFamilyUtility: UtilityCreatorFn;
4428
+ createFontSizeUtility: UtilityCreatorFn;
4429
+ createFontSmoothingUtility: UtilityCreatorFn;
4430
+ createFontStretchUtility: UtilityCreatorFn;
4431
+ createFontStyleUtility: UtilityCreatorFn;
4432
+ createFontVariantNumericUtility: UtilityCreatorFn;
4433
+ createFontWeightUtility: UtilityCreatorFn;
4434
+ createHyphensUtility: UtilityCreatorFn;
4435
+ createLetterSpacingUtility: UtilityCreatorFn;
4436
+ createLineClampUtility: UtilityCreatorFn;
4437
+ createLineHeightUtility: UtilityCreatorFn;
4438
+ createListStyleImageUtility: UtilityCreatorFn;
4439
+ createListStylePositionUtility: UtilityCreatorFn;
4440
+ createListStyleTypeUtility: UtilityCreatorFn;
4441
+ createOverflowWrapUtility: UtilityCreatorFn;
4442
+ createTextAlignUtility: UtilityCreatorFn;
4443
+ createTextColorUtility: UtilityCreatorFn;
4444
+ createTextDecorationColorUtility: UtilityCreatorFn;
4445
+ createTextDecorationLineUtility: UtilityCreatorFn;
4446
+ createTextDecorationStyleUtility: UtilityCreatorFn;
4447
+ createTextDecorationThicknessUtility: UtilityCreatorFn;
4448
+ createTextIndentUtility: UtilityCreatorFn;
4449
+ createTextOverflowUtility: UtilityCreatorFn;
4450
+ createTextTransformUtility: UtilityCreatorFn;
4451
+ createTextUnderlineOffsetUtility: UtilityCreatorFn;
4452
+ createTextWrapUtility: UtilityCreatorFn;
4453
+ createVerticalAlignUtility: UtilityCreatorFn;
4454
+ createWhitespaceUtility: UtilityCreatorFn;
4455
+ createWordBreakUtility: UtilityCreatorFn;
4456
+ };
667
4457
 
668
4458
  /**
669
- * Create a font-size scale for use in a Styleframe instance.
4459
+ * Create vertical-align utility classes.
4460
+ */
4461
+ export declare const useVerticalAlignUtility: <T extends Record<string, TokenValue> = {
4462
+ baseline: string;
4463
+ top: string;
4464
+ middle: string;
4465
+ bottom: string;
4466
+ "text-top": string;
4467
+ "text-bottom": string;
4468
+ sub: string;
4469
+ super: string;
4470
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4471
+
4472
+ /**
4473
+ * Create visibility utility classes.
670
4474
  *
671
- * @usage
4475
+ * @example
672
4476
  * ```typescript
673
- * import { styleframe } from "styleframe";
674
- * import { useFontSize, useScale, useScalePowers, useMultiplier } from "styleframe/theme";
675
- *
676
4477
  * const s = styleframe();
677
- *
678
- * const { scale } = useScale(s);
679
- * const { fontSize } = useFontSize(s);
680
- *
681
- * const scalePowers = useScalePowers(s, scale, defaultScalePowerValues);
682
- *
683
- * const {
684
- * fontSizeXs, // Variable<'font-size--xs'>
685
- * fontSizeSm, // Variable<'font-size--sm'>
686
- * fontSizeMd, // Variable<'font-size--md'>
687
- * fontSizeLg, // Variable<'font-size--lg'>
688
- * fontSizeXl, // Variable<'font-size--xl'>
689
- * } = useMultiplier(s, fontSize, {
690
- * xs: scalePowers[-2],
691
- * sm: scalePowers[-1],
692
- * md: scalePowers[0],
693
- * lg: scalePowers[1],
694
- * xl: scalePowers[2],
695
- * });
4478
+ * useVisibilityUtility(s);
4479
+ * // Uses defaults: ._visibility:visible, ._visibility:invisible, ._visibility:collapse
696
4480
  * ```
697
4481
  */
698
- export declare function useMultiplier<Name extends string, T extends Record<string | number, TokenValue>>(s: Styleframe, variable: Variable<Name>, values: T): ExportKeys<Name, T>;
4482
+ export declare const useVisibilityUtility: <T extends Record<string, TokenValue> = {
4483
+ visible: string;
4484
+ invisible: string;
4485
+ collapse: string;
4486
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
699
4487
 
700
4488
  /**
701
- * Create a set of scale variables for use in a Styleframe instance.
4489
+ * Create white-space utility classes.
4490
+ */
4491
+ export declare const useWhitespaceUtility: <T extends Record<string, TokenValue> = {
4492
+ normal: string;
4493
+ nowrap: string;
4494
+ pre: string;
4495
+ "pre-line": string;
4496
+ "pre-wrap": string;
4497
+ "break-spaces": string;
4498
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4499
+
4500
+ /**
4501
+ * Create width utility classes.
702
4502
  *
703
- * @usage
4503
+ * @example
704
4504
  * ```typescript
705
- * import { styleframe } from "styleframe";
706
- * import { useScale } from "styleframe/theme";
707
- *
708
4505
  * const s = styleframe();
709
- *
710
- * const {
711
- * scaleMinorSecond,
712
- * scaleMajorSecond,
713
- * scaleMinorThird,
714
- * scaleMajorThird,
715
- * scalePerfectFourth,
716
- * scaleAugmentedFourth,
717
- * scalePerfectFifth,
718
- * scaleGolden,
719
- * scale,
720
- * } = useScale(s, {
721
- * default: 1.2,
722
- * minorSecond: 1.067,
723
- * majorSecond: 1.125,
724
- * minorThird: 1.2,
725
- * majorThird: 1.25,
726
- * perfectFourth: 1.333,
727
- * augmentedFourth: 1.414,
728
- * perfectFifth: 1.5,
729
- * golden: 1.618,
4506
+ * useWidthUtility(s, {
4507
+ * full: '100%',
4508
+ * screen: '100vw',
4509
+ * auto: 'auto',
4510
+ * '1/2': '50%',
4511
+ * '1/3': '33.333333%',
730
4512
  * });
731
4513
  * ```
732
4514
  */
733
- export declare const useScale: <T extends Record<string, TokenValue> = {
734
- readonly default: "@minor-third";
735
- readonly "minor-second": 1.067;
736
- readonly "major-second": 1.125;
737
- readonly "minor-third": 1.2;
738
- readonly "major-third": 1.25;
739
- readonly "perfect-fourth": 1.333;
740
- readonly "augmented-fourth": 1.414;
741
- readonly "perfect-fifth": 1.5;
742
- readonly golden: 1.618;
743
- }>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"scale", T, "--">;
4515
+ export declare const useWidthUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
744
4516
 
745
- export declare function useScalePowers<T extends readonly number[]>(s: Styleframe, scale: Variable | Reference, powers?: T): Record<number, TokenValue>;
4517
+ /**
4518
+ * Create will-change utility classes.
4519
+ */
4520
+ export declare const useWillChangeUtility: <T extends Record<string, TokenValue> = {
4521
+ auto: string;
4522
+ scroll: string;
4523
+ contents: string;
4524
+ transform: string;
4525
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
746
4526
 
747
4527
  /**
748
- * Create a set of spacing variables for use in a Styleframe instance.
4528
+ * Create word-break utility classes.
4529
+ */
4530
+ export declare const useWordBreakUtility: <T extends Record<string, TokenValue> = {
4531
+ normal: string;
4532
+ words: string;
4533
+ all: string;
4534
+ keep: string;
4535
+ }>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
4536
+
4537
+ /**
4538
+ * Create z-index utility classes.
749
4539
  *
750
- * @usage
4540
+ * @example
751
4541
  * ```typescript
752
- * import { styleframe } from "styleframe";
753
- * import { useSpacing } from "styleframe/theme";
754
- *
755
4542
  * const s = styleframe();
756
- *
757
- * const {
758
- * spacing, // Variable<'spacing'>
759
- * spacingSm, // Variable<'spacing--sm'>
760
- * spacingMd, // Variable<'spacing--md'>
761
- * spacingLg, // Variable<'spacing--lg'>
762
- * } = useSpacing(s, {
763
- * default: "1rem",
764
- * sm: "0.875rem",
765
- * md: "1rem",
766
- * lg: "1.25rem",
4543
+ * useZIndexUtility(s, {
4544
+ * '0': '0',
4545
+ * '10': '10',
4546
+ * '20': '20',
4547
+ * '30': '30',
4548
+ * '40': '40',
4549
+ * '50': '50',
4550
+ * auto: 'auto',
767
4551
  * });
768
4552
  * ```
769
4553
  */
770
- export declare const useSpacing: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, tokens?: T | undefined) => ExportKeys<"spacing", T, "--">;
4554
+ export declare const useZIndexUtility: <T extends Record<string, TokenValue> = Record<string, TokenValue>>(s: Styleframe, values?: T | undefined, modifiers?: ModifierFactory[]) => UtilityCreatorFn;
771
4555
 
772
4556
  export { }