@alien6-studio/elea-tokens 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +272 -2
- package/dist/editions.css +1259 -0
- package/dist/elea.css +396 -0
- package/dist/fonts/ELEASans-Italic-Variable.woff2 +0 -0
- package/dist/fonts/ELEASans-Variable.woff2 +0 -0
- package/dist/fonts/elea-sans.css +19 -0
- package/dist/palette.css +236 -0
- package/dist/shadcn.css +22 -0
- package/dist/src/brand.d.ts +206 -0
- package/dist/src/brand.d.ts.map +1 -0
- package/dist/src/brand.js +446 -0
- package/dist/src/brand.js.map +1 -0
- package/dist/src/color-themes.d.ts +9 -0
- package/dist/src/color-themes.d.ts.map +1 -0
- package/dist/src/color-themes.js +30 -0
- package/dist/src/color-themes.js.map +1 -0
- package/dist/src/css.d.ts +58 -0
- package/dist/src/css.d.ts.map +1 -0
- package/dist/src/css.js +198 -0
- package/dist/src/css.js.map +1 -0
- package/dist/src/dtcg.d.ts +24 -0
- package/dist/src/dtcg.d.ts.map +1 -0
- package/dist/src/dtcg.js +56 -0
- package/dist/src/dtcg.js.map +1 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +19 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/palette.d.ts +463 -0
- package/dist/src/palette.d.ts.map +1 -0
- package/dist/src/palette.js +215 -0
- package/dist/src/palette.js.map +1 -0
- package/dist/src/status.d.ts +26 -0
- package/dist/src/status.d.ts.map +1 -0
- package/dist/src/status.js +36 -0
- package/dist/src/status.js.map +1 -0
- package/dist/tailwind.d.ts +6 -0
- package/dist/tailwind.js +222 -0
- package/dist/theme.css +142 -0
- package/dist/tokens/elea.dark.tokens.json +114 -0
- package/dist/tokens/elea.tokens.json +190 -0
- package/package.json +77 -4
- package/tokens/elea.dark.tokens.json +114 -0
- package/tokens/elea.tokens.json +190 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"color": {
|
|
4
|
+
"action": {
|
|
5
|
+
"primary-ink": { "$type": "color", "$value": "{color.primary.300}" },
|
|
6
|
+
"primary-container": { "$type": "color", "$value": "{color.primary.800}" },
|
|
7
|
+
"primary-on-container": { "$type": "color", "$value": "{color.primary.50}" },
|
|
8
|
+
"secondary-ink": { "$type": "color", "$value": "{color.secondary.300}" },
|
|
9
|
+
"secondary-container": { "$type": "color", "$value": "{color.secondary.800}" },
|
|
10
|
+
"secondary-on-container": { "$type": "color", "$value": "{color.secondary.50}" },
|
|
11
|
+
"tertiary-ink": { "$type": "color", "$value": "#bc89ef" },
|
|
12
|
+
"tertiary-container": { "$type": "color", "$value": "#532f74" },
|
|
13
|
+
"tertiary-on-container": { "$type": "color", "$value": "#f9f4ff" },
|
|
14
|
+
"danger": { "$type": "color", "$value": "{color.danger}" },
|
|
15
|
+
"danger-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
16
|
+
"danger-ink": { "$type": "color", "$value": "{color.danger}" },
|
|
17
|
+
"danger-on-container": { "$type": "color", "$value": "{color.danger}" },
|
|
18
|
+
"danger-hover": { "$type": "color", "$value": "#ffa59e" },
|
|
19
|
+
"danger-pressed": { "$type": "color", "$value": "#ffafa9" },
|
|
20
|
+
"danger-container": { "$type": "color", "$value": "#231c23" },
|
|
21
|
+
"warning": { "$type": "color", "$value": "{color.warning}" },
|
|
22
|
+
"warning-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
23
|
+
"warning-ink": { "$type": "color", "$value": "{color.warning}" },
|
|
24
|
+
"warning-on-container": { "$type": "color", "$value": "{color.warning}" },
|
|
25
|
+
"warning-hover": { "$type": "color", "$value": "#f2c87f" },
|
|
26
|
+
"warning-pressed": { "$type": "color", "$value": "#f4ce8d" },
|
|
27
|
+
"warning-container": { "$type": "color", "$value": "#212020" },
|
|
28
|
+
"info": { "$type": "color", "$value": "{color.info}" },
|
|
29
|
+
"info-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
30
|
+
"info-ink": { "$type": "color", "$value": "{color.info}" },
|
|
31
|
+
"info-on-container": { "$type": "color", "$value": "{color.info}" },
|
|
32
|
+
"info-hover": { "$type": "color", "$value": "#99b1ea" },
|
|
33
|
+
"info-pressed": { "$type": "color", "$value": "#a5b9ed" },
|
|
34
|
+
"info-container": { "$type": "color", "$value": "#171d2c" },
|
|
35
|
+
"success": { "$type": "color", "$value": "{color.success}" },
|
|
36
|
+
"success-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
37
|
+
"success-ink": { "$type": "color", "$value": "{color.success}" },
|
|
38
|
+
"success-on-container": { "$type": "color", "$value": "{color.success}" },
|
|
39
|
+
"success-hover": { "$type": "color", "$value": "#86d6ab" },
|
|
40
|
+
"success-pressed": { "$type": "color", "$value": "#94dab5" },
|
|
41
|
+
"success-container": { "$type": "color", "$value": "#152225" }
|
|
42
|
+
},
|
|
43
|
+
"success": { "$type": "color", "$value": "#79d1a2" },
|
|
44
|
+
"warning": { "$type": "color", "$value": "#f1c271" },
|
|
45
|
+
"danger": { "$type": "color", "$value": "#ff9b93" },
|
|
46
|
+
"info": { "$type": "color", "$value": "{color.primary.300}" },
|
|
47
|
+
"text": {
|
|
48
|
+
"default": {
|
|
49
|
+
"$type": "color",
|
|
50
|
+
"$value": "{color.neutral.100}"
|
|
51
|
+
},
|
|
52
|
+
"muted": {
|
|
53
|
+
"$type": "color",
|
|
54
|
+
"$value": "{color.neutral.300}"
|
|
55
|
+
},
|
|
56
|
+
"subtle": {
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$value": "{color.neutral.400}"
|
|
59
|
+
},
|
|
60
|
+
"inverse": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "{color.neutral.950}"
|
|
63
|
+
},
|
|
64
|
+
"accent": {
|
|
65
|
+
"$type": "color",
|
|
66
|
+
"$value": "{color.secondary.300}"
|
|
67
|
+
},
|
|
68
|
+
"link": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "{color.primary.300}"
|
|
71
|
+
},
|
|
72
|
+
"link-hover": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": "{color.primary.200}"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"surface": {
|
|
78
|
+
"default": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{color.neutral.950}"
|
|
81
|
+
},
|
|
82
|
+
"subtle": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "{color.neutral.900}"
|
|
85
|
+
},
|
|
86
|
+
"muted": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "{color.neutral.800}"
|
|
89
|
+
},
|
|
90
|
+
"inverse": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{color.neutral.100}"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"border": {
|
|
96
|
+
"default": {
|
|
97
|
+
"$type": "color",
|
|
98
|
+
"$value": "{color.neutral.800}"
|
|
99
|
+
},
|
|
100
|
+
"strong": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": "{color.neutral.700}"
|
|
103
|
+
},
|
|
104
|
+
"accent": {
|
|
105
|
+
"$type": "color",
|
|
106
|
+
"$value": "{color.secondary.400}"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"focus": {
|
|
110
|
+
"$type": "color",
|
|
111
|
+
"$value": "{color.primary.400}"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://tr.designtokens.org/format/",
|
|
3
|
+
"color": {
|
|
4
|
+
"neutral": {
|
|
5
|
+
"$description": "Cool neutral greys",
|
|
6
|
+
"50": { "$type": "color", "$value": "#f7f9fc" },
|
|
7
|
+
"100": { "$type": "color", "$value": "#eef2f7" },
|
|
8
|
+
"200": { "$type": "color", "$value": "#dde3ec" },
|
|
9
|
+
"300": { "$type": "color", "$value": "#c5cedb" },
|
|
10
|
+
"400": { "$type": "color", "$value": "#94a0b3" },
|
|
11
|
+
"500": { "$type": "color", "$value": "#67748a" },
|
|
12
|
+
"600": { "$type": "color", "$value": "#4b576b" },
|
|
13
|
+
"700": { "$type": "color", "$value": "#384255" },
|
|
14
|
+
"800": { "$type": "color", "$value": "#232b3a" },
|
|
15
|
+
"900": { "$type": "color", "$value": "#141a26" },
|
|
16
|
+
"950": { "$type": "color", "$value": "#0a0e17" }
|
|
17
|
+
},
|
|
18
|
+
"primary": {
|
|
19
|
+
"$description": "Base blue ramp",
|
|
20
|
+
"50": { "$type": "color", "$value": "#eef3fc" },
|
|
21
|
+
"100": { "$type": "color", "$value": "#dbe5f9" },
|
|
22
|
+
"200": { "$type": "color", "$value": "#b9caf2" },
|
|
23
|
+
"300": { "$type": "color", "$value": "#8ea8e8" },
|
|
24
|
+
"400": { "$type": "color", "$value": "#6485dc" },
|
|
25
|
+
"500": { "$type": "color", "$value": "#4567cf" },
|
|
26
|
+
"600": { "$type": "color", "$value": "#324fb4" },
|
|
27
|
+
"700": { "$type": "color", "$value": "#283f92" },
|
|
28
|
+
"800": { "$type": "color", "$value": "#223474" },
|
|
29
|
+
"900": { "$type": "color", "$value": "#1d2b5c" },
|
|
30
|
+
"950": { "$type": "color", "$value": "#121b3d" }
|
|
31
|
+
},
|
|
32
|
+
"secondary": {
|
|
33
|
+
"$description": "The sphere: a warm gold, used sparingly",
|
|
34
|
+
"50": { "$type": "color", "$value": "#fdf8ea" },
|
|
35
|
+
"100": { "$type": "color", "$value": "#f9eec8" },
|
|
36
|
+
"200": { "$type": "color", "$value": "#f2dd94" },
|
|
37
|
+
"300": { "$type": "color", "$value": "#e8c75f" },
|
|
38
|
+
"400": { "$type": "color", "$value": "#dcb03a" },
|
|
39
|
+
"500": { "$type": "color", "$value": "#c8962a" },
|
|
40
|
+
"600": { "$type": "color", "$value": "#a47620" },
|
|
41
|
+
"700": { "$type": "color", "$value": "#82591c" },
|
|
42
|
+
"800": { "$type": "color", "$value": "#68471b" },
|
|
43
|
+
"900": { "$type": "color", "$value": "#563b1a" }
|
|
44
|
+
},
|
|
45
|
+
"action": {
|
|
46
|
+
"primary": { "$type": "color", "$value": "{color.primary.500}" },
|
|
47
|
+
"primary-text": { "$type": "color", "$value": "{color.text.on-brand}" },
|
|
48
|
+
"primary-hover": { "$type": "color", "$value": "{color.primary.600}" },
|
|
49
|
+
"primary-pressed": { "$type": "color", "$value": "{color.primary.700}" },
|
|
50
|
+
"primary-ink": { "$type": "color", "$value": "{color.primary.600}" },
|
|
51
|
+
"primary-container": { "$type": "color", "$value": "{color.primary.100}" },
|
|
52
|
+
"primary-on-container": { "$type": "color", "$value": "{color.primary.900}" },
|
|
53
|
+
"secondary": { "$type": "color", "$value": "{color.secondary.500}" },
|
|
54
|
+
"secondary-text": { "$type": "color", "$value": "#000000" },
|
|
55
|
+
"secondary-hover": { "$type": "color", "$value": "{color.secondary.400}" },
|
|
56
|
+
"secondary-pressed": { "$type": "color", "$value": "{color.secondary.300}" },
|
|
57
|
+
"secondary-ink": { "$type": "color", "$value": "{color.secondary.700}" },
|
|
58
|
+
"secondary-container": { "$type": "color", "$value": "{color.secondary.100}" },
|
|
59
|
+
"secondary-on-container": { "$type": "color", "$value": "{color.secondary.900}" },
|
|
60
|
+
"tertiary": { "$type": "color", "$value": "#a569dd" },
|
|
61
|
+
"tertiary-text": { "$type": "color", "$value": "#000000" },
|
|
62
|
+
"tertiary-hover": { "$type": "color", "$value": "#bc89ef" },
|
|
63
|
+
"tertiary-pressed": { "$type": "color", "$value": "#d4adfe" },
|
|
64
|
+
"tertiary-ink": { "$type": "color", "$value": "#864cb9" },
|
|
65
|
+
"tertiary-container": { "$type": "color", "$value": "#f2e8ff" },
|
|
66
|
+
"tertiary-on-container": { "$type": "color", "$value": "#392050" },
|
|
67
|
+
"danger": { "$type": "color", "$value": "{color.danger}" },
|
|
68
|
+
"danger-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
69
|
+
"danger-ink": { "$type": "color", "$value": "{color.danger}" },
|
|
70
|
+
"danger-on-container": { "$type": "color", "$value": "{color.danger}" },
|
|
71
|
+
"danger-hover": { "$type": "color", "$value": "#a12c2c" },
|
|
72
|
+
"danger-pressed": { "$type": "color", "$value": "#8f2727" },
|
|
73
|
+
"danger-container": { "$type": "color", "$value": "#f7eaea" },
|
|
74
|
+
"warning": { "$type": "color", "$value": "{color.warning}" },
|
|
75
|
+
"warning-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
76
|
+
"warning-ink": { "$type": "color", "$value": "{color.warning}" },
|
|
77
|
+
"warning-on-container": { "$type": "color", "$value": "{color.warning}" },
|
|
78
|
+
"warning-hover": { "$type": "color", "$value": "#7c4f17" },
|
|
79
|
+
"warning-pressed": { "$type": "color", "$value": "#6e4615" },
|
|
80
|
+
"warning-container": { "$type": "color", "$value": "#f3eee8" },
|
|
81
|
+
"info": { "$type": "color", "$value": "{color.info}" },
|
|
82
|
+
"info-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
83
|
+
"info-ink": { "$type": "color", "$value": "{color.info}" },
|
|
84
|
+
"info-on-container": { "$type": "color", "$value": "{color.info}" },
|
|
85
|
+
"info-hover": { "$type": "color", "$value": "#2d47a2" },
|
|
86
|
+
"info-pressed": { "$type": "color", "$value": "#283f90" },
|
|
87
|
+
"info-container": { "$type": "color", "$value": "#ebedf8" },
|
|
88
|
+
"success": { "$type": "color", "$value": "{color.success}" },
|
|
89
|
+
"success-text": { "$type": "color", "$value": "{color.text.inverse}" },
|
|
90
|
+
"success-ink": { "$type": "color", "$value": "{color.success}" },
|
|
91
|
+
"success-on-container": { "$type": "color", "$value": "{color.success}" },
|
|
92
|
+
"success-hover": { "$type": "color", "$value": "#20633e" },
|
|
93
|
+
"success-pressed": { "$type": "color", "$value": "#1d5837" },
|
|
94
|
+
"success-container": { "$type": "color", "$value": "#e9f1ec" }
|
|
95
|
+
},
|
|
96
|
+
"success": { "$type": "color", "$value": "#246e45" },
|
|
97
|
+
"warning": { "$type": "color", "$value": "#8a581a" },
|
|
98
|
+
"danger": { "$type": "color", "$value": "#b33131" },
|
|
99
|
+
"info": { "$type": "color", "$value": "{color.primary.600}" },
|
|
100
|
+
"text": {
|
|
101
|
+
"default": { "$type": "color", "$value": "{color.neutral.900}" },
|
|
102
|
+
"muted": { "$type": "color", "$value": "{color.neutral.600}" },
|
|
103
|
+
"subtle": { "$type": "color", "$value": "{color.neutral.500}" },
|
|
104
|
+
"inverse": { "$type": "color", "$value": "#ffffff" },
|
|
105
|
+
"on-brand": { "$type": "color", "$value": "#ffffff" },
|
|
106
|
+
"accent": { "$type": "color", "$value": "{color.secondary.700}" },
|
|
107
|
+
"link": { "$type": "color", "$value": "{color.primary.600}" },
|
|
108
|
+
"link-hover": { "$type": "color", "$value": "{color.primary.800}" }
|
|
109
|
+
},
|
|
110
|
+
"surface": {
|
|
111
|
+
"default": { "$type": "color", "$value": "#ffffff" },
|
|
112
|
+
"subtle": { "$type": "color", "$value": "{color.neutral.50}" },
|
|
113
|
+
"muted": { "$type": "color", "$value": "{color.neutral.100}" },
|
|
114
|
+
"inverse": { "$type": "color", "$value": "{color.neutral.900}" }
|
|
115
|
+
},
|
|
116
|
+
"border": {
|
|
117
|
+
"default": { "$type": "color", "$value": "{color.neutral.200}" },
|
|
118
|
+
"strong": { "$type": "color", "$value": "{color.neutral.300}" },
|
|
119
|
+
"accent": { "$type": "color", "$value": "{color.secondary.500}" }
|
|
120
|
+
},
|
|
121
|
+
"focus": { "$type": "color", "$value": "{color.primary.500}" }
|
|
122
|
+
},
|
|
123
|
+
"font": {
|
|
124
|
+
"family": {
|
|
125
|
+
"sans": { "$type": "fontFamily", "$value": ["ELEA Sans", "system-ui", "-apple-system", "Segoe UI", "Roboto", "sans-serif"] },
|
|
126
|
+
"serif": { "$type": "fontFamily", "$value": ["Iowan Old Style", "Palatino Linotype", "Charter", "Georgia", "serif"] },
|
|
127
|
+
"mono": { "$type": "fontFamily", "$value": ["ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace"] },
|
|
128
|
+
"content": { "$type": "fontFamily", "$value": "{font.family.sans}", "$description": "Reading and writing text of block documents; hosts may point it at the serif family" }
|
|
129
|
+
},
|
|
130
|
+
"size": {
|
|
131
|
+
"xs": { "$type": "dimension", "$value": "0.75rem" },
|
|
132
|
+
"sm": { "$type": "dimension", "$value": "0.875rem" },
|
|
133
|
+
"base": { "$type": "dimension", "$value": "1rem" },
|
|
134
|
+
"lg": { "$type": "dimension", "$value": "1.125rem" },
|
|
135
|
+
"xl": { "$type": "dimension", "$value": "1.25rem" },
|
|
136
|
+
"2xl": { "$type": "dimension", "$value": "1.5rem" },
|
|
137
|
+
"3xl": { "$type": "dimension", "$value": "1.875rem" },
|
|
138
|
+
"4xl": { "$type": "dimension", "$value": "2.25rem" },
|
|
139
|
+
"5xl": { "$type": "dimension", "$value": "3rem" }
|
|
140
|
+
},
|
|
141
|
+
"weight": {
|
|
142
|
+
"regular": { "$type": "fontWeight", "$value": 400 },
|
|
143
|
+
"medium": { "$type": "fontWeight", "$value": 500 },
|
|
144
|
+
"semibold": { "$type": "fontWeight", "$value": 600 },
|
|
145
|
+
"bold": { "$type": "fontWeight", "$value": 700 }
|
|
146
|
+
},
|
|
147
|
+
"leading": {
|
|
148
|
+
"tight": { "$type": "number", "$value": 1.25 },
|
|
149
|
+
"normal": { "$type": "number", "$value": 1.5 },
|
|
150
|
+
"relaxed": { "$type": "number", "$value": 1.625 }
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"space": {
|
|
154
|
+
"1": { "$type": "dimension", "$value": "0.25rem" },
|
|
155
|
+
"2": { "$type": "dimension", "$value": "0.5rem" },
|
|
156
|
+
"3": { "$type": "dimension", "$value": "0.75rem" },
|
|
157
|
+
"4": { "$type": "dimension", "$value": "1rem" },
|
|
158
|
+
"5": { "$type": "dimension", "$value": "1.25rem" },
|
|
159
|
+
"6": { "$type": "dimension", "$value": "1.5rem" },
|
|
160
|
+
"8": { "$type": "dimension", "$value": "2rem" },
|
|
161
|
+
"10": { "$type": "dimension", "$value": "2.5rem" },
|
|
162
|
+
"12": { "$type": "dimension", "$value": "3rem" }
|
|
163
|
+
},
|
|
164
|
+
"radius": {
|
|
165
|
+
"sm": { "$type": "dimension", "$value": "0.25rem" },
|
|
166
|
+
"md": { "$type": "dimension", "$value": "0.375rem" },
|
|
167
|
+
"lg": { "$type": "dimension", "$value": "0.5rem" },
|
|
168
|
+
"xl": { "$type": "dimension", "$value": "0.75rem" },
|
|
169
|
+
"full": { "$type": "dimension", "$value": "9999px" }
|
|
170
|
+
},
|
|
171
|
+
"shadow": {
|
|
172
|
+
"sm": { "$type": "shadow", "$value": "0 1px 2px 0 rgb(0 0 0 / 0.05)" },
|
|
173
|
+
"md": { "$type": "shadow", "$value": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)" }
|
|
174
|
+
},
|
|
175
|
+
"motion": {
|
|
176
|
+
"duration": {
|
|
177
|
+
"fast": { "$type": "duration", "$value": "100ms" },
|
|
178
|
+
"base": { "$type": "duration", "$value": "150ms" },
|
|
179
|
+
"slow": { "$type": "duration", "$value": "250ms" }
|
|
180
|
+
},
|
|
181
|
+
"easing": {
|
|
182
|
+
"standard": { "$type": "cubicBezier", "$value": [0.2, 0, 0, 1] },
|
|
183
|
+
"exit": { "$type": "cubicBezier", "$value": [0.4, 0, 1, 1] },
|
|
184
|
+
"spring": { "$type": "cubicBezier", "$value": [0.34, 1.56, 0.64, 1] }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"size": {
|
|
188
|
+
"measure": { "$type": "dimension", "$value": "48rem" }
|
|
189
|
+
}
|
|
190
|
+
}
|