@aziontech/theme 4.2.0 → 4.3.1

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.
Files changed (55) hide show
  1. package/README.md +110 -335
  2. package/dist/v4/globals.css +249 -72
  3. package/dist/v4/globals.scss +249 -72
  4. package/package.json +4 -13
  5. package/src/scripts/build-tokens.mjs +57 -7
  6. package/src/scripts/compile-primitives.js +9 -5
  7. package/src/scripts/compile-theme.js +12 -6
  8. package/src/scripts/refs.d.ts +1 -0
  9. package/src/scripts/refs.d.ts.map +1 -1
  10. package/src/scripts/refs.js +11 -0
  11. package/src/scripts/zero-unit.mjs +64 -0
  12. package/src/tokens/README.md +44 -29
  13. package/src/tokens/index.d.ts +0 -1
  14. package/src/tokens/index.js +0 -1
  15. package/src/tokens/primitives/animations/animate.d.ts +6 -0
  16. package/src/tokens/primitives/animations/animate.d.ts.map +1 -1
  17. package/src/tokens/primitives/animations/animate.js +14 -3
  18. package/src/tokens/primitives/animations/keyframes.d.ts +13 -1
  19. package/src/tokens/primitives/animations/keyframes.d.ts.map +1 -1
  20. package/src/tokens/primitives/animations/keyframes.js +23 -4
  21. package/src/tokens/primitives/colors/colors.d.ts +4 -0
  22. package/src/tokens/primitives/colors/colors.d.ts.map +1 -1
  23. package/src/tokens/primitives/colors/colors.js +9 -0
  24. package/src/tokens/primitives/shape/container.d.ts.map +1 -1
  25. package/src/tokens/primitives/shape/container.js +30 -13
  26. package/src/tokens/primitives/typography/leading.d.ts +1 -0
  27. package/src/tokens/primitives/typography/leading.js +1 -0
  28. package/src/tokens/primitives/typography/tracking.js +12 -6
  29. package/src/tokens/semantic/colors.js +5 -2
  30. package/src/tokens/semantic/layouts.data.d.ts +65 -0
  31. package/src/tokens/semantic/layouts.data.d.ts.map +1 -0
  32. package/src/tokens/semantic/layouts.data.js +282 -0
  33. package/src/tokens/semantic/texts.data.d.ts +28 -10
  34. package/src/tokens/semantic/texts.data.d.ts.map +1 -1
  35. package/src/tokens/semantic/texts.data.js +50 -30
  36. package/src/tokens/semantic/z-indices.data.d.ts +1 -1
  37. package/src/tokens/semantic/z-indices.data.js +1 -1
  38. package/src/tokens/theme/accent.js +18 -6
  39. package/src/tokens/theme/background.d.ts +12 -0
  40. package/src/tokens/theme/background.js +11 -2
  41. package/src/tokens/theme/border.js +26 -4
  42. package/src/tokens/theme/code-sintax.d.ts +6 -0
  43. package/src/tokens/theme/code-sintax.js +2 -0
  44. package/src/tokens/theme/feedback/info.js +2 -2
  45. package/src/tokens/theme/surfaces.d.ts +12 -0
  46. package/src/tokens/theme/surfaces.d.ts.map +1 -1
  47. package/src/tokens/theme/surfaces.js +4 -0
  48. package/src/tokens/theme/text.js +2 -2
  49. package/src/tokens/theme.d.ts +4 -0
  50. package/src/scripts/css-vars.d.ts +0 -7
  51. package/src/scripts/css-vars.d.ts.map +0 -1
  52. package/src/scripts/css-vars.js +0 -46
  53. package/src/scripts/resolve.d.ts +0 -5
  54. package/src/scripts/resolve.d.ts.map +0 -1
  55. package/src/scripts/resolve.js +0 -107
@@ -173,7 +173,7 @@
173
173
 
174
174
 
175
175
  /*
176
- * `@aziontech/webkit` components use arbitrary values (`bg-[var(--x)]`) that
176
+ * `@aziontech/webkit` components use arbitrary values (`bg-(--x)`) that
177
177
  * Tailwind v4 only picks up when the source files are inside the scan.
178
178
  * Auto-detect scans the CWD only, so we point `@source` at the webkit
179
179
  * package via a monorepo-relative path (this file is under
@@ -197,12 +197,16 @@
197
197
  --color-blue-950: #000C1A;
198
198
  --color-gray-50: #FAFAFA;
199
199
  --color-gray-100: #F5F5F5;
200
+ --color-gray-150: #ECECEC;
200
201
  --color-gray-200: #E5E5E5;
202
+ --color-gray-250: #DADADA;
201
203
  --color-gray-300: #B2B2B2;
202
204
  --color-gray-400: #999999;
203
205
  --color-gray-500: #808080;
204
206
  --color-gray-600: #666666;
205
207
  --color-gray-700: #4D4D4D;
208
+ --color-gray-750: #2B2B2B;
209
+ --color-gray-775: #242424;
206
210
  --color-gray-800: #1A1A1A;
207
211
  --color-gray-900: #141414;
208
212
  --color-gray-950: #0A0A0A;
@@ -404,7 +408,9 @@
404
408
  --animate-fade-in: fadeIn 220ms ease-in-out;
405
409
  --animate-fade-out: fadeOut 220ms ease-in-out;
406
410
  --animate-slide-down: slideDown 220ms ease-in-out;
407
- --animate-highlight-fade: highlight ease-in forwards;
411
+ --animate-highlight-fade: highlight 1100ms ease-in forwards;
412
+ --animate-page-enter: pageEnter 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
413
+ --animate-content-enter: contentEnter 240ms cubic-bezier(0.39, 0.57, 0.56, 1) var(--content-enter-delay, 0s) backwards;
408
414
  --animate-popup-scale-in: popupScaleIn 150ms cubic-bezier(0.39, 0.57, 0.56, 1);
409
415
  --animate-popup-scale-out: popupScaleOut 110ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
410
416
  --animate-slide-in-left: slideInLeft 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
@@ -413,6 +419,19 @@
413
419
  --animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
414
420
  --animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
415
421
  --animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
422
+ --animate-flow-dash: flowDash 700ms linear infinite;
423
+ --transition-duration-fast-01: 70ms;
424
+ --transition-duration-fast-02: 110ms;
425
+ --transition-duration-moderate-01: 150ms;
426
+ --transition-duration-moderate-02: 240ms;
427
+ --transition-duration-slow-01: 400ms;
428
+ --transition-duration-slow-02: 700ms;
429
+ --transition-duration-slow-03: 1100ms;
430
+ --transition-duration-slow-04: 2100ms;
431
+ --ease-productive-entrance: cubic-bezier(0.39, 0.57, 0.56, 1);
432
+ --ease-productive-exit: cubic-bezier(0.55, 0.09, 0.68, 0.53);
433
+ --ease-expressive-entrance: cubic-bezier(0.17, 0.84, 0.44, 1);
434
+ --ease-expressive-exit: cubic-bezier(0.95, 0.05, 0.8, 0.04);
416
435
  }
417
436
 
418
437
  :root, [data-theme=light], .azion.azion-light {
@@ -422,18 +441,18 @@
422
441
  --border-3: 3px;
423
442
  --border-4: 4px;
424
443
  --container-3xs: 256px;
425
- --container-2xs: 288px;
426
- --container-xs: 320px;
427
- --container-sm: 384px;
428
- --container-md: 448px;
429
- --container-lg: 512px;
430
- --container-xl: 576px;
431
- --container-2xl: 672px;
432
- --container-3xl: 768px;
433
- --container-4xl: 896px;
434
- --container-5xl: 1024px;
435
- --container-6xl: 1152px;
436
- --container-7xl: 1280px;
444
+ --container-2xs: 300px;
445
+ --container-xs: 348px;
446
+ --container-sm: 408px;
447
+ --container-md: 472px;
448
+ --container-lg: 552px;
449
+ --container-xl: 644px;
450
+ --container-2xl: 752px;
451
+ --container-3xl: 876px;
452
+ --container-4xl: 1024px;
453
+ --container-5xl: 1192px;
454
+ --container-6xl: 1388px;
455
+ --container-7xl: 1620px;
437
456
  --height-2: 8px;
438
457
  --height-3: 12px;
439
458
  --height-4: 16px;
@@ -529,18 +548,18 @@
529
548
  --spacing-80: 320px;
530
549
  --spacing-96: 384px;
531
550
  --width-3xs: 256px;
532
- --width-2xs: 288px;
533
- --width-xs: 320px;
534
- --width-sm: 384px;
535
- --width-md: 448px;
536
- --width-lg: 512px;
537
- --width-xl: 576px;
538
- --width-2xl: 672px;
539
- --width-3xl: 768px;
540
- --width-4xl: 896px;
541
- --width-5xl: 1024px;
542
- --width-6xl: 1152px;
543
- --width-7xl: 1280px;
551
+ --width-2xs: 300px;
552
+ --width-xs: 348px;
553
+ --width-sm: 408px;
554
+ --width-md: 472px;
555
+ --width-lg: 552px;
556
+ --width-xl: 644px;
557
+ --width-2xl: 752px;
558
+ --width-3xl: 876px;
559
+ --width-4xl: 1024px;
560
+ --width-5xl: 1192px;
561
+ --width-6xl: 1388px;
562
+ --width-7xl: 1620px;
544
563
  --aspect-video: 16 / 9;
545
564
  --shape-flat: 0;
546
565
  --shape-card: 8px;
@@ -585,6 +604,7 @@
585
604
  --font-weight-bold: 700;
586
605
  --font-weight-extrabold: 800;
587
606
  --font-weight-black: 900;
607
+ --leading-none: 1;
588
608
  --leading-tight: 1.25;
589
609
  --leading-snug: 1.375;
590
610
  --leading-normal: 1.5;
@@ -599,12 +619,12 @@
599
619
  --line-height-9: 36px;
600
620
  --line-height-10: 40px;
601
621
  --line-height-none: 0;
602
- --tracking-tighter: -0.05em;
603
- --tracking-tight: -0.025em;
604
- --tracking-normal: 0em;
605
- --tracking-wide: 0.025em;
606
- --tracking-wider: 0.05em;
607
- --tracking-widest: 0.1em;
622
+ --tracking-tighter: -0.05rem;
623
+ --tracking-tight: -0.025rem;
624
+ --tracking-normal: 0;
625
+ --tracking-wide: 0.025rem;
626
+ --tracking-wider: 0.05rem;
627
+ --tracking-widest: 0.1rem;
608
628
  --blur-xs: 4px;
609
629
  --blur-sm: 8px;
610
630
  --blur-md: 12px;
@@ -649,7 +669,9 @@
649
669
  --animate-fade-in: fadeIn 220ms ease-in-out;
650
670
  --animate-fade-out: fadeOut 220ms ease-in-out;
651
671
  --animate-slide-down: slideDown 220ms ease-in-out;
652
- --animate-highlight-fade: highlight ease-in forwards;
672
+ --animate-highlight-fade: highlight 1100ms ease-in forwards;
673
+ --animate-page-enter: pageEnter 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
674
+ --animate-content-enter: contentEnter 240ms cubic-bezier(0.39, 0.57, 0.56, 1) var(--content-enter-delay, 0s) backwards;
653
675
  --animate-popup-scale-in: popupScaleIn 150ms cubic-bezier(0.39, 0.57, 0.56, 1);
654
676
  --animate-popup-scale-out: popupScaleOut 110ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
655
677
  --animate-slide-in-left: slideInLeft 240ms cubic-bezier(0.39, 0.57, 0.56, 1);
@@ -658,6 +680,7 @@
658
680
  --animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
659
681
  --animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
660
682
  --animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
683
+ --animate-flow-dash: flowDash 700ms linear infinite;
661
684
  --ring-offset: 0.5px;
662
685
  --container-px: 1rem;
663
686
  --container-py: 4rem;
@@ -672,6 +695,18 @@
672
695
  --z-input-field: 1;
673
696
  --z-input-popup: 10;
674
697
  --z-input-overlay: 1100;
698
+ --layout-boundary-inline: var(--spacing-lg);
699
+ --layout-boundary-end: var(--spacing-lg);
700
+ --layout-boundary-start: var(--spacing-lg);
701
+ --layout-section-gap: var(--spacing-xl);
702
+ --layout-group-gap: var(--spacing-md);
703
+ --layout-measure: var(--container-7xl);
704
+ --layout-measure-focused: var(--container-4xl);
705
+ --layout-measure-form: var(--container-4xl);
706
+ --layout-measure-form-create: var(--container-5xl);
707
+ --layout-measure-docs: var(--container-4xl);
708
+ --container-site: var(--container-5xl);
709
+ --layout-measure-control: var(--container-3xs);
675
710
  --text-big-number-md-font-size: 1.25rem;
676
711
  --text-big-number-md-line-height: 1.25;
677
712
  --text-big-number-md-font-weight: 400;
@@ -707,18 +742,24 @@
707
742
  --text-heading-xxs-font-weight: 400;
708
743
  --text-label-lg-font-size: 1rem;
709
744
  --text-label-lg-line-height: 1.5;
710
- --text-label-lg-font-weight: 500;
745
+ --text-label-lg-font-weight: 400;
711
746
  --text-label-md-font-size: 0.875rem;
712
747
  --text-label-md-line-height: 1.5;
713
- --text-label-md-font-weight: 500;
748
+ --text-label-md-font-weight: 400;
714
749
  --text-label-sm-font-size: 0.75rem;
715
750
  --text-label-sm-line-height: 1.5;
716
- --text-label-sm-font-weight: 500;
751
+ --text-label-sm-font-weight: 400;
717
752
  --text-label-code-sm-font-family: Roboto Mono;
718
753
  --text-label-code-sm-font-size: 0.75rem;
719
754
  --text-label-code-sm-line-height: 1;
720
755
  --text-label-code-sm-font-weight: 400;
721
756
  --text-label-code-sm-letter-spacing: 0;
757
+ --text-body-code-sm-text-wrap-style: pretty;
758
+ --text-body-code-sm-font-family: Roboto Mono;
759
+ --text-body-code-sm-font-size: 0.75rem;
760
+ --text-body-code-sm-line-height: 1.625;
761
+ --text-body-code-sm-font-weight: 400;
762
+ --text-body-code-sm-letter-spacing: 0;
722
763
  --text-label-code-md-font-family: Roboto Mono;
723
764
  --text-label-code-md-font-size: 0.875rem;
724
765
  --text-label-code-md-line-height: 1;
@@ -730,35 +771,43 @@
730
771
  --text-label-code-lg-font-weight: 400;
731
772
  --text-label-code-lg-letter-spacing: 0;
732
773
  --text-body-lg-font-size: 1rem;
733
- --text-body-lg-line-height: 1.5;
774
+ --text-body-lg-font-weight: 400;
775
+ --text-body-lg-line-height: 1.375;
734
776
  --text-body-md-font-size: 1rem;
735
- --text-body-md-line-height: 1.5;
777
+ --text-body-md-font-weight: 400;
778
+ --text-body-md-line-height: 1.375;
779
+ --text-body-prose-md-font-size: 1rem;
780
+ --text-body-prose-md-font-weight: 400;
781
+ --text-body-prose-md-line-height: 1.625;
736
782
  --text-body-sm-font-size: 0.875rem;
737
- --text-body-sm-line-height: 1.5;
783
+ --text-body-sm-font-weight: 400;
784
+ --text-body-sm-line-height: 1.375;
738
785
  --text-body-xs-font-size: 0.75rem;
739
- --text-body-xs-line-height: 1.5;
786
+ --text-body-xs-font-weight: 400;
787
+ --text-body-xs-line-height: 1.375;
788
+ --text-body-xxs-font-size: 0.75rem;
789
+ --text-body-xxs-font-weight: 400;
790
+ --text-body-xxs-line-height: 1.5;
740
791
  --text-tag-sm-font-size: 0.75rem;
741
792
  --text-tag-sm-line-height: 1.25;
742
- --text-tag-sm-font-weight: 600;
793
+ --text-tag-sm-font-weight: 400;
743
794
  --text-tag-md-font-size: 0.75rem;
744
795
  --text-tag-md-line-height: 1.25;
745
- --text-tag-md-font-weight: 600;
746
- --text-body-xxs-font-size: 0.75rem;
747
- --text-body-xxs-line-height: 1.5;
796
+ --text-tag-md-font-weight: 400;
748
797
  --text-overline-md-font-family: Proto Mono;
749
798
  --text-overline-md-font-size: 0.75rem;
750
799
  --text-overline-md-line-height: 1.375;
751
- --text-overline-md-letter-spacing: 0.08em;
800
+ --text-overline-md-letter-spacing: 0.1rem;
752
801
  --text-overline-md-text-transform: uppercase;
753
802
  --text-overline-sm-font-family: Proto Mono;
754
803
  --text-overline-sm-font-size: 0.75rem;
755
804
  --text-overline-sm-line-height: 1.375;
756
- --text-overline-sm-letter-spacing: 0.08em;
805
+ --text-overline-sm-letter-spacing: 0.1rem;
757
806
  --text-overline-sm-text-transform: uppercase;
758
807
  --text-overline-xs-font-family: Proto Mono;
759
808
  --text-overline-xs-font-size: 0.75rem;
760
809
  --text-overline-xs-line-height: 1.375;
761
- --text-overline-xs-letter-spacing: 0.08em;
810
+ --text-overline-xs-letter-spacing: 0.1rem;
762
811
  --text-overline-xs-text-transform: uppercase;
763
812
  --text-button-lg-font-family: Sora;
764
813
  --text-button-lg-font-size: 0.875rem;
@@ -818,12 +867,16 @@
818
867
  --surface-0: #FFFFFF;
819
868
  --surface-50: #FAFAFA;
820
869
  --surface-100: #F5F5F5;
870
+ --surface-150: #ECECEC;
821
871
  --surface-200: #E5E5E5;
872
+ --surface-250: #DADADA;
822
873
  --surface-300: #B2B2B2;
823
874
  --surface-400: #999999;
824
875
  --surface-500: #808080;
825
876
  --surface-600: #666666;
826
877
  --surface-700: #4D4D4D;
878
+ --surface-750: #2B2B2B;
879
+ --surface-775: #242424;
827
880
  --surface-800: #1A1A1A;
828
881
  --surface-900: #141414;
829
882
  --surface-950: #0A0A0A;
@@ -835,27 +888,29 @@
835
888
  --secondary-mask: #00000005;
836
889
  --secondary-selected: #0A0A0A;
837
890
  --secondary-contrast: #FFFFFF;
838
- --accent: #756FE5;
839
- --accent-mask: #8A84EC0D;
840
- --accent-selected: #8A84EC;
891
+ --accent: #0072F5;
892
+ --accent-mask: #0072F51A;
893
+ --accent-selected: #0072F5;
841
894
  --accent-contrast: #000000;
842
895
  --bg-canvas: #FAFAFA;
843
896
  --bg-surface: #FFFFFF;
844
897
  --bg-surface-raised: #FFFFFF;
845
898
  --bg-mask: #00000005;
846
899
  --bg-surface-overlay: #FAFAFA;
900
+ --bg-placeholder: #00000014;
901
+ --bg-placeholder-highlight: #FFFFFF99;
847
902
  --bg-hover: #00000014;
848
903
  --bg-active: #00000005;
849
904
  --bg-backdrop: #000000CC;
850
905
  --bg-selected: #E5E5E5;
851
906
  --bg-contrast: #141414;
852
907
  --bg-disabled: #E5E5E5;
853
- --border-default: #00000014;
854
- --border-muted: #00000014;
908
+ --border-default: #DADADA;
909
+ --border-muted: #ECECEC;
855
910
  --border-strong: #000000;
856
911
  --border-selected: #F3652B;
857
912
  --text-default: #141414;
858
- --text-muted: #666666;
913
+ --text-muted: #808080;
859
914
  --text-disabled: #999999;
860
915
  --text-link: #005FCC;
861
916
  --text-link-hover: #004799;
@@ -865,6 +920,7 @@
865
920
  --code-sintax-line-number: #808080;
866
921
  --code-sintax-keyword: #005FCC;
867
922
  --code-sintax-punctuation: #808080;
923
+ --code-sintax-comment: #808080;
868
924
  --code-sintax-function: #F3652B;
869
925
  --code-sintax-type: #947105;
870
926
  --code-sintax-string: #005FCC;
@@ -878,7 +934,7 @@
878
934
  --danger-border: #E51A1A66;
879
935
  --danger-contrast: #891010;
880
936
  --info: #CCE4FF;
881
- --info-border: #8A84EC66;
937
+ --info-border: #0072F566;
882
938
  --info-contrast: #004799;
883
939
  }
884
940
 
@@ -886,12 +942,16 @@
886
942
  --surface-0: #FFFFFF;
887
943
  --surface-50: #FAFAFA;
888
944
  --surface-100: #F5F5F5;
945
+ --surface-150: #ECECEC;
889
946
  --surface-200: #E5E5E5;
947
+ --surface-250: #DADADA;
890
948
  --surface-300: #B2B2B2;
891
949
  --surface-400: #999999;
892
950
  --surface-500: #808080;
893
951
  --surface-600: #666666;
894
952
  --surface-700: #4D4D4D;
953
+ --surface-750: #2B2B2B;
954
+ --surface-775: #242424;
895
955
  --surface-800: #1A1A1A;
896
956
  --surface-900: #141414;
897
957
  --surface-950: #0A0A0A;
@@ -903,27 +963,29 @@
903
963
  --secondary-mask: #FFFFFF1A;
904
964
  --secondary-selected: #FFFFFF;
905
965
  --secondary-contrast: #000000;
906
- --accent: #8A84EC;
907
- --accent-mask: #8A84EC1A;
908
- --accent-selected: #8A84EC;
966
+ --accent: #0072F5;
967
+ --accent-mask: #0072F51A;
968
+ --accent-selected: #0072F5;
909
969
  --accent-contrast: #000000;
910
970
  --bg-canvas: #000000;
911
971
  --bg-surface: #0A0A0A;
912
972
  --bg-surface-raised: #141414;
913
973
  --bg-mask: #FFFFFF0D;
914
974
  --bg-surface-overlay: #4D4D4D;
915
- --bg-hover: #00000033;
916
- --bg-active: #00000014;
975
+ --bg-placeholder: #FFFFFF1A;
976
+ --bg-placeholder-highlight: #FFFFFF1A;
977
+ --bg-hover: #FFFFFF1A;
978
+ --bg-active: #FFFFFF0D;
917
979
  --bg-backdrop: #000000CC;
918
980
  --bg-selected: #1A1A1A;
919
981
  --bg-contrast: #FAFAFA;
920
982
  --bg-disabled: #1A1A1A;
921
- --border-default: #FFFFFF1A;
922
- --border-muted: #FFFFFF0D;
983
+ --border-default: #2B2B2B;
984
+ --border-muted: #242424;
923
985
  --border-strong: #FFFFFF;
924
986
  --border-selected: #F3652B;
925
987
  --text-default: #FAFAFA;
926
- --text-muted: #999999;
988
+ --text-muted: #808080;
927
989
  --text-disabled: #4D4D4D;
928
990
  --text-link: #3392FF;
929
991
  --text-link-hover: #66ADFF;
@@ -933,6 +995,7 @@
933
995
  --code-sintax-line-number: #999999;
934
996
  --code-sintax-keyword: #3392FF;
935
997
  --code-sintax-punctuation: #999999;
998
+ --code-sintax-comment: #999999;
936
999
  --code-sintax-function: #F3652B;
937
1000
  --code-sintax-type: #FAD76B;
938
1001
  --code-sintax-string: #3392FF;
@@ -946,7 +1009,7 @@
946
1009
  --danger-border: #E51A1A66;
947
1010
  --danger-contrast: #ED7878;
948
1011
  --info: #001833;
949
- --info-border: #0072F580;
1012
+ --info-border: #0072F566;
950
1013
  --info-contrast: #66ADFF;
951
1014
  }
952
1015
 
@@ -971,8 +1034,8 @@
971
1034
  }
972
1035
 
973
1036
  @keyframes highlight {
974
- 0% { background-color: var(--surface-hover); font-weight: 500; }
975
- 100% { background-color: var(--surface-hover); font-weight: 500; }
1037
+ 0%, 40% { background-color: var(--surface-hover); font-weight: 500; }
1038
+ 100% { background-color: transparent; font-weight: 400; }
976
1039
  }
977
1040
 
978
1041
  @keyframes shimmer {
@@ -980,14 +1043,24 @@
980
1043
  100% { background-position: -200% 0; }
981
1044
  }
982
1045
 
1046
+ @keyframes pageEnter {
1047
+ 0% { opacity: 0; translate: calc(var(--page-enter-distance, var(--layout-boundary-inline)) * -1) 0; }
1048
+ 100% { opacity: 1; translate: 0 0; }
1049
+ }
1050
+
1051
+ @keyframes contentEnter {
1052
+ 0% { opacity: 0; translate: 0 var(--spacing-xs); }
1053
+ 100% { opacity: 1; translate: 0 0; }
1054
+ }
1055
+
983
1056
  @keyframes popupScaleIn {
984
- 0% { opacity: 0; transform: scale(0.95); }
1057
+ 0% { opacity: 0; transform: scale(0.9); }
985
1058
  100% { opacity: 1; transform: scale(1); }
986
1059
  }
987
1060
 
988
1061
  @keyframes popupScaleOut {
989
1062
  0% { opacity: 1; transform: scale(1); }
990
- 100% { opacity: 0; transform: scale(0.95); }
1063
+ 100% { opacity: 0; transform: scale(0.9); }
991
1064
  }
992
1065
 
993
1066
  @keyframes slideInLeft {
@@ -1022,6 +1095,11 @@
1022
1095
  100% { inset-inline-start: 107%; inset-inline-end: -8%; }
1023
1096
  }
1024
1097
 
1098
+ @keyframes flowDash {
1099
+ 0% { stroke-dashoffset: 24; }
1100
+ 100% { stroke-dashoffset: 0; }
1101
+ }
1102
+
1025
1103
  @layer components {
1026
1104
  /* ── Containers ── */
1027
1105
  .px-container { padding-left: var(--container-px); padding-right: var(--container-px); }
@@ -1138,6 +1216,15 @@
1138
1216
  letter-spacing: var(--text-label-code-sm-letter-spacing);
1139
1217
  }
1140
1218
 
1219
+ @utility text-body-code-sm {
1220
+ text-wrap-style: var(--text-body-code-sm-text-wrap-style);
1221
+ font-family: var(--text-body-code-sm-font-family);
1222
+ font-size: var(--text-body-code-sm-font-size);
1223
+ line-height: var(--text-body-code-sm-line-height);
1224
+ font-weight: var(--text-body-code-sm-font-weight);
1225
+ letter-spacing: var(--text-body-code-sm-letter-spacing);
1226
+ }
1227
+
1141
1228
  @utility text-label-code-md {
1142
1229
  font-family: var(--text-label-code-md-font-family);
1143
1230
  font-size: var(--text-label-code-md-font-size);
@@ -1156,24 +1243,40 @@
1156
1243
 
1157
1244
  @utility text-body-lg {
1158
1245
  font-size: var(--text-body-lg-font-size);
1246
+ font-weight: var(--text-body-lg-font-weight);
1159
1247
  line-height: var(--text-body-lg-line-height);
1160
1248
  }
1161
1249
 
1162
1250
  @utility text-body-md {
1163
1251
  font-size: var(--text-body-md-font-size);
1252
+ font-weight: var(--text-body-md-font-weight);
1164
1253
  line-height: var(--text-body-md-line-height);
1165
1254
  }
1166
1255
 
1256
+ @utility text-body-prose-md {
1257
+ font-size: var(--text-body-prose-md-font-size);
1258
+ font-weight: var(--text-body-prose-md-font-weight);
1259
+ line-height: var(--text-body-prose-md-line-height);
1260
+ }
1261
+
1167
1262
  @utility text-body-sm {
1168
1263
  font-size: var(--text-body-sm-font-size);
1264
+ font-weight: var(--text-body-sm-font-weight);
1169
1265
  line-height: var(--text-body-sm-line-height);
1170
1266
  }
1171
1267
 
1172
1268
  @utility text-body-xs {
1173
1269
  font-size: var(--text-body-xs-font-size);
1270
+ font-weight: var(--text-body-xs-font-weight);
1174
1271
  line-height: var(--text-body-xs-line-height);
1175
1272
  }
1176
1273
 
1274
+ @utility text-body-xxs {
1275
+ font-size: var(--text-body-xxs-font-size);
1276
+ font-weight: var(--text-body-xxs-font-weight);
1277
+ line-height: var(--text-body-xxs-line-height);
1278
+ }
1279
+
1177
1280
  @utility text-tag-sm {
1178
1281
  font-size: var(--text-tag-sm-font-size);
1179
1282
  line-height: var(--text-tag-sm-line-height);
@@ -1186,11 +1289,6 @@
1186
1289
  font-weight: var(--text-tag-md-font-weight);
1187
1290
  }
1188
1291
 
1189
- @utility text-body-xxs {
1190
- font-size: var(--text-body-xxs-font-size);
1191
- line-height: var(--text-body-xxs-line-height);
1192
- }
1193
-
1194
1292
  @utility text-overline-md {
1195
1293
  font-family: var(--text-overline-md-font-family);
1196
1294
  font-size: var(--text-overline-md-font-size);
@@ -1245,6 +1343,71 @@
1245
1343
  .text-link { transition: none; }
1246
1344
  }
1247
1345
 
1346
+ @utility layout-boundary {
1347
+ padding-inline: var(--layout-boundary-inline);
1348
+ padding-block-start: var(--layout-boundary-start);
1349
+ padding-block-end: var(--layout-boundary-end);
1350
+ }
1351
+
1352
+ @utility layout-boundary-inline {
1353
+ padding-inline: var(--layout-boundary-inline);
1354
+ }
1355
+
1356
+ @utility layout-section-start {
1357
+ margin-block-start: var(--layout-boundary-start);
1358
+ &:first-child { margin-block-start: 0; }
1359
+ }
1360
+
1361
+ @utility layout-group-start {
1362
+ margin-block-start: var(--layout-group-gap);
1363
+ &:first-child { margin-block-start: 0; }
1364
+ }
1365
+
1366
+ @utility layout-column {
1367
+ --layout-column-measure: var(--layout-measure);
1368
+ margin-inline: auto;
1369
+ width: 100%;
1370
+ max-width: var(--layout-column-measure);
1371
+ &:is(.layout-boundary, .layout-boundary-inline) { max-width: calc(var(--layout-column-measure) + 2 * var(--layout-boundary-inline)); }
1372
+ }
1373
+
1374
+ @utility layout-column-focused {
1375
+ --layout-column-measure: var(--layout-measure-focused);
1376
+ margin-inline: auto;
1377
+ width: 100%;
1378
+ max-width: var(--layout-column-measure);
1379
+ &:is(.layout-boundary, .layout-boundary-inline) { max-width: calc(var(--layout-column-measure) + 2 * var(--layout-boundary-inline)); }
1380
+ }
1381
+
1382
+ @utility layout-column-form {
1383
+ --layout-column-measure: var(--layout-measure-form);
1384
+ margin-inline: auto;
1385
+ width: 100%;
1386
+ max-width: var(--layout-column-measure);
1387
+ &:is(.layout-boundary, .layout-boundary-inline) { max-width: calc(var(--layout-column-measure) + 2 * var(--layout-boundary-inline)); }
1388
+ }
1389
+
1390
+ @utility layout-form-create {
1391
+ --layout-column-measure: var(--layout-measure-form-create);
1392
+ --layout-measure-control: var(--container-md);
1393
+ margin-inline: auto;
1394
+ width: 100%;
1395
+ max-width: var(--layout-column-measure);
1396
+ &:is(.layout-boundary, .layout-boundary-inline) { max-width: calc(var(--layout-column-measure) + 2 * var(--layout-boundary-inline)); }
1397
+ }
1398
+
1399
+ @utility layout-column-docs {
1400
+ --layout-column-measure: var(--layout-measure-docs);
1401
+ margin-inline: auto;
1402
+ width: 100%;
1403
+ max-width: var(--layout-column-measure);
1404
+ &:is(.layout-boundary, .layout-boundary-inline) { max-width: calc(var(--layout-column-measure) + 2 * var(--layout-boundary-inline)); }
1405
+ }
1406
+
1407
+ @utility layout-field-control {
1408
+ &:not(#\#) { display: flex; flex: 1 1 0%; justify-content: flex-end; max-width: var(--layout-measure-control); }
1409
+ }
1410
+
1248
1411
  @utility bg-surface-0 { background-color: var(--surface-0); }
1249
1412
  @utility text-surface-0 { color: var(--surface-0); }
1250
1413
  @utility border-surface-0 { border-color: var(--surface-0); }
@@ -1254,9 +1417,15 @@
1254
1417
  @utility bg-surface-100 { background-color: var(--surface-100); }
1255
1418
  @utility text-surface-100 { color: var(--surface-100); }
1256
1419
  @utility border-surface-100 { border-color: var(--surface-100); }
1420
+ @utility bg-surface-150 { background-color: var(--surface-150); }
1421
+ @utility text-surface-150 { color: var(--surface-150); }
1422
+ @utility border-surface-150 { border-color: var(--surface-150); }
1257
1423
  @utility bg-surface-200 { background-color: var(--surface-200); }
1258
1424
  @utility text-surface-200 { color: var(--surface-200); }
1259
1425
  @utility border-surface-200 { border-color: var(--surface-200); }
1426
+ @utility bg-surface-250 { background-color: var(--surface-250); }
1427
+ @utility text-surface-250 { color: var(--surface-250); }
1428
+ @utility border-surface-250 { border-color: var(--surface-250); }
1260
1429
  @utility bg-surface-300 { background-color: var(--surface-300); }
1261
1430
  @utility text-surface-300 { color: var(--surface-300); }
1262
1431
  @utility border-surface-300 { border-color: var(--surface-300); }
@@ -1272,6 +1441,12 @@
1272
1441
  @utility bg-surface-700 { background-color: var(--surface-700); }
1273
1442
  @utility text-surface-700 { color: var(--surface-700); }
1274
1443
  @utility border-surface-700 { border-color: var(--surface-700); }
1444
+ @utility bg-surface-750 { background-color: var(--surface-750); }
1445
+ @utility text-surface-750 { color: var(--surface-750); }
1446
+ @utility border-surface-750 { border-color: var(--surface-750); }
1447
+ @utility bg-surface-775 { background-color: var(--surface-775); }
1448
+ @utility text-surface-775 { color: var(--surface-775); }
1449
+ @utility border-surface-775 { border-color: var(--surface-775); }
1275
1450
  @utility bg-surface-800 { background-color: var(--surface-800); }
1276
1451
  @utility text-surface-800 { color: var(--surface-800); }
1277
1452
  @utility border-surface-800 { border-color: var(--surface-800); }
@@ -1322,6 +1497,8 @@
1322
1497
  @utility bg-surface-raised { background-color: var(--bg-surface-raised); }
1323
1498
  @utility bg-mask { background-color: var(--bg-mask); }
1324
1499
  @utility bg-surface-overlay { background-color: var(--bg-surface-overlay); }
1500
+ @utility bg-placeholder { background-color: var(--bg-placeholder); }
1501
+ @utility bg-placeholder-highlight { background-color: var(--bg-placeholder-highlight); }
1325
1502
  @utility bg-hover { background-color: var(--bg-hover); }
1326
1503
  @utility bg-active { background-color: var(--bg-active); }
1327
1504
  @utility bg-backdrop { background-color: var(--bg-backdrop); }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aziontech/theme",
3
3
  "type": "module",
4
- "version": "4.2.0",
4
+ "version": "4.3.1",
5
5
  "author": "aziontech",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "scripts": {
13
13
  "pack:dry": "npm pack --dry-run",
14
+ "test": "node --test \"test/**/*.test.mjs\"",
14
15
  "format": "prettier --write scripts/ src/",
15
16
  "build": "pnpm build:tokens",
16
17
  "build:tokens": "node src/scripts/build-tokens.mjs",
@@ -31,19 +32,8 @@
31
32
  "ui-kit",
32
33
  "token-generator"
33
34
  ],
34
- "dependencies": {
35
- "vue-tsc": "^3.2.5"
36
- },
37
35
  "devDependencies": {
38
- "@semantic-release/changelog": "^6.0.3",
39
- "@semantic-release/commit-analyzer": "^10.0.1",
40
- "@semantic-release/exec": "^6.0.3",
41
- "@semantic-release/git": "^10.0.1",
42
- "@semantic-release/github": "^9.2.6",
43
- "@semantic-release/npm": "^11.0.0",
44
- "@semantic-release/release-notes-generator": "^12.1.0",
45
- "conventional-changelog-conventionalcommits": "^7.0.0",
46
- "semantic-release": "^23.0.0"
36
+ "vue-tsc": "^3.2.5"
47
37
  },
48
38
  "files": [
49
39
  "src/",
@@ -54,6 +44,7 @@
54
44
  ".": "./dist/v4/globals.css",
55
45
  "./animations": "./src/tokens/primitives/animations/animate.js",
56
46
  "./colors": "./src/tokens/primitives/colors/colors.js",
47
+ "./layouts": "./src/tokens/semantic/layouts.data.js",
57
48
  "./texts": "./src/tokens/semantic/texts.data.js",
58
49
  "./theme-colors": "./src/scripts/compile-theme.js"
59
50
  }