@edwardguerra/design-system 1.0.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.
Files changed (131) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +77 -0
  3. package/dist/css/main.css +132 -0
  4. package/dist/css/tokens.css +318 -0
  5. package/dist/index.cjs +31 -0
  6. package/dist/index.cjs.map +1 -0
  7. package/dist/index.mjs +1188 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/dist/style.css +1 -0
  10. package/dist/tokens/_variables.scss +296 -0
  11. package/dist/tokens/tokens.d.ts +338 -0
  12. package/dist/tokens/tokens.js +297 -0
  13. package/dist/tokens/tokens.json +294 -0
  14. package/dist/tokens/variables.css +318 -0
  15. package/dist/types/components/Accordion/Accordion.d.ts +30 -0
  16. package/dist/types/components/Accordion/Accordion.stories.d.ts +15 -0
  17. package/dist/types/components/Accordion/Accordion.test.d.ts +1 -0
  18. package/dist/types/components/Accordion/index.d.ts +2 -0
  19. package/dist/types/components/Article/Article.d.ts +21 -0
  20. package/dist/types/components/Article/Article.stories.d.ts +13 -0
  21. package/dist/types/components/Article/Article.test.d.ts +1 -0
  22. package/dist/types/components/Article/index.d.ts +2 -0
  23. package/dist/types/components/Badge/Badge.d.ts +20 -0
  24. package/dist/types/components/Badge/Badge.stories.d.ts +20 -0
  25. package/dist/types/components/Badge/Badge.test.d.ts +1 -0
  26. package/dist/types/components/Badge/index.d.ts +2 -0
  27. package/dist/types/components/Button/Button.d.ts +49 -0
  28. package/dist/types/components/Button/Button.stories.d.ts +43 -0
  29. package/dist/types/components/Button/Button.test.d.ts +1 -0
  30. package/dist/types/components/Button/index.d.ts +2 -0
  31. package/dist/types/components/Card/Card.d.ts +43 -0
  32. package/dist/types/components/Card/Card.stories.d.ts +31 -0
  33. package/dist/types/components/Card/Card.test.d.ts +1 -0
  34. package/dist/types/components/Card/index.d.ts +2 -0
  35. package/dist/types/components/Carousel/Carousel.d.ts +27 -0
  36. package/dist/types/components/Carousel/Carousel.stories.d.ts +12 -0
  37. package/dist/types/components/Carousel/Carousel.test.d.ts +1 -0
  38. package/dist/types/components/Carousel/index.d.ts +2 -0
  39. package/dist/types/components/DescriptionList/DescriptionList.d.ts +31 -0
  40. package/dist/types/components/DescriptionList/DescriptionList.stories.d.ts +12 -0
  41. package/dist/types/components/DescriptionList/DescriptionList.test.d.ts +1 -0
  42. package/dist/types/components/DescriptionList/index.d.ts +2 -0
  43. package/dist/types/components/Feature/Feature.d.ts +25 -0
  44. package/dist/types/components/Feature/Feature.stories.d.ts +19 -0
  45. package/dist/types/components/Feature/Feature.test.d.ts +1 -0
  46. package/dist/types/components/Feature/index.d.ts +2 -0
  47. package/dist/types/components/Icon/Icon.d.ts +24 -0
  48. package/dist/types/components/Icon/Icon.stories.d.ts +21 -0
  49. package/dist/types/components/Icon/Icon.test.d.ts +1 -0
  50. package/dist/types/components/Icon/index.d.ts +2 -0
  51. package/dist/types/components/Input/Input.d.ts +40 -0
  52. package/dist/types/components/Input/Input.stories.d.ts +30 -0
  53. package/dist/types/components/Input/Input.test.d.ts +1 -0
  54. package/dist/types/components/Input/index.d.ts +2 -0
  55. package/dist/types/components/Link/Link.d.ts +45 -0
  56. package/dist/types/components/Link/Link.stories.d.ts +19 -0
  57. package/dist/types/components/Link/Link.test.d.ts +1 -0
  58. package/dist/types/components/Link/index.d.ts +2 -0
  59. package/dist/types/components/List/List.d.ts +35 -0
  60. package/dist/types/components/List/List.stories.d.ts +14 -0
  61. package/dist/types/components/List/List.test.d.ts +1 -0
  62. package/dist/types/components/List/index.d.ts +2 -0
  63. package/dist/types/components/Menu/Menu.d.ts +44 -0
  64. package/dist/types/components/Menu/Menu.stories.d.ts +19 -0
  65. package/dist/types/components/Menu/Menu.test.d.ts +1 -0
  66. package/dist/types/components/Menu/index.d.ts +2 -0
  67. package/dist/types/components/Modal/Modal.d.ts +44 -0
  68. package/dist/types/components/Modal/Modal.stories.d.ts +26 -0
  69. package/dist/types/components/Modal/Modal.test.d.ts +1 -0
  70. package/dist/types/components/Modal/index.d.ts +2 -0
  71. package/dist/types/components/Nav/Nav.d.ts +43 -0
  72. package/dist/types/components/Nav/Nav.stories.d.ts +19 -0
  73. package/dist/types/components/Nav/Nav.test.d.ts +1 -0
  74. package/dist/types/components/Nav/index.d.ts +2 -0
  75. package/dist/types/components/Pagination/Pagination.d.ts +36 -0
  76. package/dist/types/components/Pagination/Pagination.stories.d.ts +15 -0
  77. package/dist/types/components/Pagination/Pagination.test.d.ts +1 -0
  78. package/dist/types/components/Pagination/index.d.ts +2 -0
  79. package/dist/types/components/Radio/Radio.d.ts +30 -0
  80. package/dist/types/components/Radio/Radio.stories.d.ts +15 -0
  81. package/dist/types/components/Radio/Radio.test.d.ts +1 -0
  82. package/dist/types/components/Radio/index.d.ts +2 -0
  83. package/dist/types/components/Slider/Slider.d.ts +44 -0
  84. package/dist/types/components/Slider/Slider.stories.d.ts +14 -0
  85. package/dist/types/components/Slider/Slider.test.d.ts +1 -0
  86. package/dist/types/components/Slider/index.d.ts +2 -0
  87. package/dist/types/components/Switch/Switch.d.ts +29 -0
  88. package/dist/types/components/Switch/Switch.stories.d.ts +16 -0
  89. package/dist/types/components/Switch/Switch.test.d.ts +1 -0
  90. package/dist/types/components/Switch/index.d.ts +2 -0
  91. package/dist/types/components/TOC/TOC.d.ts +37 -0
  92. package/dist/types/components/TOC/TOC.stories.d.ts +17 -0
  93. package/dist/types/components/TOC/TOC.test.d.ts +1 -0
  94. package/dist/types/components/TOC/index.d.ts +2 -0
  95. package/dist/types/components/Table/Table.d.ts +34 -0
  96. package/dist/types/components/Table/Table.stories.d.ts +13 -0
  97. package/dist/types/components/Table/Table.test.d.ts +1 -0
  98. package/dist/types/components/Table/index.d.ts +2 -0
  99. package/dist/types/components/Tabs/Tabs.d.ts +26 -0
  100. package/dist/types/components/Tabs/Tabs.stories.d.ts +14 -0
  101. package/dist/types/components/Tabs/Tabs.test.d.ts +1 -0
  102. package/dist/types/components/Tabs/index.d.ts +2 -0
  103. package/dist/types/components/ThemeProvider/ThemeContext.d.ts +8 -0
  104. package/dist/types/components/ThemeProvider/ThemeProvider.d.ts +9 -0
  105. package/dist/types/components/ThemeProvider/ThemeProvider.stories.d.ts +17 -0
  106. package/dist/types/components/ThemeProvider/ThemeProvider.test.d.ts +1 -0
  107. package/dist/types/components/ThemeProvider/ThemeSwitcher.d.ts +13 -0
  108. package/dist/types/components/ThemeProvider/index.d.ts +6 -0
  109. package/dist/types/components/Timeline/Timeline.d.ts +31 -0
  110. package/dist/types/components/Timeline/Timeline.stories.d.ts +12 -0
  111. package/dist/types/components/Timeline/Timeline.test.d.ts +1 -0
  112. package/dist/types/components/Timeline/index.d.ts +2 -0
  113. package/dist/types/components/Tooltip/Tooltip.d.ts +25 -0
  114. package/dist/types/components/Tooltip/Tooltip.stories.d.ts +26 -0
  115. package/dist/types/components/Tooltip/Tooltip.test.d.ts +1 -0
  116. package/dist/types/components/Tooltip/index.d.ts +2 -0
  117. package/dist/types/components/index.d.ts +25 -0
  118. package/dist/types/index.d.ts +1 -0
  119. package/dist/types/test/setup.d.ts +1 -0
  120. package/package.json +85 -0
  121. package/tokens/brands/edward-guerra.json +9 -0
  122. package/tokens/brands/materialandhome.json +9 -0
  123. package/tokens/brands/midwest-husbands.json +9 -0
  124. package/tokens/config.json +45 -0
  125. package/tokens/core/breakpoints.json +9 -0
  126. package/tokens/core/colors.json +217 -0
  127. package/tokens/core/effects.json +37 -0
  128. package/tokens/core/spacing.json +24 -0
  129. package/tokens/core/typography.json +45 -0
  130. package/tokens/semantic/button.json +37 -0
  131. package/tokens/semantic/theme.json +26 -0
@@ -0,0 +1,9 @@
1
+ {
2
+ "materialandhome": {
3
+ "brand": {
4
+ "primary": { "value": "#B25D3E", "type": "color" },
5
+ "secondary": { "value": "#8c4530", "type": "color" },
6
+ "tint": { "value": "#f5e8e2", "type": "color" }
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "midwest-husbands": {
3
+ "brand": {
4
+ "primary": { "value": "{color.teal.700}", "type": "color" },
5
+ "secondary": { "value": "{color.teal.900}", "type": "color" },
6
+ "tint": { "value": "{color.teal.50}", "type": "color" }
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "source": ["tokens/**/*.json"],
3
+ "platforms": {
4
+ "css": {
5
+ "transformGroup": "css",
6
+ "buildPath": "dist/tokens/",
7
+ "files": [
8
+ {
9
+ "destination": "variables.css",
10
+ "format": "css/variables"
11
+ }
12
+ ]
13
+ },
14
+ "scss": {
15
+ "transformGroup": "scss",
16
+ "buildPath": "dist/tokens/",
17
+ "files": [
18
+ {
19
+ "destination": "_variables.scss",
20
+ "format": "scss/variables"
21
+ }
22
+ ]
23
+ },
24
+ "js": {
25
+ "transformGroup": "js",
26
+ "buildPath": "dist/tokens/",
27
+ "files": [
28
+ {
29
+ "destination": "tokens.js",
30
+ "format": "javascript/es6"
31
+ }
32
+ ]
33
+ },
34
+ "json": {
35
+ "transformGroup": "js",
36
+ "buildPath": "dist/tokens/",
37
+ "files": [
38
+ {
39
+ "destination": "tokens.json",
40
+ "format": "json/flat"
41
+ }
42
+ ]
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "breakpoint": {
3
+ "xs": { "value": "20em", "type": "sizing", "comment": "320px" },
4
+ "md": { "value": "46.5em", "type": "sizing", "comment": "744px" },
5
+ "lg": { "value": "64em", "type": "sizing", "comment": "1024px" },
6
+ "xl": { "value": "100em", "type": "sizing", "comment": "1600px" },
7
+ "2xl": { "value": "120em", "type": "sizing", "comment": "1920px" }
8
+ }
9
+ }
@@ -0,0 +1,217 @@
1
+ {
2
+ "color": {
3
+ "neutral": {
4
+ "0": { "value": "#ffffff", "type": "color" },
5
+ "50": { "value": "#f6f6f6", "type": "color" },
6
+ "100": { "value": "#e7e7e7", "type": "color" },
7
+ "200": { "value": "#d1d1d1", "type": "color" },
8
+ "300": { "value": "#b0b0b0", "type": "color" },
9
+ "400": { "value": "#888888", "type": "color" },
10
+ "500": { "value": "#6d6d6d", "type": "color" },
11
+ "600": { "value": "#5d5d5d", "type": "color" },
12
+ "700": { "value": "#4f4f4f", "type": "color" },
13
+ "800": { "value": "#454545", "type": "color" },
14
+ "900": { "value": "#3d3d3d", "type": "color" },
15
+ "950": { "value": "#1a1a1a", "type": "color" },
16
+ "1000": { "value": "#000000", "type": "color" }
17
+ },
18
+ "blue": {
19
+ "50": { "value": "#f0f9ff", "type": "color" },
20
+ "100": { "value": "#e0f2fe", "type": "color" },
21
+ "200": { "value": "#bbe6fc", "type": "color" },
22
+ "300": { "value": "#7fd1fa", "type": "color" },
23
+ "400": { "value": "#3abbf6", "type": "color" },
24
+ "500": { "value": "#11a3e6", "type": "color" },
25
+ "600": { "value": "#0482c5", "type": "color" },
26
+ "700": { "value": "#05679f", "type": "color" },
27
+ "800": { "value": "#095883", "type": "color" },
28
+ "900": { "value": "#0d4a6d", "type": "color" },
29
+ "950": { "value": "#0b3a5a", "type": "color" }
30
+ },
31
+ "brown": {
32
+ "50": { "value": "#f5f4f1", "type": "color" },
33
+ "100": { "value": "#e5e3dc", "type": "color" },
34
+ "200": { "value": "#cdcabb", "type": "color" },
35
+ "300": { "value": "#b1aa93", "type": "color" },
36
+ "400": { "value": "#9a9175", "type": "color" },
37
+ "500": { "value": "#8b8067", "type": "color" },
38
+ "600": { "value": "#776b57", "type": "color" },
39
+ "700": { "value": "#605548", "type": "color" },
40
+ "800": { "value": "#534940", "type": "color" },
41
+ "900": { "value": "#39322d", "type": "color" },
42
+ "950": { "value": "#29221f", "type": "color" }
43
+ },
44
+ "teal": {
45
+ "50": { "value": "#f4f9f8", "type": "color" },
46
+ "100": { "value": "#daedea", "type": "color" },
47
+ "200": { "value": "#b4dbd5", "type": "color" },
48
+ "300": { "value": "#87c1bb", "type": "color" },
49
+ "400": { "value": "#5ea39e", "type": "color" },
50
+ "500": { "value": "#448884", "type": "color" },
51
+ "600": { "value": "#336967", "type": "color" },
52
+ "700": { "value": "#2d5856", "type": "color" },
53
+ "800": { "value": "#284747", "type": "color" },
54
+ "900": { "value": "#243d3c", "type": "color" },
55
+ "950": { "value": "#112122", "type": "color" }
56
+ },
57
+ "green": {
58
+ "50": { "value": "#f9f8ec", "type": "color" },
59
+ "100": { "value": "#f1efd6", "type": "color" },
60
+ "200": { "value": "#e4e1b2", "type": "color" },
61
+ "300": { "value": "#d1cf85", "type": "color" },
62
+ "400": { "value": "#bdbc5e", "type": "color" },
63
+ "500": { "value": "#a1a240", "type": "color" },
64
+ "600": { "value": "#909236", "type": "color" },
65
+ "700": { "value": "#616328", "type": "color" },
66
+ "800": { "value": "#4e5024", "type": "color" },
67
+ "900": { "value": "#434522", "type": "color" },
68
+ "950": { "value": "#23250e", "type": "color" }
69
+ },
70
+ "red": {
71
+ "50": { "value": "#fcf4f4", "type": "color" },
72
+ "100": { "value": "#fae6e6", "type": "color" },
73
+ "200": { "value": "#f6d2d2", "type": "color" },
74
+ "300": { "value": "#efb2b2", "type": "color" },
75
+ "400": { "value": "#e38686", "type": "color" },
76
+ "500": { "value": "#d55e5e", "type": "color" },
77
+ "600": { "value": "#c04242", "type": "color" },
78
+ "700": { "value": "#973131", "type": "color" },
79
+ "800": { "value": "#862e2e", "type": "color" },
80
+ "900": { "value": "#702c2c", "type": "color" },
81
+ "950": { "value": "#3c1313", "type": "color" }
82
+ },
83
+ "yellow": {
84
+ "50": { "value": "#fffeea", "type": "color" },
85
+ "100": { "value": "#fffac5", "type": "color" },
86
+ "200": { "value": "#fff585", "type": "color" },
87
+ "300": { "value": "#ffe946", "type": "color" },
88
+ "400": { "value": "#ffd91b", "type": "color" },
89
+ "500": { "value": "#ffba05", "type": "color" },
90
+ "600": { "value": "#e28e00", "type": "color" },
91
+ "700": { "value": "#bb6402", "type": "color" },
92
+ "800": { "value": "#984d08", "type": "color" },
93
+ "900": { "value": "#7c3f0b", "type": "color" },
94
+ "950": { "value": "#482000", "type": "color" }
95
+ },
96
+ "burnt": {
97
+ "50": { "value": "#fdf5ef", "type": "color" },
98
+ "100": { "value": "#fae8da", "type": "color" },
99
+ "200": { "value": "#f4ceb4", "type": "color" },
100
+ "300": { "value": "#ecad85", "type": "color" },
101
+ "400": { "value": "#e38254", "type": "color" },
102
+ "500": { "value": "#dd6434", "type": "color" },
103
+ "600": { "value": "#ce4c28", "type": "color" },
104
+ "700": { "value": "#ab3923", "type": "color" },
105
+ "800": { "value": "#892f23", "type": "color" },
106
+ "900": { "value": "#6f291f", "type": "color" },
107
+ "950": { "value": "#3c120e", "type": "color" }
108
+ },
109
+ "berry": {
110
+ "50": { "value": "#fbf4f8", "type": "color" },
111
+ "100": { "value": "#f7ecf2", "type": "color" },
112
+ "200": { "value": "#f1d9e8", "type": "color" },
113
+ "300": { "value": "#e7bad3", "type": "color" },
114
+ "400": { "value": "#d88eb7", "type": "color" },
115
+ "500": { "value": "#c86c9b", "type": "color" },
116
+ "600": { "value": "#b44e7e", "type": "color" },
117
+ "700": { "value": "#9a3c65", "type": "color" },
118
+ "800": { "value": "#803455", "type": "color" },
119
+ "900": { "value": "#6c2f4a", "type": "color" },
120
+ "950": { "value": "#0e070a", "type": "color" }
121
+ },
122
+ "purple": {
123
+ "50": { "value": "#faf5ff", "type": "color" },
124
+ "100": { "value": "#f3e8ff", "type": "color" },
125
+ "200": { "value": "#e9d5ff", "type": "color" },
126
+ "300": { "value": "#d8b4fe", "type": "color" },
127
+ "400": { "value": "#c084fc", "type": "color" },
128
+ "500": { "value": "#a855f7", "type": "color" },
129
+ "600": { "value": "#9333ea", "type": "color" },
130
+ "700": { "value": "#7e22ce", "type": "color" },
131
+ "800": { "value": "#6b21a8", "type": "color" },
132
+ "900": { "value": "#581c87", "type": "color" },
133
+ "950": { "value": "#3b0764", "type": "color" }
134
+ },
135
+ "orange": {
136
+ "50": { "value": "#fff7ed", "type": "color" },
137
+ "100": { "value": "#ffedd5", "type": "color" },
138
+ "200": { "value": "#fed7aa", "type": "color" },
139
+ "300": { "value": "#fdba74", "type": "color" },
140
+ "400": { "value": "#fb923c", "type": "color" },
141
+ "500": { "value": "#f97316", "type": "color" },
142
+ "600": { "value": "#ea580c", "type": "color" },
143
+ "700": { "value": "#c2410c", "type": "color" },
144
+ "800": { "value": "#9a3412", "type": "color" },
145
+ "900": { "value": "#7c2d12", "type": "color" },
146
+ "950": { "value": "#431407", "type": "color" }
147
+ },
148
+ "cyan": {
149
+ "50": { "value": "#ecfeff", "type": "color" },
150
+ "100": { "value": "#cffafe", "type": "color" },
151
+ "200": { "value": "#a5f3fc", "type": "color" },
152
+ "300": { "value": "#67e8f9", "type": "color" },
153
+ "400": { "value": "#22d3ee", "type": "color" },
154
+ "500": { "value": "#06b6d4", "type": "color" },
155
+ "600": { "value": "#0891b2", "type": "color" },
156
+ "700": { "value": "#0e7490", "type": "color" },
157
+ "800": { "value": "#155e75", "type": "color" },
158
+ "900": { "value": "#164e63", "type": "color" },
159
+ "950": { "value": "#083344", "type": "color" }
160
+ },
161
+ "lime": {
162
+ "50": { "value": "#f7fee7", "type": "color" },
163
+ "100": { "value": "#ecfccb", "type": "color" },
164
+ "200": { "value": "#d9f99d", "type": "color" },
165
+ "300": { "value": "#bef264", "type": "color" },
166
+ "400": { "value": "#a3e635", "type": "color" },
167
+ "500": { "value": "#84cc16", "type": "color" },
168
+ "600": { "value": "#65a30d", "type": "color" },
169
+ "700": { "value": "#4d7c0f", "type": "color" },
170
+ "800": { "value": "#3f6212", "type": "color" },
171
+ "900": { "value": "#365314", "type": "color" },
172
+ "950": { "value": "#1a2e05", "type": "color" }
173
+ },
174
+ "pink": {
175
+ "50": { "value": "#fdf2f8", "type": "color" },
176
+ "100": { "value": "#fce7f3", "type": "color" },
177
+ "200": { "value": "#fbcfe8", "type": "color" },
178
+ "300": { "value": "#f9a8d4", "type": "color" },
179
+ "400": { "value": "#f472b6", "type": "color" },
180
+ "500": { "value": "#ec4899", "type": "color" },
181
+ "600": { "value": "#db2777", "type": "color" },
182
+ "700": { "value": "#be185d", "type": "color" },
183
+ "800": { "value": "#9d174d", "type": "color" },
184
+ "900": { "value": "#831843", "type": "color" },
185
+ "950": { "value": "#500724", "type": "color" }
186
+ },
187
+ "indigo": {
188
+ "50": { "value": "#eef2ff", "type": "color" },
189
+ "100": { "value": "#e0e7ff", "type": "color" },
190
+ "200": { "value": "#c7d2fe", "type": "color" },
191
+ "300": { "value": "#a5b4fc", "type": "color" },
192
+ "400": { "value": "#818cf8", "type": "color" },
193
+ "500": { "value": "#6366f1", "type": "color" },
194
+ "600": { "value": "#4f46e5", "type": "color" },
195
+ "700": { "value": "#4338ca", "type": "color" },
196
+ "800": { "value": "#3730a3", "type": "color" },
197
+ "900": { "value": "#312e81", "type": "color" },
198
+ "950": { "value": "#1e1b4b", "type": "color" }
199
+ },
200
+ "white": {
201
+ "5": { "value": "rgba(255, 255, 255, 0.05)", "type": "color" },
202
+ "10": { "value": "rgba(255, 255, 255, 0.1)", "type": "color" },
203
+ "20": { "value": "rgba(255, 255, 255, 0.2)", "type": "color" },
204
+ "40": { "value": "rgba(255, 255, 255, 0.4)", "type": "color" },
205
+ "60": { "value": "rgba(255, 255, 255, 0.6)", "type": "color" },
206
+ "80": { "value": "rgba(255, 255, 255, 0.8)", "type": "color" }
207
+ },
208
+ "black": {
209
+ "5": { "value": "rgba(0, 0, 0, 0.05)", "type": "color" },
210
+ "10": { "value": "rgba(0, 0, 0, 0.1)", "type": "color" },
211
+ "20": { "value": "rgba(0, 0, 0, 0.2)", "type": "color" },
212
+ "40": { "value": "rgba(0, 0, 0, 0.4)", "type": "color" },
213
+ "60": { "value": "rgba(0, 0, 0, 0.6)", "type": "color" },
214
+ "80": { "value": "rgba(0, 0, 0, 0.8)", "type": "color" }
215
+ }
216
+ }
217
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "shadow": {
3
+ "sm": {
4
+ "value": "0 2rem 2rem rgba(0, 0, 0, 0.1)",
5
+ "type": "boxShadow",
6
+ "comment": "Live site --shadow-light"
7
+ },
8
+ "md": {
9
+ "value": "0 1.5rem 3rem -1.25rem rgba(0, 0, 0, 0.1)",
10
+ "type": "boxShadow",
11
+ "comment": "Live site --shadow-medium"
12
+ },
13
+ "lg": {
14
+ "value": "0 3.125rem 6.25rem -1.25rem rgba(0, 0, 0, 0.25)",
15
+ "type": "boxShadow",
16
+ "comment": "Live site --shadow-dark"
17
+ },
18
+ "inner": {
19
+ "value": "inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)",
20
+ "type": "boxShadow"
21
+ }
22
+ },
23
+ "radius": {
24
+ "none": { "value": "0", "type": "borderRadius" },
25
+ "sm": { "value": "0.5rem", "type": "borderRadius", "comment": "Live site --radius-sm (--size-50)" },
26
+ "md": { "value": "1rem", "type": "borderRadius", "comment": "Live site --radius-md (--size-100)" },
27
+ "lg": { "value": "2rem", "type": "borderRadius", "comment": "Live site --radius-lg (--size-200)" },
28
+ "full": { "value": "9999px", "type": "borderRadius" }
29
+ },
30
+ "borderWidth": {
31
+ "0": { "value": "0", "type": "borderWidth" },
32
+ "1": { "value": "1px", "type": "borderWidth" },
33
+ "2": { "value": "2px", "type": "borderWidth" },
34
+ "4": { "value": "4px", "type": "borderWidth" },
35
+ "8": { "value": "8px", "type": "borderWidth" }
36
+ }
37
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "spacing": {
3
+ "0": { "value": "0", "type": "spacing" },
4
+ "1": { "value": "0.25rem", "type": "spacing", "comment": "4px" },
5
+ "2": { "value": "0.5rem", "type": "spacing", "comment": "8px" },
6
+ "3": { "value": "0.75rem", "type": "spacing", "comment": "12px" },
7
+ "4": { "value": "1rem", "type": "spacing", "comment": "16px" },
8
+ "5": { "value": "1.25rem", "type": "spacing", "comment": "20px" },
9
+ "6": { "value": "1.5rem", "type": "spacing", "comment": "24px" },
10
+ "8": { "value": "2rem", "type": "spacing", "comment": "32px" },
11
+ "10": { "value": "2.5rem", "type": "spacing", "comment": "40px" },
12
+ "12": { "value": "3rem", "type": "spacing", "comment": "48px" },
13
+ "16": { "value": "4rem", "type": "spacing", "comment": "64px" },
14
+ "20": { "value": "5rem", "type": "spacing", "comment": "80px" },
15
+ "24": { "value": "6rem", "type": "spacing", "comment": "96px" },
16
+ "32": { "value": "8rem", "type": "spacing", "comment": "128px" },
17
+ "40": { "value": "10rem", "type": "spacing", "comment": "160px" },
18
+ "48": { "value": "12rem", "type": "spacing", "comment": "192px" },
19
+ "56": { "value": "14rem", "type": "spacing", "comment": "224px" },
20
+ "64": { "value": "16rem", "type": "spacing", "comment": "256px" },
21
+ "96": { "value": "24rem", "type": "spacing", "comment": "384px" },
22
+ "120": { "value": "30rem", "type": "spacing", "comment": "480px" }
23
+ }
24
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "font": {
3
+ "family": {
4
+ "sans": {
5
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
6
+ "type": "fontFamily"
7
+ },
8
+ "serif": {
9
+ "value": "Georgia, Cambria, 'Times New Roman', Times, serif",
10
+ "type": "fontFamily"
11
+ },
12
+ "mono": {
13
+ "value": "Menlo, Monaco, Consolas, 'Courier New', monospace",
14
+ "type": "fontFamily"
15
+ }
16
+ },
17
+ "size": {
18
+ "2xs": { "value": "0.5rem", "type": "fontSize", "comment": "8px — live --eg-font-size-25" },
19
+ "xs": { "value": "0.75rem", "type": "fontSize", "comment": "12px — live --eg-font-size-50" },
20
+ "sm": { "value": "0.875rem", "type": "fontSize", "comment": "14px — live --eg-font-size-75" },
21
+ "base": { "value": "1rem", "type": "fontSize", "comment": "16px — live --eg-font-size-100" },
22
+ "lg": { "value": "1.125rem", "type": "fontSize", "comment": "18px — live --eg-font-size-200" },
23
+ "xl": { "value": "1.25rem", "type": "fontSize", "comment": "20px — live --eg-font-size-300" },
24
+ "2xl": { "value": "1.5rem", "type": "fontSize", "comment": "24px — live --eg-font-size-400" },
25
+ "3xl": { "value": "2rem", "type": "fontSize", "comment": "32px — live --eg-font-size-500" },
26
+ "4xl": { "value": "2.5rem", "type": "fontSize", "comment": "40px — live --eg-font-size-600" },
27
+ "5xl": { "value": "3rem", "type": "fontSize", "comment": "48px — live --eg-font-size-700" },
28
+ "responsive": { "value": "8rem", "type": "fontSize", "comment": "Live --eg-font-responsive" }
29
+ },
30
+ "weight": {
31
+ "light": { "value": "300", "type": "fontWeight" },
32
+ "normal": { "value": "400", "type": "fontWeight" },
33
+ "medium": { "value": "500", "type": "fontWeight" },
34
+ "semibold": { "value": "600", "type": "fontWeight" },
35
+ "bold": { "value": "700", "type": "fontWeight" },
36
+ "extrabold": { "value": "800", "type": "fontWeight" }
37
+ },
38
+ "lineHeight": {
39
+ "tight": { "value": "1.25", "type": "lineHeight" },
40
+ "normal": { "value": "1.5", "type": "lineHeight" },
41
+ "relaxed": { "value": "1.75", "type": "lineHeight" },
42
+ "loose": { "value": "2", "type": "lineHeight" }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "button": {
3
+ "primary": {
4
+ "background": { "value": "{color.blue.600}", "type": "color" },
5
+ "backgroundHover": { "value": "{color.blue.700}", "type": "color" },
6
+ "backgroundActive": { "value": "{color.blue.800}", "type": "color" },
7
+ "text": { "value": "{color.neutral.0}", "type": "color" },
8
+ "borderRadius": { "value": "{radius.md}", "type": "borderRadius" },
9
+ "paddingX": { "value": "{spacing.6}", "type": "spacing" },
10
+ "paddingY": { "value": "{spacing.3}", "type": "spacing" },
11
+ "fontSize": { "value": "{font.size.base}", "type": "fontSize" },
12
+ "fontWeight": { "value": "{font.weight.medium}", "type": "fontWeight" }
13
+ },
14
+ "secondary": {
15
+ "background": { "value": "{color.neutral.100}", "type": "color" },
16
+ "backgroundHover": { "value": "{color.neutral.200}", "type": "color" },
17
+ "backgroundActive": { "value": "{color.neutral.300}", "type": "color" },
18
+ "text": { "value": "{color.neutral.900}", "type": "color" },
19
+ "borderRadius": { "value": "{radius.md}", "type": "borderRadius" },
20
+ "paddingX": { "value": "{spacing.6}", "type": "spacing" },
21
+ "paddingY": { "value": "{spacing.3}", "type": "spacing" },
22
+ "fontSize": { "value": "{font.size.base}", "type": "fontSize" },
23
+ "fontWeight": { "value": "{font.weight.medium}", "type": "fontWeight" }
24
+ },
25
+ "danger": {
26
+ "background": { "value": "{color.red.600}", "type": "color" },
27
+ "backgroundHover": { "value": "{color.red.700}", "type": "color" },
28
+ "backgroundActive": { "value": "{color.red.800}", "type": "color" },
29
+ "text": { "value": "{color.neutral.0}", "type": "color" },
30
+ "borderRadius": { "value": "{radius.md}", "type": "borderRadius" },
31
+ "paddingX": { "value": "{spacing.6}", "type": "spacing" },
32
+ "paddingY": { "value": "{spacing.3}", "type": "spacing" },
33
+ "fontSize": { "value": "{font.size.base}", "type": "fontSize" },
34
+ "fontWeight": { "value": "{font.weight.medium}", "type": "fontWeight" }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "theme": {
3
+ "background": {
4
+ "primary": { "value": "{color.neutral.0}", "type": "color" },
5
+ "secondary": { "value": "{color.neutral.50}", "type": "color" },
6
+ "tertiary": { "value": "{color.neutral.100}", "type": "color" }
7
+ },
8
+ "text": {
9
+ "primary": { "value": "{color.neutral.900}", "type": "color" },
10
+ "secondary": { "value": "{color.neutral.700}", "type": "color" },
11
+ "tertiary": { "value": "{color.neutral.500}", "type": "color" },
12
+ "inverse": { "value": "{color.neutral.0}", "type": "color" }
13
+ },
14
+ "border": {
15
+ "default": { "value": "{color.neutral.200}", "type": "color" },
16
+ "strong": { "value": "{color.neutral.400}", "type": "color" },
17
+ "subtle": { "value": "{color.neutral.100}", "type": "color" }
18
+ },
19
+ "status": {
20
+ "success": { "value": "{color.green.600}", "type": "color" },
21
+ "warning": { "value": "{color.yellow.600}", "type": "color" },
22
+ "error": { "value": "{color.red.600}", "type": "color" },
23
+ "info": { "value": "{color.blue.600}", "type": "color" }
24
+ }
25
+ }
26
+ }