@alien6-studio/elea-tokens 0.0.0-stage → 0.1.1
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 +275 -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
package/dist/theme.css
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
@theme inline {
|
|
2
|
+
--color-elea-neutral-50: var(--elea-color-neutral-50);
|
|
3
|
+
--color-elea-neutral-100: var(--elea-color-neutral-100);
|
|
4
|
+
--color-elea-neutral-200: var(--elea-color-neutral-200);
|
|
5
|
+
--color-elea-neutral-300: var(--elea-color-neutral-300);
|
|
6
|
+
--color-elea-neutral-400: var(--elea-color-neutral-400);
|
|
7
|
+
--color-elea-neutral-500: var(--elea-color-neutral-500);
|
|
8
|
+
--color-elea-neutral-600: var(--elea-color-neutral-600);
|
|
9
|
+
--color-elea-neutral-700: var(--elea-color-neutral-700);
|
|
10
|
+
--color-elea-neutral-800: var(--elea-color-neutral-800);
|
|
11
|
+
--color-elea-neutral-900: var(--elea-color-neutral-900);
|
|
12
|
+
--color-elea-neutral-950: var(--elea-color-neutral-950);
|
|
13
|
+
--color-elea-primary-50: var(--elea-color-primary-50);
|
|
14
|
+
--color-elea-primary-100: var(--elea-color-primary-100);
|
|
15
|
+
--color-elea-primary-200: var(--elea-color-primary-200);
|
|
16
|
+
--color-elea-primary-300: var(--elea-color-primary-300);
|
|
17
|
+
--color-elea-primary-400: var(--elea-color-primary-400);
|
|
18
|
+
--color-elea-primary-500: var(--elea-color-primary-500);
|
|
19
|
+
--color-elea-primary-600: var(--elea-color-primary-600);
|
|
20
|
+
--color-elea-primary-700: var(--elea-color-primary-700);
|
|
21
|
+
--color-elea-primary-800: var(--elea-color-primary-800);
|
|
22
|
+
--color-elea-primary-900: var(--elea-color-primary-900);
|
|
23
|
+
--color-elea-primary-950: var(--elea-color-primary-950);
|
|
24
|
+
--color-elea-secondary-50: var(--elea-color-secondary-50);
|
|
25
|
+
--color-elea-secondary-100: var(--elea-color-secondary-100);
|
|
26
|
+
--color-elea-secondary-200: var(--elea-color-secondary-200);
|
|
27
|
+
--color-elea-secondary-300: var(--elea-color-secondary-300);
|
|
28
|
+
--color-elea-secondary-400: var(--elea-color-secondary-400);
|
|
29
|
+
--color-elea-secondary-500: var(--elea-color-secondary-500);
|
|
30
|
+
--color-elea-secondary-600: var(--elea-color-secondary-600);
|
|
31
|
+
--color-elea-secondary-700: var(--elea-color-secondary-700);
|
|
32
|
+
--color-elea-secondary-800: var(--elea-color-secondary-800);
|
|
33
|
+
--color-elea-secondary-900: var(--elea-color-secondary-900);
|
|
34
|
+
--color-elea-action-primary: var(--elea-color-action-primary);
|
|
35
|
+
--color-elea-action-primary-text: var(--elea-color-action-primary-text);
|
|
36
|
+
--color-elea-action-primary-hover: var(--elea-color-action-primary-hover);
|
|
37
|
+
--color-elea-action-primary-pressed: var(--elea-color-action-primary-pressed);
|
|
38
|
+
--color-elea-action-primary-ink: var(--elea-color-action-primary-ink);
|
|
39
|
+
--color-elea-action-primary-container: var(--elea-color-action-primary-container);
|
|
40
|
+
--color-elea-action-primary-on-container: var(--elea-color-action-primary-on-container);
|
|
41
|
+
--color-elea-action-secondary: var(--elea-color-action-secondary);
|
|
42
|
+
--color-elea-action-secondary-text: var(--elea-color-action-secondary-text);
|
|
43
|
+
--color-elea-action-secondary-hover: var(--elea-color-action-secondary-hover);
|
|
44
|
+
--color-elea-action-secondary-pressed: var(--elea-color-action-secondary-pressed);
|
|
45
|
+
--color-elea-action-secondary-ink: var(--elea-color-action-secondary-ink);
|
|
46
|
+
--color-elea-action-secondary-container: var(--elea-color-action-secondary-container);
|
|
47
|
+
--color-elea-action-secondary-on-container: var(--elea-color-action-secondary-on-container);
|
|
48
|
+
--color-elea-action-tertiary: var(--elea-color-action-tertiary);
|
|
49
|
+
--color-elea-action-tertiary-text: var(--elea-color-action-tertiary-text);
|
|
50
|
+
--color-elea-action-tertiary-hover: var(--elea-color-action-tertiary-hover);
|
|
51
|
+
--color-elea-action-tertiary-pressed: var(--elea-color-action-tertiary-pressed);
|
|
52
|
+
--color-elea-action-tertiary-ink: var(--elea-color-action-tertiary-ink);
|
|
53
|
+
--color-elea-action-tertiary-container: var(--elea-color-action-tertiary-container);
|
|
54
|
+
--color-elea-action-tertiary-on-container: var(--elea-color-action-tertiary-on-container);
|
|
55
|
+
--color-elea-action-danger: var(--elea-color-action-danger, var(--elea-color-danger));
|
|
56
|
+
--color-elea-action-danger-text: var(--elea-color-action-danger-text, var(--elea-color-text-inverse));
|
|
57
|
+
--color-elea-action-danger-ink: var(--elea-color-action-danger-ink, var(--elea-color-danger));
|
|
58
|
+
--color-elea-action-danger-on-container: var(--elea-color-action-danger-on-container, var(--elea-color-danger));
|
|
59
|
+
--color-elea-action-danger-hover: var(--elea-color-action-danger-hover, color-mix(in srgb, var(--elea-color-danger) 90%, var(--elea-_status-edge)));
|
|
60
|
+
--color-elea-action-danger-pressed: var(--elea-color-action-danger-pressed, color-mix(in srgb, var(--elea-color-danger) 80%, var(--elea-_status-edge)));
|
|
61
|
+
--color-elea-action-danger-container: var(--elea-color-action-danger-container, color-mix(in srgb, var(--elea-color-danger) 10%, var(--elea-color-surface-default)));
|
|
62
|
+
--color-elea-action-warning: var(--elea-color-action-warning, var(--elea-color-warning));
|
|
63
|
+
--color-elea-action-warning-text: var(--elea-color-action-warning-text, var(--elea-color-text-inverse));
|
|
64
|
+
--color-elea-action-warning-ink: var(--elea-color-action-warning-ink, var(--elea-color-warning));
|
|
65
|
+
--color-elea-action-warning-on-container: var(--elea-color-action-warning-on-container, var(--elea-color-warning));
|
|
66
|
+
--color-elea-action-warning-hover: var(--elea-color-action-warning-hover, color-mix(in srgb, var(--elea-color-warning) 90%, var(--elea-_status-edge)));
|
|
67
|
+
--color-elea-action-warning-pressed: var(--elea-color-action-warning-pressed, color-mix(in srgb, var(--elea-color-warning) 80%, var(--elea-_status-edge)));
|
|
68
|
+
--color-elea-action-warning-container: var(--elea-color-action-warning-container, color-mix(in srgb, var(--elea-color-warning) 10%, var(--elea-color-surface-default)));
|
|
69
|
+
--color-elea-action-info: var(--elea-color-action-info, var(--elea-color-info));
|
|
70
|
+
--color-elea-action-info-text: var(--elea-color-action-info-text, var(--elea-color-text-inverse));
|
|
71
|
+
--color-elea-action-info-ink: var(--elea-color-action-info-ink, var(--elea-color-info));
|
|
72
|
+
--color-elea-action-info-on-container: var(--elea-color-action-info-on-container, var(--elea-color-info));
|
|
73
|
+
--color-elea-action-info-hover: var(--elea-color-action-info-hover, color-mix(in srgb, var(--elea-color-info) 90%, var(--elea-_status-edge)));
|
|
74
|
+
--color-elea-action-info-pressed: var(--elea-color-action-info-pressed, color-mix(in srgb, var(--elea-color-info) 80%, var(--elea-_status-edge)));
|
|
75
|
+
--color-elea-action-info-container: var(--elea-color-action-info-container, color-mix(in srgb, var(--elea-color-info) 10%, var(--elea-color-surface-default)));
|
|
76
|
+
--color-elea-action-success: var(--elea-color-action-success, var(--elea-color-success));
|
|
77
|
+
--color-elea-action-success-text: var(--elea-color-action-success-text, var(--elea-color-text-inverse));
|
|
78
|
+
--color-elea-action-success-ink: var(--elea-color-action-success-ink, var(--elea-color-success));
|
|
79
|
+
--color-elea-action-success-on-container: var(--elea-color-action-success-on-container, var(--elea-color-success));
|
|
80
|
+
--color-elea-action-success-hover: var(--elea-color-action-success-hover, color-mix(in srgb, var(--elea-color-success) 90%, var(--elea-_status-edge)));
|
|
81
|
+
--color-elea-action-success-pressed: var(--elea-color-action-success-pressed, color-mix(in srgb, var(--elea-color-success) 80%, var(--elea-_status-edge)));
|
|
82
|
+
--color-elea-action-success-container: var(--elea-color-action-success-container, color-mix(in srgb, var(--elea-color-success) 10%, var(--elea-color-surface-default)));
|
|
83
|
+
--color-elea-success: var(--elea-color-success);
|
|
84
|
+
--color-elea-warning: var(--elea-color-warning);
|
|
85
|
+
--color-elea-danger: var(--elea-color-danger);
|
|
86
|
+
--color-elea-info: var(--elea-color-info);
|
|
87
|
+
--color-elea-text-default: var(--elea-color-text-default);
|
|
88
|
+
--color-elea-text-muted: var(--elea-color-text-muted);
|
|
89
|
+
--color-elea-text-subtle: var(--elea-color-text-subtle);
|
|
90
|
+
--color-elea-text-inverse: var(--elea-color-text-inverse);
|
|
91
|
+
--color-elea-text-on-brand: var(--elea-color-text-on-brand);
|
|
92
|
+
--color-elea-text-accent: var(--elea-color-text-accent);
|
|
93
|
+
--color-elea-text-link: var(--elea-color-text-link);
|
|
94
|
+
--color-elea-text-link-hover: var(--elea-color-text-link-hover);
|
|
95
|
+
--color-elea-surface-default: var(--elea-color-surface-default);
|
|
96
|
+
--color-elea-surface-subtle: var(--elea-color-surface-subtle);
|
|
97
|
+
--color-elea-surface-muted: var(--elea-color-surface-muted);
|
|
98
|
+
--color-elea-surface-inverse: var(--elea-color-surface-inverse);
|
|
99
|
+
--color-elea-border-default: var(--elea-color-border-default);
|
|
100
|
+
--color-elea-border-strong: var(--elea-color-border-strong);
|
|
101
|
+
--color-elea-border-accent: var(--elea-color-border-accent);
|
|
102
|
+
--color-elea-focus: var(--elea-color-focus);
|
|
103
|
+
--font-elea-sans: var(--elea-font-family-sans);
|
|
104
|
+
--font-elea-serif: var(--elea-font-family-serif);
|
|
105
|
+
--font-elea-mono: var(--elea-font-family-mono);
|
|
106
|
+
--font-elea-content: var(--elea-font-family-content);
|
|
107
|
+
--text-elea-xs: var(--elea-font-size-xs);
|
|
108
|
+
--text-elea-sm: var(--elea-font-size-sm);
|
|
109
|
+
--text-elea-base: var(--elea-font-size-base);
|
|
110
|
+
--text-elea-lg: var(--elea-font-size-lg);
|
|
111
|
+
--text-elea-xl: var(--elea-font-size-xl);
|
|
112
|
+
--text-elea-2xl: var(--elea-font-size-2xl);
|
|
113
|
+
--text-elea-3xl: var(--elea-font-size-3xl);
|
|
114
|
+
--text-elea-4xl: var(--elea-font-size-4xl);
|
|
115
|
+
--text-elea-5xl: var(--elea-font-size-5xl);
|
|
116
|
+
--font-weight-elea-regular: var(--elea-font-weight-regular);
|
|
117
|
+
--font-weight-elea-medium: var(--elea-font-weight-medium);
|
|
118
|
+
--font-weight-elea-semibold: var(--elea-font-weight-semibold);
|
|
119
|
+
--font-weight-elea-bold: var(--elea-font-weight-bold);
|
|
120
|
+
--leading-elea-tight: var(--elea-font-leading-tight);
|
|
121
|
+
--leading-elea-normal: var(--elea-font-leading-normal);
|
|
122
|
+
--leading-elea-relaxed: var(--elea-font-leading-relaxed);
|
|
123
|
+
--spacing-elea-1: var(--elea-space-1);
|
|
124
|
+
--spacing-elea-2: var(--elea-space-2);
|
|
125
|
+
--spacing-elea-3: var(--elea-space-3);
|
|
126
|
+
--spacing-elea-4: var(--elea-space-4);
|
|
127
|
+
--spacing-elea-5: var(--elea-space-5);
|
|
128
|
+
--spacing-elea-6: var(--elea-space-6);
|
|
129
|
+
--spacing-elea-8: var(--elea-space-8);
|
|
130
|
+
--spacing-elea-10: var(--elea-space-10);
|
|
131
|
+
--spacing-elea-12: var(--elea-space-12);
|
|
132
|
+
--radius-elea-sm: var(--elea-radius-sm);
|
|
133
|
+
--radius-elea-md: var(--elea-radius-md);
|
|
134
|
+
--radius-elea-lg: var(--elea-radius-lg);
|
|
135
|
+
--radius-elea-xl: var(--elea-radius-xl);
|
|
136
|
+
--radius-elea-full: var(--elea-radius-full);
|
|
137
|
+
--shadow-elea-sm: var(--elea-shadow-sm);
|
|
138
|
+
--shadow-elea-md: var(--elea-shadow-md);
|
|
139
|
+
--ease-elea-standard: var(--elea-motion-easing-standard);
|
|
140
|
+
--ease-elea-exit: var(--elea-motion-easing-exit);
|
|
141
|
+
--ease-elea-spring: var(--elea-motion-easing-spring);
|
|
142
|
+
}
|
|
@@ -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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alien6-studio/elea-tokens",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Elea design tokens: DTCG source, CSS custom properties, Tailwind v3 preset and v4 theme, shadcn/ui aliases and TypeScript constants",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.css"
|
|
8
|
+
],
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=22"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/Alien6-Studio/elea.git",
|
|
15
|
+
"directory": "packages/tokens"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"tokens",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/src/index.d.ts",
|
|
26
|
+
"import": "./dist/src/index.js",
|
|
27
|
+
"default": "./dist/src/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./brand": {
|
|
30
|
+
"types": "./dist/src/brand.d.ts",
|
|
31
|
+
"import": "./dist/src/brand.js",
|
|
32
|
+
"default": "./dist/src/brand.js"
|
|
33
|
+
},
|
|
34
|
+
"./palette": {
|
|
35
|
+
"types": "./dist/src/palette.d.ts",
|
|
36
|
+
"import": "./dist/src/palette.js",
|
|
37
|
+
"default": "./dist/src/palette.js"
|
|
38
|
+
},
|
|
39
|
+
"./palette.css": "./dist/palette.css",
|
|
40
|
+
"./elea.css": "./dist/elea.css",
|
|
41
|
+
"./fonts/elea-sans.css": "./dist/fonts/elea-sans.css",
|
|
42
|
+
"./fonts/ELEASans-Variable.woff2": "./dist/fonts/ELEASans-Variable.woff2",
|
|
43
|
+
"./fonts/ELEASans-Italic-Variable.woff2": "./dist/fonts/ELEASans-Italic-Variable.woff2",
|
|
44
|
+
"./editions.css": "./dist/editions.css",
|
|
45
|
+
"./theme.css": "./dist/theme.css",
|
|
46
|
+
"./tailwind": {
|
|
47
|
+
"types": "./dist/tailwind.d.ts",
|
|
48
|
+
"import": "./dist/tailwind.js",
|
|
49
|
+
"default": "./dist/tailwind.js"
|
|
50
|
+
},
|
|
51
|
+
"./shadcn.css": "./dist/shadcn.css",
|
|
52
|
+
"./tokens/elea.tokens.json": "./tokens/elea.tokens.json",
|
|
53
|
+
"./tokens/elea.dark.tokens.json": "./tokens/elea.dark.tokens.json",
|
|
54
|
+
"./package.json": "./package.json"
|
|
55
|
+
},
|
|
56
|
+
"types": "./dist/src/index.d.ts",
|
|
57
|
+
"main": "./dist/src/index.js",
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsc -p tsconfig.build.json && node --import tsx scripts/build-css.ts",
|
|
60
|
+
"lint": "tsc -p tsconfig.json --noEmit"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {},
|
|
63
|
+
"peerDependencies": {},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
},
|
|
67
|
+
"license": "Apache-2.0",
|
|
68
|
+
"homepage": "https://github.com/Alien6-Studio/elea/tree/main/packages/tokens",
|
|
69
|
+
"bugs": {
|
|
70
|
+
"url": "https://github.com/Alien6-Studio/elea/issues"
|
|
71
|
+
},
|
|
72
|
+
"keywords": [
|
|
73
|
+
"elea",
|
|
74
|
+
"design-system",
|
|
75
|
+
"design-tokens",
|
|
76
|
+
"css",
|
|
77
|
+
"tailwind"
|
|
78
|
+
]
|
|
79
|
+
}
|