@tectra-ng/themes 0.1.0 → 0.1.2

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.
@@ -1,4 +1,4 @@
1
- import { TectraAccent, TectraColorScale, TectraSurfaceScale } from "@tectra-ng/tokens";
1
+ import { TectraColorScale, TectraPrimary, TectraSurface, TectraSurfaceScale } from "@tectra-ng/tokens";
2
2
  export type TectraDeepPartial<T> = { [K in keyof T]?: T[K] extends object ? TectraDeepPartial<T[K]> : T[K]; };
3
3
  export interface TectraSeverityTokens {
4
4
  base: string;
@@ -122,6 +122,10 @@ export declare const COMPONENT_TOKENS: {
122
122
  };
123
123
  focusRing: {
124
124
  shadow: string;
125
+ width: string;
126
+ style: string;
127
+ color: string;
128
+ offset: string;
125
129
  };
126
130
  invalidFocusRing: {
127
131
  shadow: string;
@@ -489,6 +493,8 @@ export declare const COMPONENT_TOKENS: {
489
493
  };
490
494
  list: {
491
495
  padding: string;
496
+ paddingBlock: string;
497
+ paddingInline: string;
492
498
  gap: string;
493
499
  maxHeight: string;
494
500
  };
@@ -497,6 +503,7 @@ export declare const COMPONENT_TOKENS: {
497
503
  gap: string;
498
504
  borderRadius: string;
499
505
  color: string;
506
+ focusColor: string;
500
507
  focusBackground: string;
501
508
  selectedBackground: string;
502
509
  selectedColor: string;
@@ -505,6 +512,12 @@ export declare const COMPONENT_TOKENS: {
505
512
  selectedFontWeight: string;
506
513
  disabledColor: string;
507
514
  checkColor: string;
515
+ multiple: {
516
+ selectedBackground: string;
517
+ selectedFocusBackground: string;
518
+ selectedColor: string;
519
+ selectedFocusColor: string;
520
+ };
508
521
  };
509
522
  checkbox: {
510
523
  size: string;
@@ -542,8 +555,10 @@ export declare const COMPONENT_TOKENS: {
542
555
  minHeight: string;
543
556
  };
544
557
  dropdownButton: {
558
+ width: string;
545
559
  background: string;
546
560
  hoverBackground: string;
561
+ activeBackground: string;
547
562
  color: string;
548
563
  hoverColor: string;
549
564
  };
@@ -589,6 +604,8 @@ export declare const COMPONENT_TOKENS: {
589
604
  largeSize: string;
590
605
  borderRadius: string;
591
606
  ring: string;
607
+ ringGutter: string;
608
+ loadingBackground: string;
592
609
  nameColor: string;
593
610
  hintColor: string;
594
611
  countColor: string;
@@ -645,12 +662,70 @@ export declare const COMPONENT_TOKENS: {
645
662
  };
646
663
  tree: {
647
664
  root: {
665
+ background: string;
666
+ color: string;
667
+ padding: string;
668
+ gap: string;
648
669
  indent: string;
670
+ transitionDuration: string;
671
+ };
672
+ node: {
673
+ padding: string;
674
+ borderRadius: string;
675
+ hoverBackground: string;
676
+ selectedBackground: string;
677
+ color: string;
678
+ hoverColor: string;
679
+ selectedColor: string;
649
680
  gap: string;
650
- togglerSize: string;
651
- togglerColor: string;
652
- togglerHoverBackground: string;
653
- iconColor: string;
681
+ focusRing: {
682
+ width: string;
683
+ style: string;
684
+ color: string;
685
+ offset: string;
686
+ shadow: string;
687
+ };
688
+ };
689
+ nodeIcon: {
690
+ color: string;
691
+ hoverColor: string;
692
+ selectedColor: string;
693
+ };
694
+ nodeLabel: {
695
+ fontWeight: string;
696
+ selectedFontWeight: string;
697
+ fontSize: string;
698
+ };
699
+ nodeToggleButton: {
700
+ borderRadius: string;
701
+ size: string;
702
+ hoverBackground: string;
703
+ selectedHoverBackground: string;
704
+ color: string;
705
+ hoverColor: string;
706
+ selectedHoverColor: string;
707
+ focusRing: {
708
+ width: string;
709
+ style: string;
710
+ color: string;
711
+ offset: string;
712
+ };
713
+ };
714
+ loadingIcon: {
715
+ size: string;
716
+ };
717
+ filter: {
718
+ margin: string;
719
+ };
720
+ mask: {
721
+ background: string;
722
+ };
723
+ dropPoint: {
724
+ color: string;
725
+ };
726
+ expansion: {
727
+ duration: string;
728
+ easing: string;
654
729
  };
655
730
  };
656
731
  cascadeSelect: {
@@ -786,6 +861,8 @@ export declare const COMPONENT_TOKENS: {
786
861
  borderRadius: string;
787
862
  borderColor: string;
788
863
  borderTint: string;
864
+ borderWidth: string;
865
+ outlinedBorderWidth: string;
789
866
  background: string;
790
867
  backgroundTint: string;
791
868
  color: string;
@@ -811,6 +888,9 @@ export declare const COMPONENT_TOKENS: {
811
888
  hoverColor: string;
812
889
  hoverBackground: string;
813
890
  fontSize: string;
891
+ focusRingWidth: string;
892
+ focusRingOffset: string;
893
+ focusRingShadow: string;
814
894
  };
815
895
  sm: {
816
896
  gap: string;
@@ -1029,6 +1109,11 @@ export declare const COMPONENT_TOKENS: {
1029
1109
  height: string;
1030
1110
  gutter: string;
1031
1111
  borderRadius: string;
1112
+ borderWidth: string;
1113
+ borderColor: string;
1114
+ hoverBorderColor: string;
1115
+ checkedBorderColor: string;
1116
+ checkedHoverBorderColor: string;
1032
1117
  background: string;
1033
1118
  hoverBackground: string;
1034
1119
  checkedBackground: string;
@@ -1126,6 +1211,7 @@ export declare const COMPONENT_TOKENS: {
1126
1211
  activeBackground: string;
1127
1212
  color: string;
1128
1213
  hoverColor: string;
1214
+ activeColor: string;
1129
1215
  borderColor: string;
1130
1216
  iconSize: string;
1131
1217
  };
@@ -1189,6 +1275,7 @@ export declare const COMPONENT_TOKENS: {
1189
1275
  handle: {
1190
1276
  size: string;
1191
1277
  background: string;
1278
+ hoverBackground: string;
1192
1279
  borderColor: string;
1193
1280
  borderWidth: string;
1194
1281
  shadow: string;
@@ -1311,27 +1398,35 @@ export declare const COMPONENT_TOKENS: {
1311
1398
  };
1312
1399
  primary: {
1313
1400
  color: string;
1401
+ background: string;
1314
1402
  };
1315
1403
  secondary: {
1316
1404
  color: string;
1405
+ background: string;
1317
1406
  };
1318
1407
  success: {
1319
1408
  color: string;
1409
+ background: string;
1320
1410
  };
1321
1411
  info: {
1322
1412
  color: string;
1413
+ background: string;
1323
1414
  };
1324
1415
  warn: {
1325
1416
  color: string;
1417
+ background: string;
1326
1418
  };
1327
1419
  danger: {
1328
1420
  color: string;
1421
+ background: string;
1329
1422
  };
1330
1423
  help: {
1331
1424
  color: string;
1425
+ background: string;
1332
1426
  };
1333
1427
  contrast: {
1334
1428
  color: string;
1429
+ background: string;
1335
1430
  };
1336
1431
  };
1337
1432
  chip: {
@@ -1350,6 +1445,9 @@ export declare const COMPONENT_TOKENS: {
1350
1445
  removeHoverColor: string;
1351
1446
  removeHoverBackground: string;
1352
1447
  focusRingColor: string;
1448
+ focusRingWidth: string;
1449
+ focusRingOffset: string;
1450
+ focusRingShadow: string;
1353
1451
  };
1354
1452
  };
1355
1453
  progressBar: {
@@ -1531,6 +1629,14 @@ export declare const COMPONENT_TOKENS: {
1531
1629
  legendFontSize: string;
1532
1630
  legendFontWeight: string;
1533
1631
  legendHoverBackground: string;
1632
+ legendFocusBackground: string;
1633
+ legendBackground: string;
1634
+ legendBorderColor: string;
1635
+ legendBorderRadius: string;
1636
+ togglePadding: string;
1637
+ focusRingWidth: string;
1638
+ focusRingOffset: string;
1639
+ focusRingShadow: string;
1534
1640
  transitionDuration: string;
1535
1641
  };
1536
1642
  };
@@ -1897,6 +2003,7 @@ export declare const COMPONENT_TOKENS: {
1897
2003
  fontWeight: string;
1898
2004
  focusBackground: string;
1899
2005
  focusColor: string;
2006
+ activeBackground: string;
1900
2007
  disabledOpacity: string;
1901
2008
  dangerColor: string;
1902
2009
  dangerFocusBackground: string;
@@ -1998,6 +2105,7 @@ export declare const COMPONENT_TOKENS: {
1998
2105
  style: string;
1999
2106
  color: string;
2000
2107
  offset: string;
2108
+ shadow: string;
2001
2109
  };
2002
2110
  };
2003
2111
  currentPageReport: {
@@ -2040,6 +2148,13 @@ export declare const COMPONENT_TOKENS: {
2040
2148
  fontSize: string;
2041
2149
  fontWeight: string;
2042
2150
  gap: string;
2151
+ focusRing: {
2152
+ width: string;
2153
+ style: string;
2154
+ color: string;
2155
+ offset: string;
2156
+ shadow: string;
2157
+ };
2043
2158
  sm: {
2044
2159
  padding: string;
2045
2160
  };
@@ -2068,6 +2183,7 @@ export declare const COMPONENT_TOKENS: {
2068
2183
  style: string;
2069
2184
  color: string;
2070
2185
  offset: string;
2186
+ shadow: string;
2071
2187
  };
2072
2188
  };
2073
2189
  bodyCell: {
@@ -2143,6 +2259,13 @@ export declare const COMPONENT_TOKENS: {
2143
2259
  color: string;
2144
2260
  hoverColor: string;
2145
2261
  hoverBackground: string;
2262
+ focusRing: {
2263
+ width: string;
2264
+ style: string;
2265
+ color: string;
2266
+ offset: string;
2267
+ shadow: string;
2268
+ };
2146
2269
  };
2147
2270
  paginator: {
2148
2271
  marginTop: string;
@@ -2182,6 +2305,57 @@ export declare const COMPONENT_TOKENS: {
2182
2305
  actionsPadding: string;
2183
2306
  };
2184
2307
  };
2308
+ treeTable: {
2309
+ node: {
2310
+ indent: string;
2311
+ gap: string;
2312
+ };
2313
+ };
2314
+ dataView: {
2315
+ root: {
2316
+ background: string;
2317
+ color: string;
2318
+ borderColor: string;
2319
+ borderWidth: string;
2320
+ borderRadius: string;
2321
+ transitionDuration: string;
2322
+ };
2323
+ header: {
2324
+ background: string;
2325
+ color: string;
2326
+ padding: string;
2327
+ borderRadius: string;
2328
+ };
2329
+ footer: {
2330
+ background: string;
2331
+ color: string;
2332
+ padding: string;
2333
+ borderRadius: string;
2334
+ };
2335
+ empty: {
2336
+ padding: string;
2337
+ color: string;
2338
+ };
2339
+ loading: {
2340
+ blur: string;
2341
+ background: string;
2342
+ };
2343
+ layoutSwitch: {
2344
+ gap: string;
2345
+ };
2346
+ };
2347
+ virtualScroller: {
2348
+ root: {
2349
+ focusRingWidth: string;
2350
+ focusRingColor: string;
2351
+ focusRingOffset: string;
2352
+ };
2353
+ loader: {
2354
+ background: string;
2355
+ color: string;
2356
+ iconSize: string;
2357
+ };
2358
+ };
2185
2359
  };
2186
2360
  export type TectraComponentTokens = typeof COMPONENT_TOKENS;
2187
2361
  export interface TectraPalettes {
@@ -2194,6 +2368,7 @@ export interface TectraPreset {
2194
2368
  light: TectraSemanticTokens;
2195
2369
  dark: TectraSemanticTokens;
2196
2370
  components: TectraComponentTokens;
2371
+ css?: string;
2197
2372
  }
2198
2373
  export interface TectraCssVariable {
2199
2374
  name: string;
@@ -2509,6 +2684,10 @@ export declare const formFieldTokens: {
2509
2684
  };
2510
2685
  focusRing: {
2511
2686
  shadow: string;
2687
+ width: string;
2688
+ style: string;
2689
+ color: string;
2690
+ offset: string;
2512
2691
  };
2513
2692
  invalidFocusRing: {
2514
2693
  shadow: string;
@@ -2616,6 +2795,8 @@ export declare const selectTokens: {
2616
2795
  };
2617
2796
  list: {
2618
2797
  padding: string;
2798
+ paddingBlock: string;
2799
+ paddingInline: string;
2619
2800
  gap: string;
2620
2801
  maxHeight: string;
2621
2802
  };
@@ -2624,6 +2805,7 @@ export declare const selectTokens: {
2624
2805
  gap: string;
2625
2806
  borderRadius: string;
2626
2807
  color: string;
2808
+ focusColor: string;
2627
2809
  focusBackground: string;
2628
2810
  selectedBackground: string;
2629
2811
  selectedColor: string;
@@ -2632,6 +2814,12 @@ export declare const selectTokens: {
2632
2814
  selectedFontWeight: string;
2633
2815
  disabledColor: string;
2634
2816
  checkColor: string;
2817
+ multiple: {
2818
+ selectedBackground: string;
2819
+ selectedFocusBackground: string;
2820
+ selectedColor: string;
2821
+ selectedFocusColor: string;
2822
+ };
2635
2823
  };
2636
2824
  checkbox: {
2637
2825
  size: string;
@@ -2669,8 +2857,10 @@ export declare const selectTokens: {
2669
2857
  minHeight: string;
2670
2858
  };
2671
2859
  dropdownButton: {
2860
+ width: string;
2672
2861
  background: string;
2673
2862
  hoverBackground: string;
2863
+ activeBackground: string;
2674
2864
  color: string;
2675
2865
  hoverColor: string;
2676
2866
  };
@@ -2719,6 +2909,8 @@ export declare const countryTokens: {
2719
2909
  largeSize: string;
2720
2910
  borderRadius: string;
2721
2911
  ring: string;
2912
+ ringGutter: string;
2913
+ loadingBackground: string;
2722
2914
  nameColor: string;
2723
2915
  hintColor: string;
2724
2916
  countColor: string;
@@ -2776,17 +2968,6 @@ export declare const mentionTokens: {
2776
2968
  };
2777
2969
  };
2778
2970
  export type TectraMentionTokens = typeof mentionTokens;
2779
- export declare const treeTokens: {
2780
- root: {
2781
- indent: string;
2782
- gap: string;
2783
- togglerSize: string;
2784
- togglerColor: string;
2785
- togglerHoverBackground: string;
2786
- iconColor: string;
2787
- };
2788
- };
2789
- export type TectraTreeTokens = typeof treeTokens;
2790
2971
  export declare const cascadeSelectTokens: {
2791
2972
  root: {
2792
2973
  columnWidth: string;
@@ -2869,6 +3050,8 @@ export declare const messageTokens: {
2869
3050
  borderRadius: string;
2870
3051
  borderColor: string;
2871
3052
  borderTint: string;
3053
+ borderWidth: string;
3054
+ outlinedBorderWidth: string;
2872
3055
  background: string;
2873
3056
  backgroundTint: string;
2874
3057
  color: string;
@@ -2894,6 +3077,9 @@ export declare const messageTokens: {
2894
3077
  hoverColor: string;
2895
3078
  hoverBackground: string;
2896
3079
  fontSize: string;
3080
+ focusRingWidth: string;
3081
+ focusRingOffset: string;
3082
+ focusRingShadow: string;
2897
3083
  };
2898
3084
  sm: {
2899
3085
  gap: string;
@@ -3118,6 +3304,11 @@ export declare const toggleSwitchTokens: {
3118
3304
  height: string;
3119
3305
  gutter: string;
3120
3306
  borderRadius: string;
3307
+ borderWidth: string;
3308
+ borderColor: string;
3309
+ hoverBorderColor: string;
3310
+ checkedBorderColor: string;
3311
+ checkedHoverBorderColor: string;
3121
3312
  background: string;
3122
3313
  hoverBackground: string;
3123
3314
  checkedBackground: string;
@@ -3218,6 +3409,7 @@ export declare const inputNumberTokens: {
3218
3409
  activeBackground: string;
3219
3410
  color: string;
3220
3411
  hoverColor: string;
3412
+ activeColor: string;
3221
3413
  borderColor: string;
3222
3414
  iconSize: string;
3223
3415
  };
@@ -3284,6 +3476,7 @@ export declare const sliderTokens: {
3284
3476
  handle: {
3285
3477
  size: string;
3286
3478
  background: string;
3479
+ hoverBackground: string;
3287
3480
  borderColor: string;
3288
3481
  borderWidth: string;
3289
3482
  shadow: string;
@@ -3409,27 +3602,35 @@ export declare const tagTokens: {
3409
3602
  };
3410
3603
  primary: {
3411
3604
  color: string;
3605
+ background: string;
3412
3606
  };
3413
3607
  secondary: {
3414
3608
  color: string;
3609
+ background: string;
3415
3610
  };
3416
3611
  success: {
3417
3612
  color: string;
3613
+ background: string;
3418
3614
  };
3419
3615
  info: {
3420
3616
  color: string;
3617
+ background: string;
3421
3618
  };
3422
3619
  warn: {
3423
3620
  color: string;
3621
+ background: string;
3424
3622
  };
3425
3623
  danger: {
3426
3624
  color: string;
3625
+ background: string;
3427
3626
  };
3428
3627
  help: {
3429
3628
  color: string;
3629
+ background: string;
3430
3630
  };
3431
3631
  contrast: {
3432
3632
  color: string;
3633
+ background: string;
3433
3634
  };
3434
3635
  };
3435
3636
  export declare const chipTokens: {
@@ -3448,6 +3649,9 @@ export declare const chipTokens: {
3448
3649
  removeHoverColor: string;
3449
3650
  removeHoverBackground: string;
3450
3651
  focusRingColor: string;
3652
+ focusRingWidth: string;
3653
+ focusRingOffset: string;
3654
+ focusRingShadow: string;
3451
3655
  };
3452
3656
  };
3453
3657
  export type TectraTagTokens = typeof tagTokens;
@@ -3635,6 +3839,14 @@ export declare const fieldsetTokens: {
3635
3839
  legendFontSize: string;
3636
3840
  legendFontWeight: string;
3637
3841
  legendHoverBackground: string;
3842
+ legendFocusBackground: string;
3843
+ legendBackground: string;
3844
+ legendBorderColor: string;
3845
+ legendBorderRadius: string;
3846
+ togglePadding: string;
3847
+ focusRingWidth: string;
3848
+ focusRingOffset: string;
3849
+ focusRingShadow: string;
3638
3850
  transitionDuration: string;
3639
3851
  };
3640
3852
  };
@@ -4015,6 +4227,7 @@ export declare const menuTokens: {
4015
4227
  fontWeight: string;
4016
4228
  focusBackground: string;
4017
4229
  focusColor: string;
4230
+ activeBackground: string;
4018
4231
  disabledOpacity: string;
4019
4232
  dangerColor: string;
4020
4233
  dangerFocusBackground: string;
@@ -4119,6 +4332,7 @@ export declare const paginatorTokens: {
4119
4332
  style: string;
4120
4333
  color: string;
4121
4334
  offset: string;
4335
+ shadow: string;
4122
4336
  };
4123
4337
  };
4124
4338
  currentPageReport: {
@@ -4162,6 +4376,13 @@ export declare const tableTokens: {
4162
4376
  fontSize: string;
4163
4377
  fontWeight: string;
4164
4378
  gap: string;
4379
+ focusRing: {
4380
+ width: string;
4381
+ style: string;
4382
+ color: string;
4383
+ offset: string;
4384
+ shadow: string;
4385
+ };
4165
4386
  sm: {
4166
4387
  padding: string;
4167
4388
  };
@@ -4190,6 +4411,7 @@ export declare const tableTokens: {
4190
4411
  style: string;
4191
4412
  color: string;
4192
4413
  offset: string;
4414
+ shadow: string;
4193
4415
  };
4194
4416
  };
4195
4417
  bodyCell: {
@@ -4265,6 +4487,13 @@ export declare const tableTokens: {
4265
4487
  color: string;
4266
4488
  hoverColor: string;
4267
4489
  hoverBackground: string;
4490
+ focusRing: {
4491
+ width: string;
4492
+ style: string;
4493
+ color: string;
4494
+ offset: string;
4495
+ shadow: string;
4496
+ };
4268
4497
  };
4269
4498
  paginator: {
4270
4499
  marginTop: string;
@@ -4305,6 +4534,129 @@ export declare const tableTokens: {
4305
4534
  };
4306
4535
  };
4307
4536
  export type TectraTableTokens = typeof tableTokens;
4537
+ export declare const treeTokens: {
4538
+ root: {
4539
+ background: string;
4540
+ color: string;
4541
+ padding: string;
4542
+ gap: string;
4543
+ indent: string;
4544
+ transitionDuration: string;
4545
+ };
4546
+ node: {
4547
+ padding: string;
4548
+ borderRadius: string;
4549
+ hoverBackground: string;
4550
+ selectedBackground: string;
4551
+ color: string;
4552
+ hoverColor: string;
4553
+ selectedColor: string;
4554
+ gap: string;
4555
+ focusRing: {
4556
+ width: string;
4557
+ style: string;
4558
+ color: string;
4559
+ offset: string;
4560
+ shadow: string;
4561
+ };
4562
+ };
4563
+ nodeIcon: {
4564
+ color: string;
4565
+ hoverColor: string;
4566
+ selectedColor: string;
4567
+ };
4568
+ nodeLabel: {
4569
+ fontWeight: string;
4570
+ selectedFontWeight: string;
4571
+ fontSize: string;
4572
+ };
4573
+ nodeToggleButton: {
4574
+ borderRadius: string;
4575
+ size: string;
4576
+ hoverBackground: string;
4577
+ selectedHoverBackground: string;
4578
+ color: string;
4579
+ hoverColor: string;
4580
+ selectedHoverColor: string;
4581
+ focusRing: {
4582
+ width: string;
4583
+ style: string;
4584
+ color: string;
4585
+ offset: string;
4586
+ };
4587
+ };
4588
+ loadingIcon: {
4589
+ size: string;
4590
+ };
4591
+ filter: {
4592
+ margin: string;
4593
+ };
4594
+ mask: {
4595
+ background: string;
4596
+ };
4597
+ dropPoint: {
4598
+ color: string;
4599
+ };
4600
+ expansion: {
4601
+ duration: string;
4602
+ easing: string;
4603
+ };
4604
+ };
4605
+ export type TectraTreeTokens = typeof treeTokens;
4606
+ export declare const treeTableTokens: {
4607
+ node: {
4608
+ indent: string;
4609
+ gap: string;
4610
+ };
4611
+ };
4612
+ export type TectraTreeTableTokens = typeof treeTableTokens;
4613
+ export declare const dataViewTokens: {
4614
+ root: {
4615
+ background: string;
4616
+ color: string;
4617
+ borderColor: string;
4618
+ borderWidth: string;
4619
+ borderRadius: string;
4620
+ transitionDuration: string;
4621
+ };
4622
+ header: {
4623
+ background: string;
4624
+ color: string;
4625
+ padding: string;
4626
+ borderRadius: string;
4627
+ };
4628
+ footer: {
4629
+ background: string;
4630
+ color: string;
4631
+ padding: string;
4632
+ borderRadius: string;
4633
+ };
4634
+ empty: {
4635
+ padding: string;
4636
+ color: string;
4637
+ };
4638
+ loading: {
4639
+ blur: string;
4640
+ background: string;
4641
+ };
4642
+ layoutSwitch: {
4643
+ gap: string;
4644
+ };
4645
+ };
4646
+ export type TectraDataViewTokens = typeof dataViewTokens;
4647
+ export declare const virtualScrollerTokens: {
4648
+ root: {
4649
+ focusRingWidth: string;
4650
+ focusRingColor: string;
4651
+ focusRingOffset: string;
4652
+ };
4653
+ loader: {
4654
+ background: string;
4655
+ color: string;
4656
+ iconSize: string;
4657
+ };
4658
+ };
4659
+ export type TectraVirtualScrollerTokens = typeof virtualScrollerTokens;
4308
4660
  export declare const iconTokens: {
4309
4661
  root: {
4310
4662
  size: string;
@@ -4377,8 +4729,34 @@ export declare const toggleButtonTokens: {
4377
4729
  };
4378
4730
  };
4379
4731
  export type TectraToggleButtonTokens = typeof toggleButtonTokens;
4380
- export declare function createInkPreset(accent?: TectraAccent): TectraPreset;
4381
- export declare const InkPreset: TectraPreset;
4732
+ export interface TectraStyle {
4733
+ label: string;
4734
+ light?: (palettes: TectraPalettes) => TectraDeepPartial<TectraSemanticTokens>;
4735
+ dark?: (palettes: TectraPalettes) => TectraDeepPartial<TectraSemanticTokens>;
4736
+ components?: TectraDeepPartial<TectraComponentTokens>;
4737
+ css?: string;
4738
+ }
4739
+ export declare function relativeLuminance(hex: string): number;
4740
+ export declare function contrastWithWhite(hex: string): number;
4741
+ export declare function primaryBaseStep(scale: TectraColorScale): 600 | 700;
4742
+ export declare const TECTRA_STYLES: {
4743
+ tectra: TectraStyle;
4744
+ soft: TectraStyle;
4745
+ edge: TectraStyle;
4746
+ paper: TectraStyle;
4747
+ };
4748
+ export type TectraStyleName = keyof typeof TECTRA_STYLES;
4749
+ export interface TectraPresetOptions {
4750
+ style?: TectraStyleName;
4751
+ primary?: TectraPrimary;
4752
+ surface?: TectraSurface;
4753
+ }
4754
+ export declare function noirScale(surface: TectraSurfaceScale): TectraColorScale;
4755
+ export declare function createTectraPreset({ style, primary, surface }?: TectraPresetOptions): TectraPreset;
4756
+ export declare const Tectra: TectraPreset;
4757
+ export declare const Soft: TectraPreset;
4758
+ export declare const Edge: TectraPreset;
4759
+ export declare const Paper: TectraPreset;
4382
4760
  export declare function deepMerge<T>(base: T, overrides: TectraDeepPartial<T> | undefined): T;
4383
4761
  export declare function definePreset(base: TectraPreset, overrides: TectraDeepPartial<TectraPreset>): TectraPreset;
4384
4762
  export declare function toCssVariables(tokens: object, prefix?: string): TectraCssVariable[];