@guardian/stand 0.0.4 → 0.0.6

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 (83) hide show
  1. package/README.md +394 -7
  2. package/dist/{byline → components/byline}/Byline.cjs +5 -5
  3. package/dist/{byline → components/byline}/Byline.js +5 -5
  4. package/dist/components/byline/styles.cjs +266 -0
  5. package/dist/components/byline/styles.js +256 -0
  6. package/dist/components/tag-picker/TagAutocomplete.cjs +107 -0
  7. package/dist/components/tag-picker/TagAutocomplete.js +26 -0
  8. package/dist/components/tag-picker/TagTable.cjs +203 -0
  9. package/dist/components/tag-picker/TagTable.js +91 -0
  10. package/dist/components/tag-picker/styles.cjs +198 -0
  11. package/dist/components/tag-picker/styles.js +185 -0
  12. package/dist/components/util.cjs +19 -0
  13. package/dist/components/util.js +17 -0
  14. package/dist/index.cjs +15 -1
  15. package/dist/index.js +8 -1
  16. package/dist/styleD/build/css/css/base/colors.css +122 -0
  17. package/dist/styleD/build/css/css/base/typography.css +43 -0
  18. package/dist/styleD/build/css/css/component/byline.css +36 -0
  19. package/dist/styleD/build/css/css/component/tagAutocomplete.css +23 -0
  20. package/dist/styleD/build/css/css/component/tagTable.css +39 -0
  21. package/dist/styleD/build/css/css/semantic/colors.css +27 -0
  22. package/dist/styleD/build/css/css/semantic/typography.css +138 -0
  23. package/dist/styleD/build/typescript/base/colors.cjs +144 -0
  24. package/dist/styleD/build/typescript/base/colors.js +142 -0
  25. package/dist/styleD/build/typescript/base/typography.cjs +65 -0
  26. package/dist/styleD/build/typescript/base/typography.js +63 -0
  27. package/dist/styleD/build/typescript/component/byline.cjs +42 -0
  28. package/dist/styleD/build/typescript/component/byline.js +40 -0
  29. package/dist/styleD/build/typescript/component/tagAutocomplete.cjs +29 -0
  30. package/dist/styleD/build/typescript/component/tagAutocomplete.js +27 -0
  31. package/dist/styleD/build/typescript/component/tagTable.cjs +53 -0
  32. package/dist/styleD/build/typescript/component/tagTable.js +51 -0
  33. package/dist/styleD/build/typescript/semantic/colors.cjs +37 -0
  34. package/dist/styleD/build/typescript/semantic/colors.js +35 -0
  35. package/dist/styleD/build/typescript/semantic/typography.cjs +462 -0
  36. package/dist/styleD/build/typescript/semantic/typography.js +460 -0
  37. package/dist/styleD/utils/semantic/typography.cjs +17 -0
  38. package/dist/styleD/utils/semantic/typography.js +15 -0
  39. package/dist/types/components/byline/Byline.d.ts +83 -0
  40. package/dist/types/components/byline/styles.d.ts +13 -0
  41. package/dist/types/components/byline/theme.d.ts +3 -0
  42. package/dist/types/components/tag-picker/TagAutocomplete.d.ts +117 -0
  43. package/dist/types/components/tag-picker/TagTable.d.ts +126 -0
  44. package/dist/types/components/tag-picker/example-tags.d.ts +2 -0
  45. package/dist/types/components/tag-picker/styles.d.ts +16 -0
  46. package/dist/types/components/tag-picker/types.d.ts +65 -0
  47. package/dist/types/{byline → components}/util.d.ts +1 -0
  48. package/dist/types/index.d.ts +26 -2
  49. package/dist/types/styleD/build/typescript/base/colors.d.ts +144 -0
  50. package/dist/types/styleD/build/typescript/base/typography.d.ts +65 -0
  51. package/dist/types/styleD/build/typescript/component/byline.d.ts +42 -0
  52. package/dist/types/styleD/build/typescript/component/tagAutocomplete.d.ts +29 -0
  53. package/dist/types/styleD/build/typescript/component/tagTable.d.ts +53 -0
  54. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +37 -0
  55. package/dist/types/styleD/build/typescript/semantic/typography.d.ts +462 -0
  56. package/dist/types/styleD/stories/base/Typography.d.ts +1 -0
  57. package/dist/types/styleD/stories/base/storybookColorPalette.d.ts +19 -0
  58. package/dist/types/styleD/stories/semantic/TypographyPresets.d.ts +1 -0
  59. package/dist/types/styleD/utils/semantic/typography.d.ts +15 -0
  60. package/dist/types/styleD/utils/semantic/typography.test.d.ts +1 -0
  61. package/package.json +67 -22
  62. package/dist/byline/styles.cjs +0 -244
  63. package/dist/byline/styles.js +0 -234
  64. package/dist/types/byline/Byline.d.ts +0 -17
  65. package/dist/types/byline/styles.d.ts +0 -11
  66. package/dist/types/byline/theme.d.ts +0 -44
  67. /package/dist/{byline → components/byline}/Preview.cjs +0 -0
  68. /package/dist/{byline → components/byline}/Preview.js +0 -0
  69. /package/dist/{byline → components/byline}/lib.cjs +0 -0
  70. /package/dist/{byline → components/byline}/lib.js +0 -0
  71. /package/dist/{byline → components/byline}/placeholder.cjs +0 -0
  72. /package/dist/{byline → components/byline}/placeholder.js +0 -0
  73. /package/dist/{byline → components/byline}/plugins.cjs +0 -0
  74. /package/dist/{byline → components/byline}/plugins.js +0 -0
  75. /package/dist/{byline → components/byline}/schema.cjs +0 -0
  76. /package/dist/{byline → components/byline}/schema.js +0 -0
  77. /package/dist/types/{byline → components/byline}/Preview.d.ts +0 -0
  78. /package/dist/types/{byline → components/byline}/contributors-fixture.d.ts +0 -0
  79. /package/dist/types/{byline → components/byline}/lib.d.ts +0 -0
  80. /package/dist/types/{byline → components/byline}/lib.test.d.ts +0 -0
  81. /package/dist/types/{byline → components/byline}/placeholder.d.ts +0 -0
  82. /package/dist/types/{byline → components/byline}/plugins.d.ts +0 -0
  83. /package/dist/types/{byline → components/byline}/schema.d.ts +0 -0
@@ -0,0 +1,142 @@
1
+ const baseColors = {
2
+ neutral: {
3
+ "0": "#000000",
4
+ "50": "#121212",
5
+ "100": "#333333",
6
+ "200": "#545454",
7
+ "300": "#666666",
8
+ "400": "#8d8d8d",
9
+ "500": "#999999",
10
+ "550": "#aeaeae",
11
+ "600": "#bababa",
12
+ "625": "#c1c1c1",
13
+ "650": "#cccccc",
14
+ "700": "#dcdcdc",
15
+ "750": "#e6e6e6",
16
+ "800": "#ededed",
17
+ "850": "#f6f6f6",
18
+ "900": "#ffffff"
19
+ },
20
+ red: {
21
+ "50": "#3d0e08",
22
+ "100": "#65170e",
23
+ "200": "#8c2113",
24
+ "300": "#b42a19",
25
+ "400": "#db331e",
26
+ "500": "#e15847",
27
+ "600": "#e87c6f",
28
+ "700": "#eea198",
29
+ "800": "#f5c6c0",
30
+ "900": "#fbebe9"
31
+ },
32
+ blue: {
33
+ "50": "#061d3c",
34
+ "100": "#092f62",
35
+ "200": "#0d4289",
36
+ "300": "#1054af",
37
+ "400": "#1467d6",
38
+ "500": "#3e82dd",
39
+ "600": "#699ee5",
40
+ "700": "#93b9ec",
41
+ "800": "#bdd4f4",
42
+ "900": "#e8f0fb"
43
+ },
44
+ cyan: {
45
+ "50": "#00202f",
46
+ "100": "#00344e",
47
+ "200": "#00496c",
48
+ "300": "#005d8b",
49
+ "400": "#0072a9",
50
+ "500": "#2e8bb8",
51
+ "600": "#5ca5c8",
52
+ "700": "#8abed7",
53
+ "800": "#b8d8e7",
54
+ "900": "#e6f1f6"
55
+ },
56
+ teal: {
57
+ "50": "#050e0f",
58
+ "100": "#0e2729",
59
+ "200": "#174044",
60
+ "300": "#287279",
61
+ "400": "#318b94",
62
+ "500": "#56a0a7",
63
+ "600": "#7bb5bb",
64
+ "700": "#a0cace",
65
+ "800": "#c5dfe1",
66
+ "900": "#eaf3f4"
67
+ },
68
+ green: {
69
+ "50": "#162c11",
70
+ "100": "#24491d",
71
+ "200": "#326528",
72
+ "300": "#408233",
73
+ "400": "#4e9e3e",
74
+ "500": "#6eaf61",
75
+ "600": "#8ec183",
76
+ "700": "#aed2a6",
77
+ "800": "#cde4c9",
78
+ "900": "#edf5ec"
79
+ },
80
+ yellow: {
81
+ "50": "#433608",
82
+ "100": "#6f590c",
83
+ "200": "#9a7c11",
84
+ "300": "#c69f16",
85
+ "400": "#f1c21b",
86
+ "500": "#f4cd44",
87
+ "600": "#f6d86d",
88
+ "700": "#f9e396",
89
+ "800": "#fbeebf",
90
+ "900": "#fef9e8"
91
+ },
92
+ orange: {
93
+ "50": "#45260e",
94
+ "100": "#713e17",
95
+ "200": "#9d5621",
96
+ "300": "#c96e2a",
97
+ "400": "#f58633",
98
+ "500": "#f79c58",
99
+ "600": "#f9b27c",
100
+ "700": "#fac7a1",
101
+ "800": "#fcddc6",
102
+ "900": "#fef3eb"
103
+ },
104
+ magenta: {
105
+ "50": "#350e20",
106
+ "100": "#581734",
107
+ "200": "#7a2048",
108
+ "300": "#9d295d",
109
+ "400": "#bf3271",
110
+ "500": "#cb578b",
111
+ "600": "#d67ca4",
112
+ "700": "#e2a1be",
113
+ "800": "#edc6d7",
114
+ "900": "#f9ebf1"
115
+ },
116
+ "warm-purple": {
117
+ "50": "#220b30",
118
+ "100": "#381350",
119
+ "200": "#4e1a6f",
120
+ "300": "#64228e",
121
+ "400": "#7a29ad",
122
+ "500": "#9250bc",
123
+ "600": "#aa76cb",
124
+ "700": "#c29dd9",
125
+ "800": "#dac3e8",
126
+ "900": "#f2eaf7"
127
+ },
128
+ "cool-purple": {
129
+ "50": "#232740",
130
+ "100": "#394069",
131
+ "200": "#505a92",
132
+ "300": "#6773bb",
133
+ "400": "#7d8ce4",
134
+ "500": "#94a1e9",
135
+ "600": "#acb5ee",
136
+ "700": "#c3caf3",
137
+ "800": "#dbdff7",
138
+ "900": "#f2f4fc"
139
+ }
140
+ };
141
+
142
+ export { baseColors };
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ const baseTypography = {
4
+ family: {
5
+ "Open Sans": "Open Sans",
6
+ "Open Sans Compact": "Open Sans",
7
+ "Guardian Text Egyptian": "GuardianTextEgyptian",
8
+ "Guardian Headline": "GH Guardian Headline"
9
+ },
10
+ size: {
11
+ "12-px": "12px",
12
+ "14-px": "14px",
13
+ "16-px": "16px",
14
+ "18-px": "18px",
15
+ "20-px": "20px",
16
+ "24-px": "24px",
17
+ "28-px": "28px",
18
+ "32-px": "32px",
19
+ "36-px": "36px",
20
+ "42-px": "42px",
21
+ "48-px": "48px"
22
+ },
23
+ weight: {
24
+ "Guardian Text Egyptian": {
25
+ normal: 400,
26
+ bold: 700
27
+ },
28
+ "Guardian Headline": {
29
+ bold: 700
30
+ },
31
+ "Open Sans": {
32
+ light: 340,
33
+ normal: 460,
34
+ semiBold: 600,
35
+ bold: 700
36
+ },
37
+ "Open Sans Compact": {
38
+ light: 360,
39
+ normal: 460,
40
+ semiBold: 600,
41
+ bold: 700
42
+ }
43
+ },
44
+ width: {
45
+ "Open Sans": 95,
46
+ "Open Sans Compact": 88
47
+ },
48
+ style: {
49
+ normal: "normal",
50
+ italic: "italic"
51
+ },
52
+ "line-height": {
53
+ tight: 1.15,
54
+ normal: 1.3,
55
+ loose: 1.4
56
+ },
57
+ "letter-spacing": {
58
+ "densest-px": "-1px",
59
+ "denser-px": "-0.5px",
60
+ "dense-px": "-0.2px",
61
+ "default-px": "0px"
62
+ }
63
+ };
64
+
65
+ exports.baseTypography = baseTypography;
@@ -0,0 +1,63 @@
1
+ const baseTypography = {
2
+ family: {
3
+ "Open Sans": "Open Sans",
4
+ "Open Sans Compact": "Open Sans",
5
+ "Guardian Text Egyptian": "GuardianTextEgyptian",
6
+ "Guardian Headline": "GH Guardian Headline"
7
+ },
8
+ size: {
9
+ "12-px": "12px",
10
+ "14-px": "14px",
11
+ "16-px": "16px",
12
+ "18-px": "18px",
13
+ "20-px": "20px",
14
+ "24-px": "24px",
15
+ "28-px": "28px",
16
+ "32-px": "32px",
17
+ "36-px": "36px",
18
+ "42-px": "42px",
19
+ "48-px": "48px"
20
+ },
21
+ weight: {
22
+ "Guardian Text Egyptian": {
23
+ normal: 400,
24
+ bold: 700
25
+ },
26
+ "Guardian Headline": {
27
+ bold: 700
28
+ },
29
+ "Open Sans": {
30
+ light: 340,
31
+ normal: 460,
32
+ semiBold: 600,
33
+ bold: 700
34
+ },
35
+ "Open Sans Compact": {
36
+ light: 360,
37
+ normal: 460,
38
+ semiBold: 600,
39
+ bold: 700
40
+ }
41
+ },
42
+ width: {
43
+ "Open Sans": 95,
44
+ "Open Sans Compact": 88
45
+ },
46
+ style: {
47
+ normal: "normal",
48
+ italic: "italic"
49
+ },
50
+ "line-height": {
51
+ tight: 1.15,
52
+ normal: 1.3,
53
+ loose: 1.4
54
+ },
55
+ "letter-spacing": {
56
+ "densest-px": "-1px",
57
+ "denser-px": "-0.5px",
58
+ "dense-px": "-0.2px",
59
+ "default-px": "0px"
60
+ }
61
+ };
62
+
63
+ export { baseTypography };
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ const componentByline = {
4
+ color: "#000000",
5
+ backgroundColor: "#ffffff",
6
+ readonlyBackgroundColor: "#dcdcdc",
7
+ borderColor: "#000000",
8
+ borderWidth: "1px",
9
+ borderStyle: "solid",
10
+ lineHeight: 1.8,
11
+ chip: {
12
+ color: "#000000",
13
+ borderColor: "#dcdcdc",
14
+ borderWidth: "1px",
15
+ borderStyle: "solid",
16
+ borderRadius: "8px",
17
+ paddingX: "4px",
18
+ paddingY: "2px",
19
+ selectedBorderColor: "#bdd4f4",
20
+ taggedBackgroundColor: "#dcdcdc",
21
+ untaggedColor: "#000000"
22
+ },
23
+ dropdown: {
24
+ borderColor: "#cccccc",
25
+ borderWidth: "1px",
26
+ borderStyle: "solid",
27
+ backgroundColor: "#ffffff",
28
+ li: {
29
+ color: "#000000",
30
+ borderBottomColor: "#cccccc",
31
+ borderBottomWidth: "1px",
32
+ borderBottomStyle: "solid",
33
+ selectedBackgroundColor: "#56a0a7",
34
+ selectedColor: "#ffffff"
35
+ },
36
+ maxHeight: "320px"
37
+ },
38
+ invisiblesColor: "#bababa",
39
+ placeholderColor: "#8d8d8d"
40
+ };
41
+
42
+ exports.componentByline = componentByline;
@@ -0,0 +1,40 @@
1
+ const componentByline = {
2
+ color: "#000000",
3
+ backgroundColor: "#ffffff",
4
+ readonlyBackgroundColor: "#dcdcdc",
5
+ borderColor: "#000000",
6
+ borderWidth: "1px",
7
+ borderStyle: "solid",
8
+ lineHeight: 1.8,
9
+ chip: {
10
+ color: "#000000",
11
+ borderColor: "#dcdcdc",
12
+ borderWidth: "1px",
13
+ borderStyle: "solid",
14
+ borderRadius: "8px",
15
+ paddingX: "4px",
16
+ paddingY: "2px",
17
+ selectedBorderColor: "#bdd4f4",
18
+ taggedBackgroundColor: "#dcdcdc",
19
+ untaggedColor: "#000000"
20
+ },
21
+ dropdown: {
22
+ borderColor: "#cccccc",
23
+ borderWidth: "1px",
24
+ borderStyle: "solid",
25
+ backgroundColor: "#ffffff",
26
+ li: {
27
+ color: "#000000",
28
+ borderBottomColor: "#cccccc",
29
+ borderBottomWidth: "1px",
30
+ borderBottomStyle: "solid",
31
+ selectedBackgroundColor: "#56a0a7",
32
+ selectedColor: "#ffffff"
33
+ },
34
+ maxHeight: "320px"
35
+ },
36
+ invisiblesColor: "#bababa",
37
+ placeholderColor: "#8d8d8d"
38
+ };
39
+
40
+ export { componentByline };
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ const componentTagAutocomplete = {
4
+ input: {
5
+ color: "#000000",
6
+ backgroundColor: "#ffffff",
7
+ disabledBackgroundColor: "#dcdcdc",
8
+ borderWidth: "1px",
9
+ borderStyle: "solid",
10
+ borderColor: "#8d8d8d",
11
+ padding: "11px"
12
+ },
13
+ listbox: {
14
+ borderWidth: "1px",
15
+ borderStyle: "solid",
16
+ borderColor: "#8d8d8d",
17
+ paddingY: "8px",
18
+ paddingX: "0px",
19
+ backgroundColor: "#ffffff",
20
+ item: {
21
+ paddingY: "8px",
22
+ paddingX: "12px",
23
+ backgroundHoverColor: "#ededed",
24
+ backgroundFocusedColor: "#ededed"
25
+ }
26
+ }
27
+ };
28
+
29
+ exports.componentTagAutocomplete = componentTagAutocomplete;
@@ -0,0 +1,27 @@
1
+ const componentTagAutocomplete = {
2
+ input: {
3
+ color: "#000000",
4
+ backgroundColor: "#ffffff",
5
+ disabledBackgroundColor: "#dcdcdc",
6
+ borderWidth: "1px",
7
+ borderStyle: "solid",
8
+ borderColor: "#8d8d8d",
9
+ padding: "11px"
10
+ },
11
+ listbox: {
12
+ borderWidth: "1px",
13
+ borderStyle: "solid",
14
+ borderColor: "#8d8d8d",
15
+ paddingY: "8px",
16
+ paddingX: "0px",
17
+ backgroundColor: "#ffffff",
18
+ item: {
19
+ paddingY: "8px",
20
+ paddingX: "12px",
21
+ backgroundHoverColor: "#ededed",
22
+ backgroundFocusedColor: "#ededed"
23
+ }
24
+ }
25
+ };
26
+
27
+ export { componentTagAutocomplete };
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ const componentTagTable = {
4
+ heading: {
5
+ backgroundColor: "#dcdcdc",
6
+ fontWeight: 700,
7
+ paddingTop: "3px",
8
+ paddingRight: "5px",
9
+ paddingBottom: "3px",
10
+ paddingLeft: "12px"
11
+ },
12
+ cell: {
13
+ paddingX: "5px",
14
+ paddingY: "3px",
15
+ firstCellPaddingLeft: "12px",
16
+ borderBetweenCells: {
17
+ borderWidth: "1px",
18
+ borderStyle: "solid",
19
+ borderColor: "#ffffff"
20
+ }
21
+ },
22
+ row: {
23
+ height: "28px",
24
+ backgroundColor: "#ededed",
25
+ backgroundHoverColor: "#f6f6f6",
26
+ borderBottom: {
27
+ borderWidth: "1px",
28
+ borderStyle: "solid",
29
+ borderColor: "#ffffff"
30
+ },
31
+ firstRowBackgroundColor: "#aed2a6",
32
+ firstRowBackgroundHoverColor: "#8ec183"
33
+ },
34
+ addButton: {
35
+ color: "#ffffff",
36
+ paddingX: "10px",
37
+ paddingY: "0px",
38
+ backgroundColor: "#8d8d8d",
39
+ backgroundHoverColor: "#545454",
40
+ fontWeight: 400,
41
+ fontSize: "13px"
42
+ },
43
+ typeBadge: {
44
+ color: "#000000",
45
+ backgroundColor: "#ffffff",
46
+ paddingX: "6px",
47
+ paddingY: "2px",
48
+ fontWeight: 700,
49
+ fontSize: "10px"
50
+ }
51
+ };
52
+
53
+ exports.componentTagTable = componentTagTable;
@@ -0,0 +1,51 @@
1
+ const componentTagTable = {
2
+ heading: {
3
+ backgroundColor: "#dcdcdc",
4
+ fontWeight: 700,
5
+ paddingTop: "3px",
6
+ paddingRight: "5px",
7
+ paddingBottom: "3px",
8
+ paddingLeft: "12px"
9
+ },
10
+ cell: {
11
+ paddingX: "5px",
12
+ paddingY: "3px",
13
+ firstCellPaddingLeft: "12px",
14
+ borderBetweenCells: {
15
+ borderWidth: "1px",
16
+ borderStyle: "solid",
17
+ borderColor: "#ffffff"
18
+ }
19
+ },
20
+ row: {
21
+ height: "28px",
22
+ backgroundColor: "#ededed",
23
+ backgroundHoverColor: "#f6f6f6",
24
+ borderBottom: {
25
+ borderWidth: "1px",
26
+ borderStyle: "solid",
27
+ borderColor: "#ffffff"
28
+ },
29
+ firstRowBackgroundColor: "#aed2a6",
30
+ firstRowBackgroundHoverColor: "#8ec183"
31
+ },
32
+ addButton: {
33
+ color: "#ffffff",
34
+ paddingX: "10px",
35
+ paddingY: "0px",
36
+ backgroundColor: "#8d8d8d",
37
+ backgroundHoverColor: "#545454",
38
+ fontWeight: 400,
39
+ fontSize: "13px"
40
+ },
41
+ typeBadge: {
42
+ color: "#000000",
43
+ backgroundColor: "#ffffff",
44
+ paddingX: "6px",
45
+ paddingY: "2px",
46
+ fontWeight: 700,
47
+ fontSize: "10px"
48
+ }
49
+ };
50
+
51
+ export { componentTagTable };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ const semanticColors = {
4
+ text: {
5
+ primary: "#000000",
6
+ secondary: "#333333",
7
+ tertiary: "#666666",
8
+ "inverse-default": "#dcdcdc",
9
+ "inverse-secondary": "#cccccc",
10
+ "inverse-tertiary": "#aeaeae",
11
+ "inverse-strong": "#ffffff",
12
+ warning: "#8c2113",
13
+ success: "#326528"
14
+ },
15
+ surface: {
16
+ "light-1": "#f6f6f6",
17
+ "light-2": "#ededed",
18
+ "dark-1": "#333333"
19
+ },
20
+ border: {
21
+ subtle: "#cccccc",
22
+ default: "#8d8d8d",
23
+ strong: "#545454",
24
+ "inverse-strong": "#ffffff"
25
+ },
26
+ bg: {
27
+ "default-onDark": "#121212",
28
+ "default-onLight": "#ffffff"
29
+ },
30
+ status: {
31
+ "status-draft": "#f1c21b",
32
+ "status-live": "#4e9e3e",
33
+ "status-selected": "#0072a9"
34
+ }
35
+ };
36
+
37
+ exports.semanticColors = semanticColors;
@@ -0,0 +1,35 @@
1
+ const semanticColors = {
2
+ text: {
3
+ primary: "#000000",
4
+ secondary: "#333333",
5
+ tertiary: "#666666",
6
+ "inverse-default": "#dcdcdc",
7
+ "inverse-secondary": "#cccccc",
8
+ "inverse-tertiary": "#aeaeae",
9
+ "inverse-strong": "#ffffff",
10
+ warning: "#8c2113",
11
+ success: "#326528"
12
+ },
13
+ surface: {
14
+ "light-1": "#f6f6f6",
15
+ "light-2": "#ededed",
16
+ "dark-1": "#333333"
17
+ },
18
+ border: {
19
+ subtle: "#cccccc",
20
+ default: "#8d8d8d",
21
+ strong: "#545454",
22
+ "inverse-strong": "#ffffff"
23
+ },
24
+ bg: {
25
+ "default-onDark": "#121212",
26
+ "default-onLight": "#ffffff"
27
+ },
28
+ status: {
29
+ "status-draft": "#f1c21b",
30
+ "status-live": "#4e9e3e",
31
+ "status-selected": "#0072a9"
32
+ }
33
+ };
34
+
35
+ export { semanticColors };