@aziontech/theme 4.1.0 → 4.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/README.md +110 -335
- package/dist/v4/globals.css +81 -50
- package/dist/v4/globals.scss +81 -50
- package/package.json +3 -13
- package/src/scripts/build-tokens.mjs +23 -6
- package/src/scripts/compile-primitives.js +9 -5
- package/src/scripts/compile-theme.js +12 -6
- package/src/scripts/refs.d.ts +1 -0
- package/src/scripts/refs.d.ts.map +1 -1
- package/src/scripts/refs.js +11 -0
- package/src/scripts/zero-unit.mjs +64 -0
- package/src/tokens/README.md +19 -28
- package/src/tokens/index.d.ts +0 -1
- package/src/tokens/index.js +0 -1
- package/src/tokens/primitives/animations/animate.d.ts +2 -0
- package/src/tokens/primitives/animations/animate.d.ts.map +1 -1
- package/src/tokens/primitives/animations/animate.js +7 -2
- package/src/tokens/primitives/animations/keyframes.d.ts +4 -0
- package/src/tokens/primitives/animations/keyframes.d.ts.map +1 -1
- package/src/tokens/primitives/animations/keyframes.js +11 -2
- package/src/tokens/primitives/shape/container.d.ts.map +1 -1
- package/src/tokens/primitives/shape/container.js +30 -13
- package/src/tokens/primitives/typography/leading.d.ts +1 -0
- package/src/tokens/primitives/typography/leading.js +1 -0
- package/src/tokens/primitives/typography/tracking.js +12 -6
- package/src/tokens/semantic/colors.js +5 -2
- package/src/tokens/semantic/texts.data.d.ts +6 -6
- package/src/tokens/semantic/texts.data.d.ts.map +1 -1
- package/src/tokens/semantic/texts.data.js +23 -21
- package/src/tokens/semantic/z-indices.data.d.ts +38 -0
- package/src/tokens/semantic/z-indices.data.d.ts.map +1 -0
- package/src/tokens/semantic/z-indices.data.js +30 -0
- package/src/tokens/theme/accent.js +18 -6
- package/src/tokens/theme/background.d.ts +12 -0
- package/src/tokens/theme/background.js +11 -2
- package/src/tokens/theme/code-sintax.d.ts +6 -0
- package/src/tokens/theme/code-sintax.js +2 -0
- package/src/tokens/theme/feedback/info.js +2 -2
- package/src/tokens/theme/text.js +2 -2
- package/src/scripts/css-vars.d.ts +0 -7
- package/src/scripts/css-vars.d.ts.map +0 -1
- package/src/scripts/css-vars.js +0 -46
- package/src/scripts/resolve.d.ts +0 -5
- package/src/scripts/resolve.d.ts.map +0 -1
- package/src/scripts/resolve.js +0 -107
package/dist/v4/globals.css
CHANGED
|
@@ -413,6 +413,19 @@
|
|
|
413
413
|
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
414
414
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
415
415
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
416
|
+
--animate-flow-dash: flowDash 700ms linear infinite;
|
|
417
|
+
--transition-duration-fast-01: 70ms;
|
|
418
|
+
--transition-duration-fast-02: 110ms;
|
|
419
|
+
--transition-duration-moderate-01: 150ms;
|
|
420
|
+
--transition-duration-moderate-02: 240ms;
|
|
421
|
+
--transition-duration-slow-01: 400ms;
|
|
422
|
+
--transition-duration-slow-02: 700ms;
|
|
423
|
+
--transition-duration-slow-03: 1100ms;
|
|
424
|
+
--transition-duration-slow-04: 2100ms;
|
|
425
|
+
--ease-productive-entrance: cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
426
|
+
--ease-productive-exit: cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
427
|
+
--ease-expressive-entrance: cubic-bezier(0.17, 0.84, 0.44, 1);
|
|
428
|
+
--ease-expressive-exit: cubic-bezier(0.95, 0.05, 0.8, 0.04);
|
|
416
429
|
}
|
|
417
430
|
|
|
418
431
|
:root, [data-theme=light], .azion.azion-light {
|
|
@@ -422,18 +435,18 @@
|
|
|
422
435
|
--border-3: 3px;
|
|
423
436
|
--border-4: 4px;
|
|
424
437
|
--container-3xs: 256px;
|
|
425
|
-
--container-2xs:
|
|
426
|
-
--container-xs:
|
|
427
|
-
--container-sm:
|
|
428
|
-
--container-md:
|
|
429
|
-
--container-lg:
|
|
430
|
-
--container-xl:
|
|
431
|
-
--container-2xl:
|
|
432
|
-
--container-3xl:
|
|
433
|
-
--container-4xl:
|
|
434
|
-
--container-5xl:
|
|
435
|
-
--container-6xl:
|
|
436
|
-
--container-7xl:
|
|
438
|
+
--container-2xs: 300px;
|
|
439
|
+
--container-xs: 348px;
|
|
440
|
+
--container-sm: 408px;
|
|
441
|
+
--container-md: 472px;
|
|
442
|
+
--container-lg: 552px;
|
|
443
|
+
--container-xl: 644px;
|
|
444
|
+
--container-2xl: 752px;
|
|
445
|
+
--container-3xl: 876px;
|
|
446
|
+
--container-4xl: 1024px;
|
|
447
|
+
--container-5xl: 1192px;
|
|
448
|
+
--container-6xl: 1388px;
|
|
449
|
+
--container-7xl: 1620px;
|
|
437
450
|
--height-2: 8px;
|
|
438
451
|
--height-3: 12px;
|
|
439
452
|
--height-4: 16px;
|
|
@@ -529,18 +542,18 @@
|
|
|
529
542
|
--spacing-80: 320px;
|
|
530
543
|
--spacing-96: 384px;
|
|
531
544
|
--width-3xs: 256px;
|
|
532
|
-
--width-2xs:
|
|
533
|
-
--width-xs:
|
|
534
|
-
--width-sm:
|
|
535
|
-
--width-md:
|
|
536
|
-
--width-lg:
|
|
537
|
-
--width-xl:
|
|
538
|
-
--width-2xl:
|
|
539
|
-
--width-3xl:
|
|
540
|
-
--width-4xl:
|
|
541
|
-
--width-5xl:
|
|
542
|
-
--width-6xl:
|
|
543
|
-
--width-7xl:
|
|
545
|
+
--width-2xs: 300px;
|
|
546
|
+
--width-xs: 348px;
|
|
547
|
+
--width-sm: 408px;
|
|
548
|
+
--width-md: 472px;
|
|
549
|
+
--width-lg: 552px;
|
|
550
|
+
--width-xl: 644px;
|
|
551
|
+
--width-2xl: 752px;
|
|
552
|
+
--width-3xl: 876px;
|
|
553
|
+
--width-4xl: 1024px;
|
|
554
|
+
--width-5xl: 1192px;
|
|
555
|
+
--width-6xl: 1388px;
|
|
556
|
+
--width-7xl: 1620px;
|
|
544
557
|
--aspect-video: 16 / 9;
|
|
545
558
|
--shape-flat: 0;
|
|
546
559
|
--shape-card: 8px;
|
|
@@ -585,6 +598,7 @@
|
|
|
585
598
|
--font-weight-bold: 700;
|
|
586
599
|
--font-weight-extrabold: 800;
|
|
587
600
|
--font-weight-black: 900;
|
|
601
|
+
--leading-none: 1;
|
|
588
602
|
--leading-tight: 1.25;
|
|
589
603
|
--leading-snug: 1.375;
|
|
590
604
|
--leading-normal: 1.5;
|
|
@@ -599,12 +613,12 @@
|
|
|
599
613
|
--line-height-9: 36px;
|
|
600
614
|
--line-height-10: 40px;
|
|
601
615
|
--line-height-none: 0;
|
|
602
|
-
--tracking-tighter: -0.
|
|
603
|
-
--tracking-tight: -0.
|
|
604
|
-
--tracking-normal:
|
|
605
|
-
--tracking-wide: 0.
|
|
606
|
-
--tracking-wider: 0.
|
|
607
|
-
--tracking-widest: 0.
|
|
616
|
+
--tracking-tighter: -0.05rem;
|
|
617
|
+
--tracking-tight: -0.025rem;
|
|
618
|
+
--tracking-normal: 0;
|
|
619
|
+
--tracking-wide: 0.025rem;
|
|
620
|
+
--tracking-wider: 0.05rem;
|
|
621
|
+
--tracking-widest: 0.1rem;
|
|
608
622
|
--blur-xs: 4px;
|
|
609
623
|
--blur-sm: 8px;
|
|
610
624
|
--blur-md: 12px;
|
|
@@ -658,6 +672,7 @@
|
|
|
658
672
|
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
659
673
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
660
674
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
675
|
+
--animate-flow-dash: flowDash 700ms linear infinite;
|
|
661
676
|
--ring-offset: 0.5px;
|
|
662
677
|
--container-px: 1rem;
|
|
663
678
|
--container-py: 4rem;
|
|
@@ -669,6 +684,9 @@
|
|
|
669
684
|
--spacing-sm: 0.75rem;
|
|
670
685
|
--spacing-xs: 0.5rem;
|
|
671
686
|
--spacing-xxs: 0.25rem;
|
|
687
|
+
--z-input-field: 1;
|
|
688
|
+
--z-input-popup: 10;
|
|
689
|
+
--z-input-overlay: 1100;
|
|
672
690
|
--text-big-number-md-font-size: 1.25rem;
|
|
673
691
|
--text-big-number-md-line-height: 1.25;
|
|
674
692
|
--text-big-number-md-font-weight: 400;
|
|
@@ -704,13 +722,13 @@
|
|
|
704
722
|
--text-heading-xxs-font-weight: 400;
|
|
705
723
|
--text-label-lg-font-size: 1rem;
|
|
706
724
|
--text-label-lg-line-height: 1.5;
|
|
707
|
-
--text-label-lg-font-weight:
|
|
725
|
+
--text-label-lg-font-weight: 400;
|
|
708
726
|
--text-label-md-font-size: 0.875rem;
|
|
709
727
|
--text-label-md-line-height: 1.5;
|
|
710
|
-
--text-label-md-font-weight:
|
|
728
|
+
--text-label-md-font-weight: 400;
|
|
711
729
|
--text-label-sm-font-size: 0.75rem;
|
|
712
730
|
--text-label-sm-line-height: 1.5;
|
|
713
|
-
--text-label-sm-font-weight:
|
|
731
|
+
--text-label-sm-font-weight: 400;
|
|
714
732
|
--text-label-code-sm-font-family: Roboto Mono;
|
|
715
733
|
--text-label-code-sm-font-size: 0.75rem;
|
|
716
734
|
--text-label-code-sm-line-height: 1;
|
|
@@ -745,17 +763,17 @@
|
|
|
745
763
|
--text-overline-md-font-family: Proto Mono;
|
|
746
764
|
--text-overline-md-font-size: 0.75rem;
|
|
747
765
|
--text-overline-md-line-height: 1.375;
|
|
748
|
-
--text-overline-md-letter-spacing: 0.
|
|
766
|
+
--text-overline-md-letter-spacing: 0.1rem;
|
|
749
767
|
--text-overline-md-text-transform: uppercase;
|
|
750
768
|
--text-overline-sm-font-family: Proto Mono;
|
|
751
769
|
--text-overline-sm-font-size: 0.75rem;
|
|
752
770
|
--text-overline-sm-line-height: 1.375;
|
|
753
|
-
--text-overline-sm-letter-spacing: 0.
|
|
771
|
+
--text-overline-sm-letter-spacing: 0.1rem;
|
|
754
772
|
--text-overline-sm-text-transform: uppercase;
|
|
755
773
|
--text-overline-xs-font-family: Proto Mono;
|
|
756
774
|
--text-overline-xs-font-size: 0.75rem;
|
|
757
775
|
--text-overline-xs-line-height: 1.375;
|
|
758
|
-
--text-overline-xs-letter-spacing: 0.
|
|
776
|
+
--text-overline-xs-letter-spacing: 0.1rem;
|
|
759
777
|
--text-overline-xs-text-transform: uppercase;
|
|
760
778
|
--text-button-lg-font-family: Sora;
|
|
761
779
|
--text-button-lg-font-size: 0.875rem;
|
|
@@ -832,15 +850,17 @@
|
|
|
832
850
|
--secondary-mask: #00000005;
|
|
833
851
|
--secondary-selected: #0A0A0A;
|
|
834
852
|
--secondary-contrast: #FFFFFF;
|
|
835
|
-
--accent: #
|
|
836
|
-
--accent-mask: #
|
|
837
|
-
--accent-selected: #
|
|
853
|
+
--accent: #0072F5;
|
|
854
|
+
--accent-mask: #0072F51A;
|
|
855
|
+
--accent-selected: #0072F5;
|
|
838
856
|
--accent-contrast: #000000;
|
|
839
857
|
--bg-canvas: #FAFAFA;
|
|
840
858
|
--bg-surface: #FFFFFF;
|
|
841
859
|
--bg-surface-raised: #FFFFFF;
|
|
842
860
|
--bg-mask: #00000005;
|
|
843
861
|
--bg-surface-overlay: #FAFAFA;
|
|
862
|
+
--bg-placeholder: #00000014;
|
|
863
|
+
--bg-placeholder-highlight: #FFFFFF99;
|
|
844
864
|
--bg-hover: #00000014;
|
|
845
865
|
--bg-active: #00000005;
|
|
846
866
|
--bg-backdrop: #000000CC;
|
|
@@ -852,7 +872,7 @@
|
|
|
852
872
|
--border-strong: #000000;
|
|
853
873
|
--border-selected: #F3652B;
|
|
854
874
|
--text-default: #141414;
|
|
855
|
-
--text-muted: #
|
|
875
|
+
--text-muted: #808080;
|
|
856
876
|
--text-disabled: #999999;
|
|
857
877
|
--text-link: #005FCC;
|
|
858
878
|
--text-link-hover: #004799;
|
|
@@ -862,6 +882,7 @@
|
|
|
862
882
|
--code-sintax-line-number: #808080;
|
|
863
883
|
--code-sintax-keyword: #005FCC;
|
|
864
884
|
--code-sintax-punctuation: #808080;
|
|
885
|
+
--code-sintax-comment: #808080;
|
|
865
886
|
--code-sintax-function: #F3652B;
|
|
866
887
|
--code-sintax-type: #947105;
|
|
867
888
|
--code-sintax-string: #005FCC;
|
|
@@ -875,7 +896,7 @@
|
|
|
875
896
|
--danger-border: #E51A1A66;
|
|
876
897
|
--danger-contrast: #891010;
|
|
877
898
|
--info: #CCE4FF;
|
|
878
|
-
--info-border: #
|
|
899
|
+
--info-border: #0072F566;
|
|
879
900
|
--info-contrast: #004799;
|
|
880
901
|
}
|
|
881
902
|
|
|
@@ -900,17 +921,19 @@
|
|
|
900
921
|
--secondary-mask: #FFFFFF1A;
|
|
901
922
|
--secondary-selected: #FFFFFF;
|
|
902
923
|
--secondary-contrast: #000000;
|
|
903
|
-
--accent: #
|
|
904
|
-
--accent-mask: #
|
|
905
|
-
--accent-selected: #
|
|
924
|
+
--accent: #0072F5;
|
|
925
|
+
--accent-mask: #0072F51A;
|
|
926
|
+
--accent-selected: #0072F5;
|
|
906
927
|
--accent-contrast: #000000;
|
|
907
928
|
--bg-canvas: #000000;
|
|
908
929
|
--bg-surface: #0A0A0A;
|
|
909
930
|
--bg-surface-raised: #141414;
|
|
910
931
|
--bg-mask: #FFFFFF0D;
|
|
911
932
|
--bg-surface-overlay: #4D4D4D;
|
|
912
|
-
--bg-
|
|
913
|
-
--bg-
|
|
933
|
+
--bg-placeholder: #FFFFFF1A;
|
|
934
|
+
--bg-placeholder-highlight: #FFFFFF1A;
|
|
935
|
+
--bg-hover: #FFFFFF1A;
|
|
936
|
+
--bg-active: #FFFFFF0D;
|
|
914
937
|
--bg-backdrop: #000000CC;
|
|
915
938
|
--bg-selected: #1A1A1A;
|
|
916
939
|
--bg-contrast: #FAFAFA;
|
|
@@ -920,7 +943,7 @@
|
|
|
920
943
|
--border-strong: #FFFFFF;
|
|
921
944
|
--border-selected: #F3652B;
|
|
922
945
|
--text-default: #FAFAFA;
|
|
923
|
-
--text-muted: #
|
|
946
|
+
--text-muted: #808080;
|
|
924
947
|
--text-disabled: #4D4D4D;
|
|
925
948
|
--text-link: #3392FF;
|
|
926
949
|
--text-link-hover: #66ADFF;
|
|
@@ -930,6 +953,7 @@
|
|
|
930
953
|
--code-sintax-line-number: #999999;
|
|
931
954
|
--code-sintax-keyword: #3392FF;
|
|
932
955
|
--code-sintax-punctuation: #999999;
|
|
956
|
+
--code-sintax-comment: #999999;
|
|
933
957
|
--code-sintax-function: #F3652B;
|
|
934
958
|
--code-sintax-type: #FAD76B;
|
|
935
959
|
--code-sintax-string: #3392FF;
|
|
@@ -943,7 +967,7 @@
|
|
|
943
967
|
--danger-border: #E51A1A66;
|
|
944
968
|
--danger-contrast: #ED7878;
|
|
945
969
|
--info: #001833;
|
|
946
|
-
--info-border: #
|
|
970
|
+
--info-border: #0072F566;
|
|
947
971
|
--info-contrast: #66ADFF;
|
|
948
972
|
}
|
|
949
973
|
|
|
@@ -978,13 +1002,13 @@
|
|
|
978
1002
|
}
|
|
979
1003
|
|
|
980
1004
|
@keyframes popupScaleIn {
|
|
981
|
-
0% { opacity: 0; transform: scale(0.
|
|
1005
|
+
0% { opacity: 0; transform: scale(0.9); }
|
|
982
1006
|
100% { opacity: 1; transform: scale(1); }
|
|
983
1007
|
}
|
|
984
1008
|
|
|
985
1009
|
@keyframes popupScaleOut {
|
|
986
1010
|
0% { opacity: 1; transform: scale(1); }
|
|
987
|
-
100% { opacity: 0; transform: scale(0.
|
|
1011
|
+
100% { opacity: 0; transform: scale(0.9); }
|
|
988
1012
|
}
|
|
989
1013
|
|
|
990
1014
|
@keyframes slideInLeft {
|
|
@@ -1019,6 +1043,11 @@
|
|
|
1019
1043
|
100% { inset-inline-start: 107%; inset-inline-end: -8%; }
|
|
1020
1044
|
}
|
|
1021
1045
|
|
|
1046
|
+
@keyframes flowDash {
|
|
1047
|
+
0% { stroke-dashoffset: 24; }
|
|
1048
|
+
100% { stroke-dashoffset: 0; }
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1022
1051
|
@layer components {
|
|
1023
1052
|
/* ── Containers ── */
|
|
1024
1053
|
.px-container { padding-left: var(--container-px); padding-right: var(--container-px); }
|
|
@@ -1319,6 +1348,8 @@
|
|
|
1319
1348
|
@utility bg-surface-raised { background-color: var(--bg-surface-raised); }
|
|
1320
1349
|
@utility bg-mask { background-color: var(--bg-mask); }
|
|
1321
1350
|
@utility bg-surface-overlay { background-color: var(--bg-surface-overlay); }
|
|
1351
|
+
@utility bg-placeholder { background-color: var(--bg-placeholder); }
|
|
1352
|
+
@utility bg-placeholder-highlight { background-color: var(--bg-placeholder-highlight); }
|
|
1322
1353
|
@utility bg-hover { background-color: var(--bg-hover); }
|
|
1323
1354
|
@utility bg-active { background-color: var(--bg-active); }
|
|
1324
1355
|
@utility bg-backdrop { background-color: var(--bg-backdrop); }
|
package/dist/v4/globals.scss
CHANGED
|
@@ -413,6 +413,19 @@
|
|
|
413
413
|
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
414
414
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
415
415
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
416
|
+
--animate-flow-dash: flowDash 700ms linear infinite;
|
|
417
|
+
--transition-duration-fast-01: 70ms;
|
|
418
|
+
--transition-duration-fast-02: 110ms;
|
|
419
|
+
--transition-duration-moderate-01: 150ms;
|
|
420
|
+
--transition-duration-moderate-02: 240ms;
|
|
421
|
+
--transition-duration-slow-01: 400ms;
|
|
422
|
+
--transition-duration-slow-02: 700ms;
|
|
423
|
+
--transition-duration-slow-03: 1100ms;
|
|
424
|
+
--transition-duration-slow-04: 2100ms;
|
|
425
|
+
--ease-productive-entrance: cubic-bezier(0.39, 0.57, 0.56, 1);
|
|
426
|
+
--ease-productive-exit: cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
427
|
+
--ease-expressive-entrance: cubic-bezier(0.17, 0.84, 0.44, 1);
|
|
428
|
+
--ease-expressive-exit: cubic-bezier(0.95, 0.05, 0.8, 0.04);
|
|
416
429
|
}
|
|
417
430
|
|
|
418
431
|
:root, [data-theme=light], .azion.azion-light {
|
|
@@ -422,18 +435,18 @@
|
|
|
422
435
|
--border-3: 3px;
|
|
423
436
|
--border-4: 4px;
|
|
424
437
|
--container-3xs: 256px;
|
|
425
|
-
--container-2xs:
|
|
426
|
-
--container-xs:
|
|
427
|
-
--container-sm:
|
|
428
|
-
--container-md:
|
|
429
|
-
--container-lg:
|
|
430
|
-
--container-xl:
|
|
431
|
-
--container-2xl:
|
|
432
|
-
--container-3xl:
|
|
433
|
-
--container-4xl:
|
|
434
|
-
--container-5xl:
|
|
435
|
-
--container-6xl:
|
|
436
|
-
--container-7xl:
|
|
438
|
+
--container-2xs: 300px;
|
|
439
|
+
--container-xs: 348px;
|
|
440
|
+
--container-sm: 408px;
|
|
441
|
+
--container-md: 472px;
|
|
442
|
+
--container-lg: 552px;
|
|
443
|
+
--container-xl: 644px;
|
|
444
|
+
--container-2xl: 752px;
|
|
445
|
+
--container-3xl: 876px;
|
|
446
|
+
--container-4xl: 1024px;
|
|
447
|
+
--container-5xl: 1192px;
|
|
448
|
+
--container-6xl: 1388px;
|
|
449
|
+
--container-7xl: 1620px;
|
|
437
450
|
--height-2: 8px;
|
|
438
451
|
--height-3: 12px;
|
|
439
452
|
--height-4: 16px;
|
|
@@ -529,18 +542,18 @@
|
|
|
529
542
|
--spacing-80: 320px;
|
|
530
543
|
--spacing-96: 384px;
|
|
531
544
|
--width-3xs: 256px;
|
|
532
|
-
--width-2xs:
|
|
533
|
-
--width-xs:
|
|
534
|
-
--width-sm:
|
|
535
|
-
--width-md:
|
|
536
|
-
--width-lg:
|
|
537
|
-
--width-xl:
|
|
538
|
-
--width-2xl:
|
|
539
|
-
--width-3xl:
|
|
540
|
-
--width-4xl:
|
|
541
|
-
--width-5xl:
|
|
542
|
-
--width-6xl:
|
|
543
|
-
--width-7xl:
|
|
545
|
+
--width-2xs: 300px;
|
|
546
|
+
--width-xs: 348px;
|
|
547
|
+
--width-sm: 408px;
|
|
548
|
+
--width-md: 472px;
|
|
549
|
+
--width-lg: 552px;
|
|
550
|
+
--width-xl: 644px;
|
|
551
|
+
--width-2xl: 752px;
|
|
552
|
+
--width-3xl: 876px;
|
|
553
|
+
--width-4xl: 1024px;
|
|
554
|
+
--width-5xl: 1192px;
|
|
555
|
+
--width-6xl: 1388px;
|
|
556
|
+
--width-7xl: 1620px;
|
|
544
557
|
--aspect-video: 16 / 9;
|
|
545
558
|
--shape-flat: 0;
|
|
546
559
|
--shape-card: 8px;
|
|
@@ -585,6 +598,7 @@
|
|
|
585
598
|
--font-weight-bold: 700;
|
|
586
599
|
--font-weight-extrabold: 800;
|
|
587
600
|
--font-weight-black: 900;
|
|
601
|
+
--leading-none: 1;
|
|
588
602
|
--leading-tight: 1.25;
|
|
589
603
|
--leading-snug: 1.375;
|
|
590
604
|
--leading-normal: 1.5;
|
|
@@ -599,12 +613,12 @@
|
|
|
599
613
|
--line-height-9: 36px;
|
|
600
614
|
--line-height-10: 40px;
|
|
601
615
|
--line-height-none: 0;
|
|
602
|
-
--tracking-tighter: -0.
|
|
603
|
-
--tracking-tight: -0.
|
|
604
|
-
--tracking-normal:
|
|
605
|
-
--tracking-wide: 0.
|
|
606
|
-
--tracking-wider: 0.
|
|
607
|
-
--tracking-widest: 0.
|
|
616
|
+
--tracking-tighter: -0.05rem;
|
|
617
|
+
--tracking-tight: -0.025rem;
|
|
618
|
+
--tracking-normal: 0;
|
|
619
|
+
--tracking-wide: 0.025rem;
|
|
620
|
+
--tracking-wider: 0.05rem;
|
|
621
|
+
--tracking-widest: 0.1rem;
|
|
608
622
|
--blur-xs: 4px;
|
|
609
623
|
--blur-sm: 8px;
|
|
610
624
|
--blur-md: 12px;
|
|
@@ -658,6 +672,7 @@
|
|
|
658
672
|
--animate-slide-out-right: slideOutRight 150ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
|
|
659
673
|
--animate-progress-indeterminate: progressIndeterminate 2100ms cubic-bezier(0.39, 0.57, 0.56, 1) infinite;
|
|
660
674
|
--animate-progress-indeterminate-short: progressIndeterminateShort 2100ms cubic-bezier(0.17, 0.84, 0.44, 1) 1100ms infinite;
|
|
675
|
+
--animate-flow-dash: flowDash 700ms linear infinite;
|
|
661
676
|
--ring-offset: 0.5px;
|
|
662
677
|
--container-px: 1rem;
|
|
663
678
|
--container-py: 4rem;
|
|
@@ -669,6 +684,9 @@
|
|
|
669
684
|
--spacing-sm: 0.75rem;
|
|
670
685
|
--spacing-xs: 0.5rem;
|
|
671
686
|
--spacing-xxs: 0.25rem;
|
|
687
|
+
--z-input-field: 1;
|
|
688
|
+
--z-input-popup: 10;
|
|
689
|
+
--z-input-overlay: 1100;
|
|
672
690
|
--text-big-number-md-font-size: 1.25rem;
|
|
673
691
|
--text-big-number-md-line-height: 1.25;
|
|
674
692
|
--text-big-number-md-font-weight: 400;
|
|
@@ -704,13 +722,13 @@
|
|
|
704
722
|
--text-heading-xxs-font-weight: 400;
|
|
705
723
|
--text-label-lg-font-size: 1rem;
|
|
706
724
|
--text-label-lg-line-height: 1.5;
|
|
707
|
-
--text-label-lg-font-weight:
|
|
725
|
+
--text-label-lg-font-weight: 400;
|
|
708
726
|
--text-label-md-font-size: 0.875rem;
|
|
709
727
|
--text-label-md-line-height: 1.5;
|
|
710
|
-
--text-label-md-font-weight:
|
|
728
|
+
--text-label-md-font-weight: 400;
|
|
711
729
|
--text-label-sm-font-size: 0.75rem;
|
|
712
730
|
--text-label-sm-line-height: 1.5;
|
|
713
|
-
--text-label-sm-font-weight:
|
|
731
|
+
--text-label-sm-font-weight: 400;
|
|
714
732
|
--text-label-code-sm-font-family: Roboto Mono;
|
|
715
733
|
--text-label-code-sm-font-size: 0.75rem;
|
|
716
734
|
--text-label-code-sm-line-height: 1;
|
|
@@ -745,17 +763,17 @@
|
|
|
745
763
|
--text-overline-md-font-family: Proto Mono;
|
|
746
764
|
--text-overline-md-font-size: 0.75rem;
|
|
747
765
|
--text-overline-md-line-height: 1.375;
|
|
748
|
-
--text-overline-md-letter-spacing: 0.
|
|
766
|
+
--text-overline-md-letter-spacing: 0.1rem;
|
|
749
767
|
--text-overline-md-text-transform: uppercase;
|
|
750
768
|
--text-overline-sm-font-family: Proto Mono;
|
|
751
769
|
--text-overline-sm-font-size: 0.75rem;
|
|
752
770
|
--text-overline-sm-line-height: 1.375;
|
|
753
|
-
--text-overline-sm-letter-spacing: 0.
|
|
771
|
+
--text-overline-sm-letter-spacing: 0.1rem;
|
|
754
772
|
--text-overline-sm-text-transform: uppercase;
|
|
755
773
|
--text-overline-xs-font-family: Proto Mono;
|
|
756
774
|
--text-overline-xs-font-size: 0.75rem;
|
|
757
775
|
--text-overline-xs-line-height: 1.375;
|
|
758
|
-
--text-overline-xs-letter-spacing: 0.
|
|
776
|
+
--text-overline-xs-letter-spacing: 0.1rem;
|
|
759
777
|
--text-overline-xs-text-transform: uppercase;
|
|
760
778
|
--text-button-lg-font-family: Sora;
|
|
761
779
|
--text-button-lg-font-size: 0.875rem;
|
|
@@ -832,15 +850,17 @@
|
|
|
832
850
|
--secondary-mask: #00000005;
|
|
833
851
|
--secondary-selected: #0A0A0A;
|
|
834
852
|
--secondary-contrast: #FFFFFF;
|
|
835
|
-
--accent: #
|
|
836
|
-
--accent-mask: #
|
|
837
|
-
--accent-selected: #
|
|
853
|
+
--accent: #0072F5;
|
|
854
|
+
--accent-mask: #0072F51A;
|
|
855
|
+
--accent-selected: #0072F5;
|
|
838
856
|
--accent-contrast: #000000;
|
|
839
857
|
--bg-canvas: #FAFAFA;
|
|
840
858
|
--bg-surface: #FFFFFF;
|
|
841
859
|
--bg-surface-raised: #FFFFFF;
|
|
842
860
|
--bg-mask: #00000005;
|
|
843
861
|
--bg-surface-overlay: #FAFAFA;
|
|
862
|
+
--bg-placeholder: #00000014;
|
|
863
|
+
--bg-placeholder-highlight: #FFFFFF99;
|
|
844
864
|
--bg-hover: #00000014;
|
|
845
865
|
--bg-active: #00000005;
|
|
846
866
|
--bg-backdrop: #000000CC;
|
|
@@ -852,7 +872,7 @@
|
|
|
852
872
|
--border-strong: #000000;
|
|
853
873
|
--border-selected: #F3652B;
|
|
854
874
|
--text-default: #141414;
|
|
855
|
-
--text-muted: #
|
|
875
|
+
--text-muted: #808080;
|
|
856
876
|
--text-disabled: #999999;
|
|
857
877
|
--text-link: #005FCC;
|
|
858
878
|
--text-link-hover: #004799;
|
|
@@ -862,6 +882,7 @@
|
|
|
862
882
|
--code-sintax-line-number: #808080;
|
|
863
883
|
--code-sintax-keyword: #005FCC;
|
|
864
884
|
--code-sintax-punctuation: #808080;
|
|
885
|
+
--code-sintax-comment: #808080;
|
|
865
886
|
--code-sintax-function: #F3652B;
|
|
866
887
|
--code-sintax-type: #947105;
|
|
867
888
|
--code-sintax-string: #005FCC;
|
|
@@ -875,7 +896,7 @@
|
|
|
875
896
|
--danger-border: #E51A1A66;
|
|
876
897
|
--danger-contrast: #891010;
|
|
877
898
|
--info: #CCE4FF;
|
|
878
|
-
--info-border: #
|
|
899
|
+
--info-border: #0072F566;
|
|
879
900
|
--info-contrast: #004799;
|
|
880
901
|
}
|
|
881
902
|
|
|
@@ -900,17 +921,19 @@
|
|
|
900
921
|
--secondary-mask: #FFFFFF1A;
|
|
901
922
|
--secondary-selected: #FFFFFF;
|
|
902
923
|
--secondary-contrast: #000000;
|
|
903
|
-
--accent: #
|
|
904
|
-
--accent-mask: #
|
|
905
|
-
--accent-selected: #
|
|
924
|
+
--accent: #0072F5;
|
|
925
|
+
--accent-mask: #0072F51A;
|
|
926
|
+
--accent-selected: #0072F5;
|
|
906
927
|
--accent-contrast: #000000;
|
|
907
928
|
--bg-canvas: #000000;
|
|
908
929
|
--bg-surface: #0A0A0A;
|
|
909
930
|
--bg-surface-raised: #141414;
|
|
910
931
|
--bg-mask: #FFFFFF0D;
|
|
911
932
|
--bg-surface-overlay: #4D4D4D;
|
|
912
|
-
--bg-
|
|
913
|
-
--bg-
|
|
933
|
+
--bg-placeholder: #FFFFFF1A;
|
|
934
|
+
--bg-placeholder-highlight: #FFFFFF1A;
|
|
935
|
+
--bg-hover: #FFFFFF1A;
|
|
936
|
+
--bg-active: #FFFFFF0D;
|
|
914
937
|
--bg-backdrop: #000000CC;
|
|
915
938
|
--bg-selected: #1A1A1A;
|
|
916
939
|
--bg-contrast: #FAFAFA;
|
|
@@ -920,7 +943,7 @@
|
|
|
920
943
|
--border-strong: #FFFFFF;
|
|
921
944
|
--border-selected: #F3652B;
|
|
922
945
|
--text-default: #FAFAFA;
|
|
923
|
-
--text-muted: #
|
|
946
|
+
--text-muted: #808080;
|
|
924
947
|
--text-disabled: #4D4D4D;
|
|
925
948
|
--text-link: #3392FF;
|
|
926
949
|
--text-link-hover: #66ADFF;
|
|
@@ -930,6 +953,7 @@
|
|
|
930
953
|
--code-sintax-line-number: #999999;
|
|
931
954
|
--code-sintax-keyword: #3392FF;
|
|
932
955
|
--code-sintax-punctuation: #999999;
|
|
956
|
+
--code-sintax-comment: #999999;
|
|
933
957
|
--code-sintax-function: #F3652B;
|
|
934
958
|
--code-sintax-type: #FAD76B;
|
|
935
959
|
--code-sintax-string: #3392FF;
|
|
@@ -943,7 +967,7 @@
|
|
|
943
967
|
--danger-border: #E51A1A66;
|
|
944
968
|
--danger-contrast: #ED7878;
|
|
945
969
|
--info: #001833;
|
|
946
|
-
--info-border: #
|
|
970
|
+
--info-border: #0072F566;
|
|
947
971
|
--info-contrast: #66ADFF;
|
|
948
972
|
}
|
|
949
973
|
|
|
@@ -978,13 +1002,13 @@
|
|
|
978
1002
|
}
|
|
979
1003
|
|
|
980
1004
|
@keyframes popupScaleIn {
|
|
981
|
-
0% { opacity: 0; transform: scale(0.
|
|
1005
|
+
0% { opacity: 0; transform: scale(0.9); }
|
|
982
1006
|
100% { opacity: 1; transform: scale(1); }
|
|
983
1007
|
}
|
|
984
1008
|
|
|
985
1009
|
@keyframes popupScaleOut {
|
|
986
1010
|
0% { opacity: 1; transform: scale(1); }
|
|
987
|
-
100% { opacity: 0; transform: scale(0.
|
|
1011
|
+
100% { opacity: 0; transform: scale(0.9); }
|
|
988
1012
|
}
|
|
989
1013
|
|
|
990
1014
|
@keyframes slideInLeft {
|
|
@@ -1019,6 +1043,11 @@
|
|
|
1019
1043
|
100% { inset-inline-start: 107%; inset-inline-end: -8%; }
|
|
1020
1044
|
}
|
|
1021
1045
|
|
|
1046
|
+
@keyframes flowDash {
|
|
1047
|
+
0% { stroke-dashoffset: 24; }
|
|
1048
|
+
100% { stroke-dashoffset: 0; }
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1022
1051
|
@layer components {
|
|
1023
1052
|
/* ── Containers ── */
|
|
1024
1053
|
.px-container { padding-left: var(--container-px); padding-right: var(--container-px); }
|
|
@@ -1319,6 +1348,8 @@
|
|
|
1319
1348
|
@utility bg-surface-raised { background-color: var(--bg-surface-raised); }
|
|
1320
1349
|
@utility bg-mask { background-color: var(--bg-mask); }
|
|
1321
1350
|
@utility bg-surface-overlay { background-color: var(--bg-surface-overlay); }
|
|
1351
|
+
@utility bg-placeholder { background-color: var(--bg-placeholder); }
|
|
1352
|
+
@utility bg-placeholder-highlight { background-color: var(--bg-placeholder-highlight); }
|
|
1322
1353
|
@utility bg-hover { background-color: var(--bg-hover); }
|
|
1323
1354
|
@utility bg-active { background-color: var(--bg-active); }
|
|
1324
1355
|
@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.
|
|
4
|
+
"version": "4.3.0",
|
|
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
|
-
"
|
|
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/",
|