@vector-im/compound-design-tokens 10.2.1 → 10.2.3
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/assets/web/css/cpd-common-semantic.css +9 -0
- package/assets/web/icons/crop.cjs +4 -2
- package/assets/web/icons/crop.js +4 -2
- package/assets/web/js/cpdDark.d.ts +9 -0
- package/assets/web/js/cpdDark.js +9 -0
- package/assets/web/js/cpdDarkHc.d.ts +9 -0
- package/assets/web/js/cpdDarkHc.js +9 -0
- package/assets/web/js/cpdLight.d.ts +9 -0
- package/assets/web/js/cpdLight.js +9 -0
- package/assets/web/js/cpdLightHc.d.ts +9 -0
- package/assets/web/js/cpdLightHc.js +9 -0
- package/icons/crop.svg +1 -1
- package/package.json +8 -7
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--cpd-color-text-disabled: var(--cpd-color-gray-800);
|
|
5
5
|
--cpd-color-text-action-primary: var(--cpd-color-gray-1400);
|
|
6
6
|
--cpd-color-text-action-accent: var(--cpd-color-green-900);
|
|
7
|
+
--cpd-color-text-action-success: var(--cpd-color-green-900);
|
|
7
8
|
--cpd-color-text-link-external: var(--cpd-color-blue-1100);
|
|
8
9
|
--cpd-color-text-critical-primary: var(--cpd-color-red-900);
|
|
9
10
|
--cpd-color-text-success-primary: var(--cpd-color-green-900);
|
|
@@ -17,8 +18,10 @@
|
|
|
17
18
|
--cpd-color-text-decorative-6: var(--cpd-color-orange-1100);
|
|
18
19
|
--cpd-color-text-badge-accent: var(--cpd-color-green-1100);
|
|
19
20
|
--cpd-color-text-badge-info: var(--cpd-color-blue-1100);
|
|
21
|
+
--cpd-color-text-warning-primary: var(--cpd-color-orange-900);
|
|
20
22
|
--cpd-color-bg-subtle-primary: var(--cpd-color-gray-400);
|
|
21
23
|
--cpd-color-bg-subtle-secondary: var(--cpd-color-gray-300);
|
|
24
|
+
--cpd-color-bg-subtle-tertiary: var(--cpd-color-gray-100);
|
|
22
25
|
--cpd-color-bg-canvas-default: var(--cpd-color-theme-bg);
|
|
23
26
|
--cpd-color-bg-canvas-disabled: var(--cpd-color-gray-200);
|
|
24
27
|
--cpd-color-bg-action-primary-rest: var(--cpd-color-gray-1400);
|
|
@@ -36,6 +39,9 @@
|
|
|
36
39
|
--cpd-color-bg-critical-subtle: var(--cpd-color-red-200);
|
|
37
40
|
--cpd-color-bg-critical-subtle-hovered: var(--cpd-color-red-300);
|
|
38
41
|
--cpd-color-bg-success-subtle: var(--cpd-color-green-200);
|
|
42
|
+
--cpd-color-bg-success-rest: var(--cpd-color-green-900);
|
|
43
|
+
--cpd-color-bg-success-hovered: var(--cpd-color-green-1000);
|
|
44
|
+
--cpd-color-bg-success-pressed: var(--cpd-color-green-1100);
|
|
39
45
|
--cpd-color-bg-info-subtle: var(--cpd-color-blue-200);
|
|
40
46
|
--cpd-color-bg-decorative-1: var(--cpd-color-lime-300);
|
|
41
47
|
--cpd-color-bg-decorative-2: var(--cpd-color-cyan-300);
|
|
@@ -47,6 +53,7 @@
|
|
|
47
53
|
--cpd-color-bg-accent-hovered: var(--cpd-color-green-1000);
|
|
48
54
|
--cpd-color-bg-accent-pressed: var(--cpd-color-green-1100);
|
|
49
55
|
--cpd-color-bg-accent-selected: var(--cpd-color-alpha-green-300);
|
|
56
|
+
--cpd-color-bg-accent-subtle: var(--cpd-color-green-200);
|
|
50
57
|
--cpd-color-bg-badge-accent: var(--cpd-color-green-400);
|
|
51
58
|
--cpd-color-bg-badge-info: var(--cpd-color-blue-400);
|
|
52
59
|
--cpd-color-bg-badge-default: var(--cpd-color-theme-bg);
|
|
@@ -62,6 +69,7 @@
|
|
|
62
69
|
--cpd-color-border-critical-hovered: var(--cpd-color-red-1000);
|
|
63
70
|
--cpd-color-border-critical-subtle: var(--cpd-color-red-500);
|
|
64
71
|
--cpd-color-border-success-subtle: var(--cpd-color-green-500);
|
|
72
|
+
--cpd-color-border-success-primary: var(--cpd-color-green-900);
|
|
65
73
|
--cpd-color-border-info-subtle: var(--cpd-color-blue-700);
|
|
66
74
|
--cpd-color-border-accent-subtle: var(--cpd-color-green-700);
|
|
67
75
|
--cpd-color-border-accent-primary: var(--cpd-color-green-900);
|
|
@@ -80,6 +88,7 @@
|
|
|
80
88
|
--cpd-color-icon-success-primary: var(--cpd-color-green-900);
|
|
81
89
|
--cpd-color-icon-info-primary: var(--cpd-color-blue-1100);
|
|
82
90
|
--cpd-color-icon-on-solid-primary: var(--cpd-color-theme-bg);
|
|
91
|
+
--cpd-color-icon-warning-primary: var(--cpd-color-orange-900);
|
|
83
92
|
--cpd-color-gradient-subtle-stop1: var(--cpd-color-alpha-green-500);
|
|
84
93
|
--cpd-color-gradient-subtle-stop2: var(--cpd-color-alpha-green-400);
|
|
85
94
|
--cpd-color-gradient-subtle-stop3: var(--cpd-color-alpha-green-300);
|
|
@@ -10,9 +10,11 @@ function CropIcon(props, ref) {
|
|
|
10
10
|
ref: ref,
|
|
11
11
|
...props,
|
|
12
12
|
children: [/*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
-
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
d: "M6 4a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v8a3 3 0 0 0 3 3h8v2a1 1 0 0 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-8a3 3 0 0 0-3-3H7V5a1 1 0 0 0-1-1m9 5a1 1 0 0 1 1 1v8H8a1 1 0 0 1-1-1V9z",
|
|
15
|
+
clipRule: "evenodd"
|
|
14
16
|
}), /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
15
|
-
d: "
|
|
17
|
+
d: "M15.707.293a1 1 0 0 0-1.414 0l-2 2a1 1 0 0 0 0 1.414l2 2a1 1 0 1 0 1.414-1.414l-.275-.276A6 6 0 0 1 21 10a1 1 0 1 0 2 0 8 8 0 0 0-7.596-7.99l.303-.303a1 1 0 0 0 0-1.414"
|
|
16
18
|
})]
|
|
17
19
|
});
|
|
18
20
|
}
|
package/assets/web/icons/crop.js
CHANGED
|
@@ -10,9 +10,11 @@ function CropIcon(props, ref) {
|
|
|
10
10
|
ref: ref,
|
|
11
11
|
...props,
|
|
12
12
|
children: [/*#__PURE__*/_jsx("path", {
|
|
13
|
-
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
d: "M6 4a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v8a3 3 0 0 0 3 3h8v2a1 1 0 0 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-8a3 3 0 0 0-3-3H7V5a1 1 0 0 0-1-1m9 5a1 1 0 0 1 1 1v8H8a1 1 0 0 1-1-1V9z",
|
|
15
|
+
clipRule: "evenodd"
|
|
14
16
|
}), /*#__PURE__*/_jsx("path", {
|
|
15
|
-
d: "
|
|
17
|
+
d: "M15.707.293a1 1 0 0 0-1.414 0l-2 2a1 1 0 0 0 0 1.414l2 2a1 1 0 1 0 1.414-1.414l-.275-.276A6 6 0 0 1 21 10a1 1 0 1 0 2 0 8 8 0 0 0-7.596-7.99l.303-.303a1 1 0 0 0 0-1.414"
|
|
16
18
|
})]
|
|
17
19
|
});
|
|
18
20
|
}
|
|
@@ -626,6 +626,7 @@ export const cpdColorTextSecondary: string;
|
|
|
626
626
|
export const cpdColorTextDisabled: string;
|
|
627
627
|
export const cpdColorTextActionPrimary: string;
|
|
628
628
|
export const cpdColorTextActionAccent: string;
|
|
629
|
+
export const cpdColorTextActionSuccess: string;
|
|
629
630
|
export const cpdColorTextLinkExternal: string;
|
|
630
631
|
export const cpdColorTextCriticalPrimary: string;
|
|
631
632
|
export const cpdColorTextSuccessPrimary: string;
|
|
@@ -639,8 +640,10 @@ export const cpdColorTextDecorative5: string;
|
|
|
639
640
|
export const cpdColorTextDecorative6: string;
|
|
640
641
|
export const cpdColorTextBadgeAccent: string;
|
|
641
642
|
export const cpdColorTextBadgeInfo: string;
|
|
643
|
+
export const cpdColorTextWarningPrimary: string;
|
|
642
644
|
export const cpdColorBgSubtlePrimary: string;
|
|
643
645
|
export const cpdColorBgSubtleSecondary: string;
|
|
646
|
+
export const cpdColorBgSubtleTertiary: string;
|
|
644
647
|
export const cpdColorBgCanvasDefault: string;
|
|
645
648
|
export const cpdColorBgCanvasDisabled: string;
|
|
646
649
|
export const cpdColorBgCanvasDefaultLevel1: string;
|
|
@@ -659,6 +662,9 @@ export const cpdColorBgCriticalHovered: string;
|
|
|
659
662
|
export const cpdColorBgCriticalSubtle: string;
|
|
660
663
|
export const cpdColorBgCriticalSubtleHovered: string;
|
|
661
664
|
export const cpdColorBgSuccessSubtle: string;
|
|
665
|
+
export const cpdColorBgSuccessRest: string;
|
|
666
|
+
export const cpdColorBgSuccessHovered: string;
|
|
667
|
+
export const cpdColorBgSuccessPressed: string;
|
|
662
668
|
export const cpdColorBgInfoSubtle: string;
|
|
663
669
|
export const cpdColorBgDecorative1: string;
|
|
664
670
|
export const cpdColorBgDecorative2: string;
|
|
@@ -670,6 +676,7 @@ export const cpdColorBgAccentRest: string;
|
|
|
670
676
|
export const cpdColorBgAccentHovered: string;
|
|
671
677
|
export const cpdColorBgAccentPressed: string;
|
|
672
678
|
export const cpdColorBgAccentSelected: string;
|
|
679
|
+
export const cpdColorBgAccentSubtle: string;
|
|
673
680
|
export const cpdColorBgBadgeAccent: string;
|
|
674
681
|
export const cpdColorBgBadgeInfo: string;
|
|
675
682
|
export const cpdColorBgBadgeDefault: string;
|
|
@@ -686,6 +693,7 @@ export const cpdColorBorderCriticalPrimary: string;
|
|
|
686
693
|
export const cpdColorBorderCriticalHovered: string;
|
|
687
694
|
export const cpdColorBorderCriticalSubtle: string;
|
|
688
695
|
export const cpdColorBorderSuccessSubtle: string;
|
|
696
|
+
export const cpdColorBorderSuccessPrimary: string;
|
|
689
697
|
export const cpdColorBorderInfoSubtle: string;
|
|
690
698
|
export const cpdColorBorderAccentSubtle: string;
|
|
691
699
|
export const cpdColorBorderAccentPrimary: string;
|
|
@@ -704,6 +712,7 @@ export const cpdColorIconCriticalPrimary: string;
|
|
|
704
712
|
export const cpdColorIconSuccessPrimary: string;
|
|
705
713
|
export const cpdColorIconInfoPrimary: string;
|
|
706
714
|
export const cpdColorIconOnSolidPrimary: string;
|
|
715
|
+
export const cpdColorIconWarningPrimary: string;
|
|
707
716
|
export const cpdColorGradientSubtleStop1: string;
|
|
708
717
|
export const cpdColorGradientSubtleStop2: string;
|
|
709
718
|
export const cpdColorGradientSubtleStop3: string;
|
package/assets/web/js/cpdDark.js
CHANGED
|
@@ -654,6 +654,7 @@ export const cpdColorTextSecondary = "#808994";
|
|
|
654
654
|
export const cpdColorTextDisabled = "#656c76";
|
|
655
655
|
export const cpdColorTextActionPrimary = "#ebeef2";
|
|
656
656
|
export const cpdColorTextActionAccent = "#129a78";
|
|
657
|
+
export const cpdColorTextActionSuccess = "#129a78";
|
|
657
658
|
export const cpdColorTextLinkExternal = "#7aacf4";
|
|
658
659
|
export const cpdColorTextCriticalPrimary = "#fd3e3c";
|
|
659
660
|
export const cpdColorTextSuccessPrimary = "#129a78";
|
|
@@ -667,8 +668,10 @@ export const cpdColorTextDecorative5 = "#fe84a2";
|
|
|
667
668
|
export const cpdColorTextDecorative6 = "#f6913d";
|
|
668
669
|
export const cpdColorTextBadgeAccent = "#1fc090";
|
|
669
670
|
export const cpdColorTextBadgeInfo = "#7aacf4";
|
|
671
|
+
export const cpdColorTextWarningPrimary = "#da670d";
|
|
670
672
|
export const cpdColorBgSubtlePrimary = "#26282d";
|
|
671
673
|
export const cpdColorBgSubtleSecondary = "#1d1f24";
|
|
674
|
+
export const cpdColorBgSubtleTertiary = "#14171b";
|
|
672
675
|
export const cpdColorBgCanvasDefault = "#101317";
|
|
673
676
|
export const cpdColorBgCanvasDisabled = "#181a1f";
|
|
674
677
|
export const cpdColorBgCanvasDefaultLevel1 = "#1d1f24";
|
|
@@ -687,6 +690,9 @@ export const cpdColorBgCriticalHovered = "#ff665d";
|
|
|
687
690
|
export const cpdColorBgCriticalSubtle = "#3e0000";
|
|
688
691
|
export const cpdColorBgCriticalSubtleHovered = "#470000";
|
|
689
692
|
export const cpdColorBgSuccessSubtle = "#001f0e";
|
|
693
|
+
export const cpdColorBgSuccessRest = "#129a78";
|
|
694
|
+
export const cpdColorBgSuccessHovered = "#17ac84";
|
|
695
|
+
export const cpdColorBgSuccessPressed = "#1fc090";
|
|
690
696
|
export const cpdColorBgInfoSubtle = "#00095d";
|
|
691
697
|
export const cpdColorBgDecorative1 = "#002600";
|
|
692
698
|
export const cpdColorBgDecorative2 = "#001b4e";
|
|
@@ -698,6 +704,7 @@ export const cpdColorBgAccentRest = "#129a78";
|
|
|
698
704
|
export const cpdColorBgAccentHovered = "#17ac84";
|
|
699
705
|
export const cpdColorBgAccentPressed = "#1fc090";
|
|
700
706
|
export const cpdColorBgAccentSelected = "hsl(151, 100%, 7%, 1)";
|
|
707
|
+
export const cpdColorBgAccentSubtle = "#001f0e";
|
|
701
708
|
export const cpdColorBgBadgeAccent = "#002e1b";
|
|
702
709
|
export const cpdColorBgBadgeInfo = "#001e6f";
|
|
703
710
|
export const cpdColorBgBadgeDefault = "#101317";
|
|
@@ -714,6 +721,7 @@ export const cpdColorBorderCriticalPrimary = "#fd3e3c";
|
|
|
714
721
|
export const cpdColorBorderCriticalHovered = "#ff665d";
|
|
715
722
|
export const cpdColorBorderCriticalSubtle = "#710000";
|
|
716
723
|
export const cpdColorBorderSuccessSubtle = "#003d29";
|
|
724
|
+
export const cpdColorBorderSuccessPrimary = "#129a78";
|
|
717
725
|
export const cpdColorBorderInfoSubtle = "#0b49ab";
|
|
718
726
|
export const cpdColorBorderAccentSubtle = "#005a43";
|
|
719
727
|
export const cpdColorBorderAccentPrimary = "#129a78";
|
|
@@ -732,6 +740,7 @@ export const cpdColorIconCriticalPrimary = "#fd3e3c";
|
|
|
732
740
|
export const cpdColorIconSuccessPrimary = "#129a78";
|
|
733
741
|
export const cpdColorIconInfoPrimary = "#7aacf4";
|
|
734
742
|
export const cpdColorIconOnSolidPrimary = "#101317";
|
|
743
|
+
export const cpdColorIconWarningPrimary = "#da670d";
|
|
735
744
|
export const cpdColorGradientSubtleStop1 = "hsl(160, 100%, 12%, 1)";
|
|
736
745
|
export const cpdColorGradientSubtleStop2 = "hsl(155, 100%, 9%, 1)";
|
|
737
746
|
export const cpdColorGradientSubtleStop3 = "hsl(151, 100%, 7%, 1)";
|
|
@@ -626,6 +626,7 @@ export const cpdColorTextSecondary: string;
|
|
|
626
626
|
export const cpdColorTextDisabled: string;
|
|
627
627
|
export const cpdColorTextActionPrimary: string;
|
|
628
628
|
export const cpdColorTextActionAccent: string;
|
|
629
|
+
export const cpdColorTextActionSuccess: string;
|
|
629
630
|
export const cpdColorTextLinkExternal: string;
|
|
630
631
|
export const cpdColorTextCriticalPrimary: string;
|
|
631
632
|
export const cpdColorTextSuccessPrimary: string;
|
|
@@ -639,8 +640,10 @@ export const cpdColorTextDecorative5: string;
|
|
|
639
640
|
export const cpdColorTextDecorative6: string;
|
|
640
641
|
export const cpdColorTextBadgeAccent: string;
|
|
641
642
|
export const cpdColorTextBadgeInfo: string;
|
|
643
|
+
export const cpdColorTextWarningPrimary: string;
|
|
642
644
|
export const cpdColorBgSubtlePrimary: string;
|
|
643
645
|
export const cpdColorBgSubtleSecondary: string;
|
|
646
|
+
export const cpdColorBgSubtleTertiary: string;
|
|
644
647
|
export const cpdColorBgCanvasDefault: string;
|
|
645
648
|
export const cpdColorBgCanvasDisabled: string;
|
|
646
649
|
export const cpdColorBgCanvasDefaultLevel1: string;
|
|
@@ -659,6 +662,9 @@ export const cpdColorBgCriticalHovered: string;
|
|
|
659
662
|
export const cpdColorBgCriticalSubtle: string;
|
|
660
663
|
export const cpdColorBgCriticalSubtleHovered: string;
|
|
661
664
|
export const cpdColorBgSuccessSubtle: string;
|
|
665
|
+
export const cpdColorBgSuccessRest: string;
|
|
666
|
+
export const cpdColorBgSuccessHovered: string;
|
|
667
|
+
export const cpdColorBgSuccessPressed: string;
|
|
662
668
|
export const cpdColorBgInfoSubtle: string;
|
|
663
669
|
export const cpdColorBgDecorative1: string;
|
|
664
670
|
export const cpdColorBgDecorative2: string;
|
|
@@ -670,6 +676,7 @@ export const cpdColorBgAccentRest: string;
|
|
|
670
676
|
export const cpdColorBgAccentHovered: string;
|
|
671
677
|
export const cpdColorBgAccentPressed: string;
|
|
672
678
|
export const cpdColorBgAccentSelected: string;
|
|
679
|
+
export const cpdColorBgAccentSubtle: string;
|
|
673
680
|
export const cpdColorBgBadgeAccent: string;
|
|
674
681
|
export const cpdColorBgBadgeInfo: string;
|
|
675
682
|
export const cpdColorBgBadgeDefault: string;
|
|
@@ -686,6 +693,7 @@ export const cpdColorBorderCriticalPrimary: string;
|
|
|
686
693
|
export const cpdColorBorderCriticalHovered: string;
|
|
687
694
|
export const cpdColorBorderCriticalSubtle: string;
|
|
688
695
|
export const cpdColorBorderSuccessSubtle: string;
|
|
696
|
+
export const cpdColorBorderSuccessPrimary: string;
|
|
689
697
|
export const cpdColorBorderInfoSubtle: string;
|
|
690
698
|
export const cpdColorBorderAccentSubtle: string;
|
|
691
699
|
export const cpdColorBorderAccentPrimary: string;
|
|
@@ -704,6 +712,7 @@ export const cpdColorIconCriticalPrimary: string;
|
|
|
704
712
|
export const cpdColorIconSuccessPrimary: string;
|
|
705
713
|
export const cpdColorIconInfoPrimary: string;
|
|
706
714
|
export const cpdColorIconOnSolidPrimary: string;
|
|
715
|
+
export const cpdColorIconWarningPrimary: string;
|
|
707
716
|
export const cpdColorGradientSubtleStop1: string;
|
|
708
717
|
export const cpdColorGradientSubtleStop2: string;
|
|
709
718
|
export const cpdColorGradientSubtleStop3: string;
|
|
@@ -654,6 +654,7 @@ export const cpdColorTextSecondary = "#acb4bd";
|
|
|
654
654
|
export const cpdColorTextDisabled = "#79818d";
|
|
655
655
|
export const cpdColorTextActionPrimary = "#f2f5f7";
|
|
656
656
|
export const cpdColorTextActionAccent = "#37c998";
|
|
657
|
+
export const cpdColorTextActionSuccess = "#37c998";
|
|
657
658
|
export const cpdColorTextLinkExternal = "#b2cffa";
|
|
658
659
|
export const cpdColorTextCriticalPrimary = "#ff968c";
|
|
659
660
|
export const cpdColorTextSuccessPrimary = "#37c998";
|
|
@@ -667,8 +668,10 @@ export const cpdColorTextDecorative5 = "#ffbbca";
|
|
|
667
668
|
export const cpdColorTextDecorative6 = "#fdc197";
|
|
668
669
|
export const cpdColorTextBadgeAccent = "#8fddbc";
|
|
669
670
|
export const cpdColorTextBadgeInfo = "#b2cffa";
|
|
671
|
+
export const cpdColorTextWarningPrimary = "#f89d58";
|
|
670
672
|
export const cpdColorBgSubtlePrimary = "#2b2e33";
|
|
671
673
|
export const cpdColorBgSubtleSecondary = "#26282d";
|
|
674
|
+
export const cpdColorBgSubtleTertiary = "#181a1f";
|
|
672
675
|
export const cpdColorBgCanvasDefault = "#101317";
|
|
673
676
|
export const cpdColorBgCanvasDisabled = "#1d1f24";
|
|
674
677
|
export const cpdColorBgCanvasDefaultLevel1 = "#26282d";
|
|
@@ -687,6 +690,9 @@ export const cpdColorBgCriticalHovered = "#ffa79d";
|
|
|
687
690
|
export const cpdColorBgCriticalSubtle = "#470000";
|
|
688
691
|
export const cpdColorBgCriticalSubtleHovered = "#590000";
|
|
689
692
|
export const cpdColorBgSuccessSubtle = "#002513";
|
|
693
|
+
export const cpdColorBgSuccessRest = "#37c998";
|
|
694
|
+
export const cpdColorBgSuccessHovered = "#61d2a6";
|
|
695
|
+
export const cpdColorBgSuccessPressed = "#8fddbc";
|
|
690
696
|
export const cpdColorBgInfoSubtle = "#001264";
|
|
691
697
|
export const cpdColorBgDecorative1 = "#003000";
|
|
692
698
|
export const cpdColorBgDecorative2 = "#002559";
|
|
@@ -698,6 +704,7 @@ export const cpdColorBgAccentRest = "#37c998";
|
|
|
698
704
|
export const cpdColorBgAccentHovered = "#61d2a6";
|
|
699
705
|
export const cpdColorBgAccentPressed = "#8fddbc";
|
|
700
706
|
export const cpdColorBgAccentSelected = "hsl(155, 100%, 9%, 1)";
|
|
707
|
+
export const cpdColorBgAccentSubtle = "#002513";
|
|
701
708
|
export const cpdColorBgBadgeAccent = "#003622";
|
|
702
709
|
export const cpdColorBgBadgeInfo = "#032677";
|
|
703
710
|
export const cpdColorBgBadgeDefault = "#101317";
|
|
@@ -714,6 +721,7 @@ export const cpdColorBorderCriticalPrimary = "#ff968c";
|
|
|
714
721
|
export const cpdColorBorderCriticalHovered = "#ffa79d";
|
|
715
722
|
export const cpdColorBorderCriticalSubtle = "#830009";
|
|
716
723
|
export const cpdColorBorderSuccessSubtle = "#004832";
|
|
724
|
+
export const cpdColorBorderSuccessPrimary = "#37c998";
|
|
717
725
|
export const cpdColorBorderInfoSubtle = "#0e61d1";
|
|
718
726
|
export const cpdColorBorderAccentSubtle = "#00745c";
|
|
719
727
|
export const cpdColorBorderAccentPrimary = "#37c998";
|
|
@@ -732,6 +740,7 @@ export const cpdColorIconCriticalPrimary = "#ff968c";
|
|
|
732
740
|
export const cpdColorIconSuccessPrimary = "#37c998";
|
|
733
741
|
export const cpdColorIconInfoPrimary = "#b2cffa";
|
|
734
742
|
export const cpdColorIconOnSolidPrimary = "#101317";
|
|
743
|
+
export const cpdColorIconWarningPrimary = "#f89d58";
|
|
735
744
|
export const cpdColorGradientSubtleStop1 = "hsl(162, 100%, 14%, 1)";
|
|
736
745
|
export const cpdColorGradientSubtleStop2 = "hsl(158, 100%, 11%, 1)";
|
|
737
746
|
export const cpdColorGradientSubtleStop3 = "hsl(155, 100%, 9%, 1)";
|
|
@@ -626,6 +626,7 @@ export const cpdColorTextSecondary: string;
|
|
|
626
626
|
export const cpdColorTextDisabled: string;
|
|
627
627
|
export const cpdColorTextActionPrimary: string;
|
|
628
628
|
export const cpdColorTextActionAccent: string;
|
|
629
|
+
export const cpdColorTextActionSuccess: string;
|
|
629
630
|
export const cpdColorTextLinkExternal: string;
|
|
630
631
|
export const cpdColorTextCriticalPrimary: string;
|
|
631
632
|
export const cpdColorTextSuccessPrimary: string;
|
|
@@ -639,8 +640,10 @@ export const cpdColorTextDecorative5: string;
|
|
|
639
640
|
export const cpdColorTextDecorative6: string;
|
|
640
641
|
export const cpdColorTextBadgeAccent: string;
|
|
641
642
|
export const cpdColorTextBadgeInfo: string;
|
|
643
|
+
export const cpdColorTextWarningPrimary: string;
|
|
642
644
|
export const cpdColorBgSubtlePrimary: string;
|
|
643
645
|
export const cpdColorBgSubtleSecondary: string;
|
|
646
|
+
export const cpdColorBgSubtleTertiary: string;
|
|
644
647
|
export const cpdColorBgCanvasDefault: string;
|
|
645
648
|
export const cpdColorBgCanvasDisabled: string;
|
|
646
649
|
export const cpdColorBgCanvasDefaultLevel1: string;
|
|
@@ -659,6 +662,9 @@ export const cpdColorBgCriticalHovered: string;
|
|
|
659
662
|
export const cpdColorBgCriticalSubtle: string;
|
|
660
663
|
export const cpdColorBgCriticalSubtleHovered: string;
|
|
661
664
|
export const cpdColorBgSuccessSubtle: string;
|
|
665
|
+
export const cpdColorBgSuccessRest: string;
|
|
666
|
+
export const cpdColorBgSuccessHovered: string;
|
|
667
|
+
export const cpdColorBgSuccessPressed: string;
|
|
662
668
|
export const cpdColorBgInfoSubtle: string;
|
|
663
669
|
export const cpdColorBgDecorative1: string;
|
|
664
670
|
export const cpdColorBgDecorative2: string;
|
|
@@ -670,6 +676,7 @@ export const cpdColorBgAccentRest: string;
|
|
|
670
676
|
export const cpdColorBgAccentHovered: string;
|
|
671
677
|
export const cpdColorBgAccentPressed: string;
|
|
672
678
|
export const cpdColorBgAccentSelected: string;
|
|
679
|
+
export const cpdColorBgAccentSubtle: string;
|
|
673
680
|
export const cpdColorBgBadgeAccent: string;
|
|
674
681
|
export const cpdColorBgBadgeInfo: string;
|
|
675
682
|
export const cpdColorBgBadgeDefault: string;
|
|
@@ -686,6 +693,7 @@ export const cpdColorBorderCriticalPrimary: string;
|
|
|
686
693
|
export const cpdColorBorderCriticalHovered: string;
|
|
687
694
|
export const cpdColorBorderCriticalSubtle: string;
|
|
688
695
|
export const cpdColorBorderSuccessSubtle: string;
|
|
696
|
+
export const cpdColorBorderSuccessPrimary: string;
|
|
689
697
|
export const cpdColorBorderInfoSubtle: string;
|
|
690
698
|
export const cpdColorBorderAccentSubtle: string;
|
|
691
699
|
export const cpdColorBorderAccentPrimary: string;
|
|
@@ -704,6 +712,7 @@ export const cpdColorIconCriticalPrimary: string;
|
|
|
704
712
|
export const cpdColorIconSuccessPrimary: string;
|
|
705
713
|
export const cpdColorIconInfoPrimary: string;
|
|
706
714
|
export const cpdColorIconOnSolidPrimary: string;
|
|
715
|
+
export const cpdColorIconWarningPrimary: string;
|
|
707
716
|
export const cpdColorGradientSubtleStop1: string;
|
|
708
717
|
export const cpdColorGradientSubtleStop2: string;
|
|
709
718
|
export const cpdColorGradientSubtleStop3: string;
|
|
@@ -654,6 +654,7 @@ export const cpdColorTextSecondary = "#656d77";
|
|
|
654
654
|
export const cpdColorTextDisabled = "#818a95";
|
|
655
655
|
export const cpdColorTextActionPrimary = "#1b1d22";
|
|
656
656
|
export const cpdColorTextActionAccent = "#007a61";
|
|
657
|
+
export const cpdColorTextActionSuccess = "#007a61";
|
|
657
658
|
export const cpdColorTextLinkExternal = "#064ab1";
|
|
658
659
|
export const cpdColorTextCriticalPrimary = "#d51928";
|
|
659
660
|
export const cpdColorTextSuccessPrimary = "#007a61";
|
|
@@ -667,8 +668,10 @@ export const cpdColorTextDecorative5 = "#9f0850";
|
|
|
667
668
|
export const cpdColorTextDecorative6 = "#9b2200";
|
|
668
669
|
export const cpdColorTextBadgeAccent = "#005c45";
|
|
669
670
|
export const cpdColorTextBadgeInfo = "#064ab1";
|
|
671
|
+
export const cpdColorTextWarningPrimary = "#bc4500";
|
|
670
672
|
export const cpdColorBgSubtlePrimary = "#e1e6ec";
|
|
671
673
|
export const cpdColorBgSubtleSecondary = "#f0f2f5";
|
|
674
|
+
export const cpdColorBgSubtleTertiary = "#fbfcfd";
|
|
672
675
|
export const cpdColorBgCanvasDefault = "#ffffff";
|
|
673
676
|
export const cpdColorBgCanvasDisabled = "#f7f9fa";
|
|
674
677
|
export const cpdColorBgCanvasDefaultLevel1 = "#ffffff";
|
|
@@ -687,6 +690,9 @@ export const cpdColorBgCriticalHovered = "#bc0f22";
|
|
|
687
690
|
export const cpdColorBgCriticalSubtle = "#fff7f6";
|
|
688
691
|
export const cpdColorBgCriticalSubtleHovered = "#ffefec";
|
|
689
692
|
export const cpdColorBgSuccessSubtle = "#f1fbf6";
|
|
693
|
+
export const cpdColorBgSuccessRest = "#007a61";
|
|
694
|
+
export const cpdColorBgSuccessHovered = "#006b52";
|
|
695
|
+
export const cpdColorBgSuccessPressed = "#005c45";
|
|
690
696
|
export const cpdColorBgInfoSubtle = "#f4f8ff";
|
|
691
697
|
export const cpdColorBgDecorative1 = "#e0f8d9";
|
|
692
698
|
export const cpdColorBgDecorative2 = "#e3f5f8";
|
|
@@ -698,6 +704,7 @@ export const cpdColorBgAccentRest = "#007a61";
|
|
|
698
704
|
export const cpdColorBgAccentHovered = "#006b52";
|
|
699
705
|
export const cpdColorBgAccentPressed = "#005c45";
|
|
700
706
|
export const cpdColorBgAccentSelected = "hsla(150, 100%, 36%, 0.11)";
|
|
707
|
+
export const cpdColorBgAccentSubtle = "#f1fbf6";
|
|
701
708
|
export const cpdColorBgBadgeAccent = "#c6eedb";
|
|
702
709
|
export const cpdColorBgBadgeInfo = "#d8e7fe";
|
|
703
710
|
export const cpdColorBgBadgeDefault = "#ffffff";
|
|
@@ -714,6 +721,7 @@ export const cpdColorBorderCriticalPrimary = "#d51928";
|
|
|
714
721
|
export const cpdColorBorderCriticalHovered = "#bc0f22";
|
|
715
722
|
export const cpdColorBorderCriticalSubtle = "#ffc5bc";
|
|
716
723
|
export const cpdColorBorderSuccessSubtle = "#98e1c1";
|
|
724
|
+
export const cpdColorBorderSuccessPrimary = "#007a61";
|
|
717
725
|
export const cpdColorBorderInfoSubtle = "#7eaff6";
|
|
718
726
|
export const cpdColorBorderAccentSubtle = "#0bc491";
|
|
719
727
|
export const cpdColorBorderAccentPrimary = "#007a61";
|
|
@@ -732,6 +740,7 @@ export const cpdColorIconCriticalPrimary = "#d51928";
|
|
|
732
740
|
export const cpdColorIconSuccessPrimary = "#007a61";
|
|
733
741
|
export const cpdColorIconInfoPrimary = "#064ab1";
|
|
734
742
|
export const cpdColorIconOnSolidPrimary = "#ffffff";
|
|
743
|
+
export const cpdColorIconWarningPrimary = "#bc4500";
|
|
735
744
|
export const cpdColorGradientSubtleStop1 = "hsla(154, 96%, 37%, 0.41)";
|
|
736
745
|
export const cpdColorGradientSubtleStop2 = "hsla(151, 93%, 37%, 0.23)";
|
|
737
746
|
export const cpdColorGradientSubtleStop3 = "hsla(150, 100%, 36%, 0.11)";
|
|
@@ -626,6 +626,7 @@ export const cpdColorTextSecondary: string;
|
|
|
626
626
|
export const cpdColorTextDisabled: string;
|
|
627
627
|
export const cpdColorTextActionPrimary: string;
|
|
628
628
|
export const cpdColorTextActionAccent: string;
|
|
629
|
+
export const cpdColorTextActionSuccess: string;
|
|
629
630
|
export const cpdColorTextLinkExternal: string;
|
|
630
631
|
export const cpdColorTextCriticalPrimary: string;
|
|
631
632
|
export const cpdColorTextSuccessPrimary: string;
|
|
@@ -639,8 +640,10 @@ export const cpdColorTextDecorative5: string;
|
|
|
639
640
|
export const cpdColorTextDecorative6: string;
|
|
640
641
|
export const cpdColorTextBadgeAccent: string;
|
|
641
642
|
export const cpdColorTextBadgeInfo: string;
|
|
643
|
+
export const cpdColorTextWarningPrimary: string;
|
|
642
644
|
export const cpdColorBgSubtlePrimary: string;
|
|
643
645
|
export const cpdColorBgSubtleSecondary: string;
|
|
646
|
+
export const cpdColorBgSubtleTertiary: string;
|
|
644
647
|
export const cpdColorBgCanvasDefault: string;
|
|
645
648
|
export const cpdColorBgCanvasDisabled: string;
|
|
646
649
|
export const cpdColorBgCanvasDefaultLevel1: string;
|
|
@@ -659,6 +662,9 @@ export const cpdColorBgCriticalHovered: string;
|
|
|
659
662
|
export const cpdColorBgCriticalSubtle: string;
|
|
660
663
|
export const cpdColorBgCriticalSubtleHovered: string;
|
|
661
664
|
export const cpdColorBgSuccessSubtle: string;
|
|
665
|
+
export const cpdColorBgSuccessRest: string;
|
|
666
|
+
export const cpdColorBgSuccessHovered: string;
|
|
667
|
+
export const cpdColorBgSuccessPressed: string;
|
|
662
668
|
export const cpdColorBgInfoSubtle: string;
|
|
663
669
|
export const cpdColorBgDecorative1: string;
|
|
664
670
|
export const cpdColorBgDecorative2: string;
|
|
@@ -670,6 +676,7 @@ export const cpdColorBgAccentRest: string;
|
|
|
670
676
|
export const cpdColorBgAccentHovered: string;
|
|
671
677
|
export const cpdColorBgAccentPressed: string;
|
|
672
678
|
export const cpdColorBgAccentSelected: string;
|
|
679
|
+
export const cpdColorBgAccentSubtle: string;
|
|
673
680
|
export const cpdColorBgBadgeAccent: string;
|
|
674
681
|
export const cpdColorBgBadgeInfo: string;
|
|
675
682
|
export const cpdColorBgBadgeDefault: string;
|
|
@@ -686,6 +693,7 @@ export const cpdColorBorderCriticalPrimary: string;
|
|
|
686
693
|
export const cpdColorBorderCriticalHovered: string;
|
|
687
694
|
export const cpdColorBorderCriticalSubtle: string;
|
|
688
695
|
export const cpdColorBorderSuccessSubtle: string;
|
|
696
|
+
export const cpdColorBorderSuccessPrimary: string;
|
|
689
697
|
export const cpdColorBorderInfoSubtle: string;
|
|
690
698
|
export const cpdColorBorderAccentSubtle: string;
|
|
691
699
|
export const cpdColorBorderAccentPrimary: string;
|
|
@@ -704,6 +712,7 @@ export const cpdColorIconCriticalPrimary: string;
|
|
|
704
712
|
export const cpdColorIconSuccessPrimary: string;
|
|
705
713
|
export const cpdColorIconInfoPrimary: string;
|
|
706
714
|
export const cpdColorIconOnSolidPrimary: string;
|
|
715
|
+
export const cpdColorIconWarningPrimary: string;
|
|
707
716
|
export const cpdColorGradientSubtleStop1: string;
|
|
708
717
|
export const cpdColorGradientSubtleStop2: string;
|
|
709
718
|
export const cpdColorGradientSubtleStop3: string;
|
|
@@ -654,6 +654,7 @@ export const cpdColorTextSecondary = "#474a51";
|
|
|
654
654
|
export const cpdColorTextDisabled = "#6c737e";
|
|
655
655
|
export const cpdColorTextActionPrimary = "#1a1c21";
|
|
656
656
|
export const cpdColorTextActionAccent = "#00553d";
|
|
657
|
+
export const cpdColorTextActionSuccess = "#00553d";
|
|
657
658
|
export const cpdColorTextLinkExternal = "#043088";
|
|
658
659
|
export const cpdColorTextCriticalPrimary = "#99001a";
|
|
659
660
|
export const cpdColorTextSuccessPrimary = "#00553d";
|
|
@@ -667,8 +668,10 @@ export const cpdColorTextDecorative5 = "#72003a";
|
|
|
667
668
|
export const cpdColorTextDecorative6 = "#770000";
|
|
668
669
|
export const cpdColorTextBadgeAccent = "#00402b";
|
|
669
670
|
export const cpdColorTextBadgeInfo = "#043088";
|
|
671
|
+
export const cpdColorTextWarningPrimary = "#931700";
|
|
670
672
|
export const cpdColorBgSubtlePrimary = "#d7dce3";
|
|
671
673
|
export const cpdColorBgSubtleSecondary = "#e1e6ec";
|
|
674
|
+
export const cpdColorBgSubtleTertiary = "#f7f9fa";
|
|
672
675
|
export const cpdColorBgCanvasDefault = "#ffffff";
|
|
673
676
|
export const cpdColorBgCanvasDisabled = "#f0f2f5";
|
|
674
677
|
export const cpdColorBgCanvasDefaultLevel1 = "#ffffff";
|
|
@@ -687,6 +690,9 @@ export const cpdColorBgCriticalHovered = "#8b000c";
|
|
|
687
690
|
export const cpdColorBgCriticalSubtle = "#ffefec";
|
|
688
691
|
export const cpdColorBgCriticalSubtleHovered = "#ffdfda";
|
|
689
692
|
export const cpdColorBgSuccessSubtle = "#e3f7ed";
|
|
693
|
+
export const cpdColorBgSuccessRest = "#00553d";
|
|
694
|
+
export const cpdColorBgSuccessHovered = "#004d36";
|
|
695
|
+
export const cpdColorBgSuccessPressed = "#00402b";
|
|
690
696
|
export const cpdColorBgInfoSubtle = "#e9f2ff";
|
|
691
697
|
export const cpdColorBgDecorative1 = "#c8f1ba";
|
|
692
698
|
export const cpdColorBgDecorative2 = "#c7ecf0";
|
|
@@ -698,6 +704,7 @@ export const cpdColorBgAccentRest = "#00553d";
|
|
|
698
704
|
export const cpdColorBgAccentHovered = "#004d36";
|
|
699
705
|
export const cpdColorBgAccentPressed = "#00402b";
|
|
700
706
|
export const cpdColorBgAccentSelected = "hsla(151, 93%, 37%, 0.23)";
|
|
707
|
+
export const cpdColorBgAccentSubtle = "#e3f7ed";
|
|
701
708
|
export const cpdColorBgBadgeAccent = "#afe8ce";
|
|
702
709
|
export const cpdColorBgBadgeInfo = "#c8ddfd";
|
|
703
710
|
export const cpdColorBgBadgeDefault = "#ffffff";
|
|
@@ -714,6 +721,7 @@ export const cpdColorBorderCriticalPrimary = "#99001a";
|
|
|
714
721
|
export const cpdColorBorderCriticalHovered = "#8b000c";
|
|
715
722
|
export const cpdColorBorderCriticalSubtle = "#ffafa5";
|
|
716
723
|
export const cpdColorBorderSuccessSubtle = "#71d7ae";
|
|
724
|
+
export const cpdColorBorderSuccessPrimary = "#00553d";
|
|
717
725
|
export const cpdColorBorderInfoSubtle = "#4a8ef0";
|
|
718
726
|
export const cpdColorBorderAccentSubtle = "#00a27c";
|
|
719
727
|
export const cpdColorBorderAccentPrimary = "#00553d";
|
|
@@ -732,6 +740,7 @@ export const cpdColorIconCriticalPrimary = "#99001a";
|
|
|
732
740
|
export const cpdColorIconSuccessPrimary = "#00553d";
|
|
733
741
|
export const cpdColorIconInfoPrimary = "#043088";
|
|
734
742
|
export const cpdColorIconOnSolidPrimary = "#ffffff";
|
|
743
|
+
export const cpdColorIconWarningPrimary = "#931700";
|
|
735
744
|
export const cpdColorGradientSubtleStop1 = "hsla(156, 99%, 36%, 0.56)";
|
|
736
745
|
export const cpdColorGradientSubtleStop2 = "hsla(153, 95%, 37%, 0.32)";
|
|
737
746
|
export const cpdColorGradientSubtleStop3 = "hsla(151, 93%, 37%, 0.23)";
|
package/icons/crop.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="M6
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M6 4a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v8a3 3 0 0 0 3 3h8v2a1 1 0 0 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-8a3 3 0 0 0-3-3H7V5a1 1 0 0 0-1-1m9 5a1 1 0 0 1 1 1v8H8a1 1 0 0 1-1-1V9z" clip-rule="evenodd"/><path d="M15.707.293a1 1 0 0 0-1.414 0l-2 2a1 1 0 0 0 0 1.414l2 2a1 1 0 1 0 1.414-1.414l-.275-.276A6 6 0 0 1 21 10a1 1 0 1 0 2 0 8 8 0 0 0-7.596-7.99l.303-.303a1 1 0 0 0 0-1.414"/></svg>
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vector-im/compound-design-tokens",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.3",
|
|
4
4
|
"description": "Compound design tokens",
|
|
5
|
+
"packageManager": "pnpm@11.9.0+sha512.bd682d5d03fe525ef7c9fd6780c6884d1e756ac4c9c9fe00c538782824310dcf90e3ddc4f53835f06dfaebd5085e41855e0bcbb3b60de2ac5bbab89e5036f03b",
|
|
5
6
|
"sideEffects": false,
|
|
6
7
|
"scripts": {
|
|
7
8
|
"build": "vite build && tsx ./build.ts",
|
|
8
9
|
"sync:icons": "tsx src/syncIcons.ts",
|
|
9
10
|
"dev": "http-server .",
|
|
10
11
|
"dev:colors": "vite --open src/colors/applet.html",
|
|
11
|
-
"format": "
|
|
12
|
-
"lint": "
|
|
13
|
-
"check": "
|
|
14
|
-
"types": "
|
|
12
|
+
"format": "biome format",
|
|
13
|
+
"lint": "biome lint",
|
|
14
|
+
"check": "biome check",
|
|
15
|
+
"types": "tsc --noEmit"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [
|
|
17
18
|
"compound",
|
|
@@ -61,12 +62,13 @@
|
|
|
61
62
|
"@babel/types": "^7.24.7",
|
|
62
63
|
"@biomejs/biome": "^2.0.0",
|
|
63
64
|
"@capsizecss/core": "^4.1.2",
|
|
64
|
-
"@capsizecss/metrics": "^
|
|
65
|
+
"@capsizecss/metrics": "^4.0.0",
|
|
65
66
|
"@svgr/core": "^8.1.0",
|
|
66
67
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
67
68
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
68
69
|
"@tokens-studio/sd-transforms": "^2.0.0",
|
|
69
70
|
"@types/babel__core": "^7.20.5",
|
|
71
|
+
"@types/babel__generator": "^7.6.8",
|
|
70
72
|
"@types/fs-extra": "^11.0.4",
|
|
71
73
|
"@types/lodash-es": "^4.17.12",
|
|
72
74
|
"@types/node": "^24.0.0",
|
|
@@ -85,7 +87,6 @@
|
|
|
85
87
|
"vite": "^8.0.0",
|
|
86
88
|
"zod": "^4.0.0"
|
|
87
89
|
},
|
|
88
|
-
"dependencies": {},
|
|
89
90
|
"peerDependencies": {
|
|
90
91
|
"@types/react": "*",
|
|
91
92
|
"react": "^17 || ^18 || ^19.0.0"
|