@govbr-ds/tokens 4.0.0-next.7 → 4.0.0-next.8
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 +12 -130
- package/dist/css/themes/dark.css +49 -49
- package/dist/css/themes/light.css +50 -50
- package/dist/css/tokens.css +531 -585
- package/dist/js/themes/dark.js +49 -49
- package/dist/js/themes/light.js +50 -50
- package/dist/js/tokens.js +564 -618
- package/dist/json/themes/dark.json +367 -444
- package/dist/json/themes/light.json +368 -445
- package/dist/json/tokens.json +2676 -3177
- package/dist/scss/themes/dark.scss +80 -0
- package/dist/scss/themes/light.scss +80 -0
- package/dist/scss/tokens.scss +721 -0
- package/package.json +11 -10
- package/src/figma/tokens.json +83 -5
- package/src/figma/variables/base14.json +4 -0
- package/src/figma/variables/spacing.json +21 -1
- package/src/figma/variables/typography.json +4 -0
- package/dist/scss/_tokens.scss +0 -778
- package/dist/scss/themes/_dark.scss +0 -83
- package/dist/scss/themes/_light.scss +0 -83
- package/src/style-dictionary/themes/dark.json +0 -692
- package/src/style-dictionary/themes/light.json +0 -692
- package/src/style-dictionary/tokens.json +0 -3155
package/dist/js/themes/dark.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export const themeShadowOpacity = 0.6;
|
|
2
2
|
export const themeShadowColor = "rgba(0, 0, 0, 0.6)";
|
|
3
|
-
export const themeBorderStyleFocusHighMain = "3px dashed #
|
|
4
|
-
export const themeBorderStyleFocusHighContrast = "3px dashed #
|
|
5
|
-
export const themeBorderStyleFocusLowMain = "2px solid #
|
|
6
|
-
export const themeBorderStyleFocusLowContrast = "2px solid #
|
|
7
|
-
export const themeBorderStyleActiveMain = "4px dashed #
|
|
8
|
-
export const themeBorderStyleActiveContrast = "4px dashed #
|
|
9
|
-
export const themeBorderStyleGrabbingMain = "2px solid #
|
|
10
|
-
export const themeBorderStyleGrabbingContrast = "2px solid #
|
|
11
|
-
export const themeBorderStyleDropzoneMain = "1px dashed #
|
|
12
|
-
export const themeBorderStyleDropzoneContrast = "1px dashed #
|
|
3
|
+
export const themeBorderStyleFocusHighMain = "3px dashed #ff8c00";
|
|
4
|
+
export const themeBorderStyleFocusHighContrast = "3px dashed #ff8c00";
|
|
5
|
+
export const themeBorderStyleFocusLowMain = "2px solid #ff8c00";
|
|
6
|
+
export const themeBorderStyleFocusLowContrast = "2px solid #ff8c00";
|
|
7
|
+
export const themeBorderStyleActiveMain = "4px dashed #5992ed";
|
|
8
|
+
export const themeBorderStyleActiveContrast = "4px dashed #5992ed";
|
|
9
|
+
export const themeBorderStyleGrabbingMain = "2px solid #81aefc";
|
|
10
|
+
export const themeBorderStyleGrabbingContrast = "2px solid #81aefc";
|
|
11
|
+
export const themeBorderStyleDropzoneMain = "1px dashed #81aefc";
|
|
12
|
+
export const themeBorderStyleDropzoneContrast = "1px dashed #81aefc";
|
|
13
13
|
export const themeShadowStyleLevel0 = "0 0 0 0 rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(0, 0, 0, 0.6)";
|
|
14
14
|
export const themeShadowStyleLevel1 = "0 1px 1px 0 rgba(0, 0, 0, 0.6), 0 0 4px 0 rgba(0, 0, 0, 0.6)";
|
|
15
15
|
export const themeShadowStyleLevel2 = "0 4px 4px 0 rgba(0, 0, 0, 0.6), 0 0 8px 0 rgba(0, 0, 0, 0.6)";
|
|
@@ -20,61 +20,61 @@ export const themeShadowStyleHoverHighlight = "0 0 4px 0 rgba(0, 0, 0, 0.6)";
|
|
|
20
20
|
export const themeShadowStylePressed = "inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5)";
|
|
21
21
|
export const themeShadowStyleGrabbingMain = "0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6)";
|
|
22
22
|
export const themeShadowStyleGrabbingContrast = "0 12px 12px 0 rgba(129, 174, 252, 0.6), 0 0 16px 0 rgba(129, 174, 252, 0.6)";
|
|
23
|
-
export const themeTextMainBase = "#
|
|
24
|
-
export const themeTextMainAlternative = "#
|
|
25
|
-
export const themeTextContrastBase = "#
|
|
26
|
-
export const themeTextContrastAlternative = "#
|
|
27
|
-
export const themeSurfaceMainBase = "#
|
|
28
|
-
export const themeSurfaceMainAlternative = "#
|
|
29
|
-
export const themeSurfaceContrastBase = "#
|
|
30
|
-
export const themeSurfaceContrastAlternative = "#
|
|
31
|
-
export const themeBorderBase = "#
|
|
23
|
+
export const themeTextMainBase = "#fcfcfc";
|
|
24
|
+
export const themeTextMainAlternative = "#cccccc";
|
|
25
|
+
export const themeTextContrastBase = "#fcfcfc";
|
|
26
|
+
export const themeTextContrastAlternative = "#cccccc";
|
|
27
|
+
export const themeSurfaceMainBase = "#2d2e2f";
|
|
28
|
+
export const themeSurfaceMainAlternative = "#1c1d1f";
|
|
29
|
+
export const themeSurfaceContrastBase = "#2d2e2f";
|
|
30
|
+
export const themeSurfaceContrastAlternative = "#1c1d1f";
|
|
31
|
+
export const themeBorderBase = "#4a4a4a";
|
|
32
32
|
export const themeBorderAlternative = "#757575";
|
|
33
|
-
export const themeInteractiveMain = "#
|
|
34
|
-
export const themeInteractiveContrast = "#
|
|
33
|
+
export const themeInteractiveMain = "#81aefc";
|
|
34
|
+
export const themeInteractiveContrast = "#81aefc";
|
|
35
35
|
export const themeInteractiveTextMain = "#000000";
|
|
36
36
|
export const themeInteractiveTextContrast = "#000000";
|
|
37
|
-
export const themeCtaMain = "#
|
|
38
|
-
export const themeCtaContrast = "#
|
|
37
|
+
export const themeCtaMain = "#21c834";
|
|
38
|
+
export const themeCtaContrast = "#21c834";
|
|
39
39
|
export const themeCtaTextMain = "#000000";
|
|
40
40
|
export const themeCtaTextContrast = "#000000";
|
|
41
|
-
export const themeDisabledMain = "#
|
|
42
|
-
export const themeDisabledContrast = "#
|
|
43
|
-
export const themeVisitedMain = "#
|
|
44
|
-
export const themeVisitedContrast = "#
|
|
41
|
+
export const themeDisabledMain = "#a9aeb1";
|
|
42
|
+
export const themeDisabledContrast = "#a9aeb1";
|
|
43
|
+
export const themeVisitedMain = "#98afd2";
|
|
44
|
+
export const themeVisitedContrast = "#98afd2";
|
|
45
45
|
export const themeHoverBright = "rgba(212, 229, 255, 0.5)";
|
|
46
46
|
export const themeHoverDim = "rgba(12, 50, 111, 0.6)";
|
|
47
47
|
export const themeHoverMainText = "rgba(12, 50, 111, 0.6)";
|
|
48
48
|
export const themeHoverMainSurface = "rgba(212, 229, 255, 0.5)";
|
|
49
49
|
export const themeHoverContrastText = "rgba(12, 50, 111, 0.6)";
|
|
50
50
|
export const themeHoverContrastSurface = "rgba(212, 229, 255, 0.5)";
|
|
51
|
-
export const themeFocusMain = "#
|
|
52
|
-
export const themeFocusContrast = "#
|
|
53
|
-
export const themeActiveMain = "#
|
|
54
|
-
export const themeActiveContrast = "#
|
|
51
|
+
export const themeFocusMain = "#ff8c00";
|
|
52
|
+
export const themeFocusContrast = "#ff8c00";
|
|
53
|
+
export const themeActiveMain = "#5992ed";
|
|
54
|
+
export const themeActiveContrast = "#5992ed";
|
|
55
55
|
export const themeActiveTextMain = "#000000";
|
|
56
56
|
export const themeActiveTextContrast = "#000000";
|
|
57
|
-
export const themeSelectedMain = "#
|
|
58
|
-
export const themeSelectedContrast = "#
|
|
57
|
+
export const themeSelectedMain = "#adcdff";
|
|
58
|
+
export const themeSelectedContrast = "#adcdff";
|
|
59
59
|
export const themeSelectedTextMain = "#000000";
|
|
60
60
|
export const themeSelectedTextContrast = "#000000";
|
|
61
|
-
export const themeGrabbingMain = "#
|
|
62
|
-
export const themeGrabbingContrast = "#
|
|
63
|
-
export const themeDropzoneMain = "#
|
|
64
|
-
export const themeDropzoneContrast = "#
|
|
65
|
-
export const themeDropzoneActiveMain = "#
|
|
66
|
-
export const themeDropzoneActiveContrast = "#
|
|
67
|
-
export const themeOnMain = "#
|
|
68
|
-
export const themeOnContrast = "#
|
|
69
|
-
export const themeOnTextMain = "#
|
|
70
|
-
export const themeOnTextContrast = "#
|
|
61
|
+
export const themeGrabbingMain = "#81aefc";
|
|
62
|
+
export const themeGrabbingContrast = "#81aefc";
|
|
63
|
+
export const themeDropzoneMain = "#81aefc";
|
|
64
|
+
export const themeDropzoneContrast = "#81aefc";
|
|
65
|
+
export const themeDropzoneActiveMain = "#81aefc";
|
|
66
|
+
export const themeDropzoneActiveContrast = "#81aefc";
|
|
67
|
+
export const themeOnMain = "#155bcb";
|
|
68
|
+
export const themeOnContrast = "#155bcb";
|
|
69
|
+
export const themeOnTextMain = "#ffffff";
|
|
70
|
+
export const themeOnTextContrast = "#ffffff";
|
|
71
71
|
export const themeOffMain = "#636363";
|
|
72
72
|
export const themeOffContrast = "#636363";
|
|
73
|
-
export const themeOffTextMain = "#
|
|
74
|
-
export const themeOffTextContrast = "#
|
|
73
|
+
export const themeOffTextMain = "#ffffff";
|
|
74
|
+
export const themeOffTextContrast = "#ffffff";
|
|
75
75
|
export const themeSuccessMain = "#538200";
|
|
76
|
-
export const themeSuccessTextMain = "#
|
|
77
|
-
export const themeAlertMain = "#
|
|
76
|
+
export const themeSuccessTextMain = "#ffffff";
|
|
77
|
+
export const themeAlertMain = "#ffcd07";
|
|
78
78
|
export const themeAlertTextMain = "#000000";
|
|
79
|
-
export const themeErrorMain = "#
|
|
80
|
-
export const themeErrorTextMain = "#
|
|
79
|
+
export const themeErrorMain = "#e52207";
|
|
80
|
+
export const themeErrorTextMain = "#ffffff";
|
package/dist/js/themes/light.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export const themeShadowOpacity = 0.2;
|
|
2
2
|
export const themeShadowColor = "rgba(0, 0, 0, 0.2)";
|
|
3
|
-
export const themeBorderStyleFocusHighMain = "3px dashed #
|
|
4
|
-
export const themeBorderStyleFocusHighContrast = "3px dashed #
|
|
5
|
-
export const themeBorderStyleFocusLowMain = "2px solid #
|
|
6
|
-
export const themeBorderStyleFocusLowContrast = "2px solid #
|
|
7
|
-
export const themeBorderStyleActiveMain = "4px solid #
|
|
8
|
-
export const themeBorderStyleActiveContrast = "4px solid #
|
|
9
|
-
export const themeBorderStyleGrabbingMain = "2px solid #
|
|
10
|
-
export const themeBorderStyleGrabbingContrast = "2px solid #
|
|
11
|
-
export const themeBorderStyleDropzoneMain = "1px dashed #
|
|
12
|
-
export const themeBorderStyleDropzoneContrast = "1px dashed #
|
|
3
|
+
export const themeBorderStyleFocusHighMain = "3px dashed #da680b";
|
|
4
|
+
export const themeBorderStyleFocusHighContrast = "3px dashed #ff8c00";
|
|
5
|
+
export const themeBorderStyleFocusLowMain = "2px solid #da680b";
|
|
6
|
+
export const themeBorderStyleFocusLowContrast = "2px solid #ff8c00";
|
|
7
|
+
export const themeBorderStyleActiveMain = "4px solid #0c326f";
|
|
8
|
+
export const themeBorderStyleActiveContrast = "4px solid #81aefc";
|
|
9
|
+
export const themeBorderStyleGrabbingMain = "2px solid #0040b4";
|
|
10
|
+
export const themeBorderStyleGrabbingContrast = "2px solid #adcdff";
|
|
11
|
+
export const themeBorderStyleDropzoneMain = "1px dashed #0040b4";
|
|
12
|
+
export const themeBorderStyleDropzoneContrast = "1px dashed #adcdff";
|
|
13
13
|
export const themeShadowStyleLevel0 = "0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)";
|
|
14
14
|
export const themeShadowStyleLevel1 = "0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2)";
|
|
15
15
|
export const themeShadowStyleLevel2 = "0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)";
|
|
@@ -20,61 +20,61 @@ export const themeShadowStyleHoverHighlight = "0 0 4px 0 rgba(0, 0, 0, 0.2)";
|
|
|
20
20
|
export const themeShadowStylePressed = "inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5)";
|
|
21
21
|
export const themeShadowStyleGrabbingMain = "0 12px 12px 0 rgba(0, 64, 180, 0.2), 0 0 16px 0 rgba(0, 64, 180, 0.2)";
|
|
22
22
|
export const themeShadowStyleGrabbingContrast = "0 12px 12px 0 rgba(173, 205, 255, 0.2), 0 0 16px 0 rgba(173, 205, 255, 0.2)";
|
|
23
|
-
export const themeTextMainBase = "#
|
|
23
|
+
export const themeTextMainBase = "#1b1b1b";
|
|
24
24
|
export const themeTextMainAlternative = "#636363";
|
|
25
|
-
export const themeTextContrastBase = "#
|
|
26
|
-
export const themeTextContrastAlternative = "#
|
|
27
|
-
export const themeSurfaceMainBase = "#
|
|
28
|
-
export const themeSurfaceMainAlternative = "#
|
|
29
|
-
export const themeSurfaceContrastBase = "#
|
|
30
|
-
export const themeSurfaceContrastAlternative = "#
|
|
31
|
-
export const themeBorderBase = "#
|
|
25
|
+
export const themeTextContrastBase = "#fcfcfc";
|
|
26
|
+
export const themeTextContrastAlternative = "#cccccc";
|
|
27
|
+
export const themeSurfaceMainBase = "#fcfcfc";
|
|
28
|
+
export const themeSurfaceMainAlternative = "#f0f0f0";
|
|
29
|
+
export const themeSurfaceContrastBase = "#252f3e";
|
|
30
|
+
export const themeSurfaceContrastAlternative = "#2f4668";
|
|
31
|
+
export const themeBorderBase = "#cccccc";
|
|
32
32
|
export const themeBorderAlternative = "#888888";
|
|
33
|
-
export const themeInteractiveMain = "#
|
|
34
|
-
export const themeInteractiveContrast = "#
|
|
35
|
-
export const themeInteractiveTextMain = "#
|
|
33
|
+
export const themeInteractiveMain = "#0040b4";
|
|
34
|
+
export const themeInteractiveContrast = "#adcdff";
|
|
35
|
+
export const themeInteractiveTextMain = "#ffffff";
|
|
36
36
|
export const themeInteractiveTextContrast = "#000000";
|
|
37
|
-
export const themeCtaMain = "#
|
|
38
|
-
export const themeCtaContrast = "#
|
|
39
|
-
export const themeCtaTextMain = "#
|
|
37
|
+
export const themeCtaMain = "#216e1f";
|
|
38
|
+
export const themeCtaContrast = "#70e17b";
|
|
39
|
+
export const themeCtaTextMain = "#ffffff";
|
|
40
40
|
export const themeCtaTextContrast = "#000000";
|
|
41
|
-
export const themeDisabledMain = "#
|
|
42
|
-
export const themeDisabledContrast = "#
|
|
43
|
-
export const themeVisitedMain = "#
|
|
44
|
-
export const themeVisitedContrast = "#
|
|
41
|
+
export const themeDisabledMain = "#4a4a4a";
|
|
42
|
+
export const themeDisabledContrast = "#cccccc";
|
|
43
|
+
export const themeVisitedMain = "#2f4668";
|
|
44
|
+
export const themeVisitedContrast = "#c5d4eb";
|
|
45
45
|
export const themeHoverBright = "rgba(212, 229, 255, 0.5)";
|
|
46
46
|
export const themeHoverDim = "rgba(12, 50, 111, 0.6)";
|
|
47
47
|
export const themeHoverMainText = "rgba(212, 229, 255, 0.5)";
|
|
48
48
|
export const themeHoverMainSurface = "rgba(12, 50, 111, 0.6)";
|
|
49
49
|
export const themeHoverContrastText = "rgba(12, 50, 111, 0.6)";
|
|
50
50
|
export const themeHoverContrastSurface = "rgba(212, 229, 255, 0.5)";
|
|
51
|
-
export const themeFocusMain = "#
|
|
52
|
-
export const themeFocusContrast = "#
|
|
53
|
-
export const themeActiveMain = "#
|
|
54
|
-
export const themeActiveContrast = "#
|
|
55
|
-
export const themeActiveTextMain = "#
|
|
51
|
+
export const themeFocusMain = "#da680b";
|
|
52
|
+
export const themeFocusContrast = "#ff8c00";
|
|
53
|
+
export const themeActiveMain = "#0c326f";
|
|
54
|
+
export const themeActiveContrast = "#81aefc";
|
|
55
|
+
export const themeActiveTextMain = "#ffffff";
|
|
56
56
|
export const themeActiveTextContrast = "#000000";
|
|
57
|
-
export const themeSelectedMain = "#
|
|
58
|
-
export const themeSelectedContrast = "#
|
|
59
|
-
export const themeSelectedTextMain = "#
|
|
57
|
+
export const themeSelectedMain = "#2670e8";
|
|
58
|
+
export const themeSelectedContrast = "#5992ed";
|
|
59
|
+
export const themeSelectedTextMain = "#ffffff";
|
|
60
60
|
export const themeSelectedTextContrast = "#000000";
|
|
61
|
-
export const themeGrabbingMain = "#
|
|
62
|
-
export const themeGrabbingContrast = "#
|
|
63
|
-
export const themeDropzoneMain = "#
|
|
64
|
-
export const themeDropzoneContrast = "#
|
|
65
|
-
export const themeDropzoneActiveMain = "#
|
|
66
|
-
export const themeDropzoneActiveContrast = "#
|
|
67
|
-
export const themeOnMain = "#
|
|
68
|
-
export const themeOnContrast = "#
|
|
61
|
+
export const themeGrabbingMain = "#0040b4";
|
|
62
|
+
export const themeGrabbingContrast = "#adcdff";
|
|
63
|
+
export const themeDropzoneMain = "#0040b4";
|
|
64
|
+
export const themeDropzoneContrast = "#adcdff";
|
|
65
|
+
export const themeDropzoneActiveMain = "#0040b4";
|
|
66
|
+
export const themeDropzoneActiveContrast = "#adcdff";
|
|
67
|
+
export const themeOnMain = "#5992ed";
|
|
68
|
+
export const themeOnContrast = "#2670e8";
|
|
69
69
|
export const themeOnTextMain = "#000000";
|
|
70
|
-
export const themeOnTextContrast = "#
|
|
70
|
+
export const themeOnTextContrast = "#ffffff";
|
|
71
71
|
export const themeOffMain = "#888888";
|
|
72
72
|
export const themeOffContrast = "#757575";
|
|
73
73
|
export const themeOffTextMain = "#000000";
|
|
74
|
-
export const themeOffTextContrast = "#
|
|
74
|
+
export const themeOffTextContrast = "#ffffff";
|
|
75
75
|
export const themeSuccessMain = "#538200";
|
|
76
|
-
export const themeSuccessTextMain = "#
|
|
77
|
-
export const themeAlertMain = "#
|
|
76
|
+
export const themeSuccessTextMain = "#ffffff";
|
|
77
|
+
export const themeAlertMain = "#ffcd07";
|
|
78
78
|
export const themeAlertTextMain = "#000000";
|
|
79
|
-
export const themeErrorMain = "#
|
|
80
|
-
export const themeErrorTextMain = "#
|
|
79
|
+
export const themeErrorMain = "#e52207";
|
|
80
|
+
export const themeErrorTextMain = "#ffffff";
|