@calimero-network/mero-tokens 0.0.2 → 0.0.4
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/dist/index.d.mts +69 -17
- package/dist/index.d.ts +69 -17
- package/dist/index.js +63 -13
- package/dist/index.mjs +63 -13
- package/package.json +1 -1
- package/src/index.ts +24 -18
- package/tokens.json +58 -14
package/dist/index.d.mts
CHANGED
|
@@ -18,55 +18,73 @@ var color = {
|
|
|
18
18
|
},
|
|
19
19
|
"700": {
|
|
20
20
|
value: "#282828",
|
|
21
|
-
comment: "
|
|
21
|
+
comment: "Slightly lighter dark gray"
|
|
22
22
|
},
|
|
23
23
|
"800": {
|
|
24
24
|
value: "#222222",
|
|
25
|
-
comment: "
|
|
25
|
+
comment: "Dark gray"
|
|
26
26
|
},
|
|
27
27
|
"900": {
|
|
28
28
|
value: "#131215",
|
|
29
|
-
comment: "
|
|
29
|
+
comment: "Very dark gray, almost black"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
brand: {
|
|
33
33
|
"100": {
|
|
34
34
|
value: "#ECFC91",
|
|
35
|
-
comment: "
|
|
35
|
+
comment: "Very pale, almost white, yellow-green"
|
|
36
36
|
},
|
|
37
37
|
"600": {
|
|
38
38
|
value: "#A5FF11",
|
|
39
|
-
comment: "
|
|
39
|
+
comment: "Bright, vibrant lime green"
|
|
40
40
|
},
|
|
41
41
|
"700": {
|
|
42
42
|
value: "#73B30C",
|
|
43
|
-
comment: "
|
|
43
|
+
comment: "Medium lime green"
|
|
44
44
|
},
|
|
45
45
|
"800": {
|
|
46
46
|
value: "#8AA200",
|
|
47
|
-
comment: "
|
|
47
|
+
comment: "Darker lime green"
|
|
48
48
|
},
|
|
49
49
|
"900": {
|
|
50
50
|
value: "#2D381B",
|
|
51
|
-
comment: "
|
|
51
|
+
comment: "Very dark olive green"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
transparent: {
|
|
55
|
+
brand: {
|
|
56
|
+
value: "rgba(72, 72, 72, 0.05)",
|
|
57
|
+
comment: "Brand transparent - 5% opacity"
|
|
58
|
+
},
|
|
59
|
+
"black-50": {
|
|
60
|
+
value: "rgba(0, 0, 0, 0.5)",
|
|
61
|
+
comment: "Transparent black - 50% opacity"
|
|
62
|
+
},
|
|
63
|
+
"green-20": {
|
|
64
|
+
value: "rgba(112, 237, 206, 0.2)",
|
|
65
|
+
comment: "Transparent green - 20% opacity"
|
|
66
|
+
},
|
|
67
|
+
"green-10": {
|
|
68
|
+
value: "rgba(109, 234, 173, 0.1)",
|
|
69
|
+
comment: "Transparent green - 10% opacity"
|
|
52
70
|
}
|
|
53
71
|
},
|
|
54
72
|
background: {
|
|
55
73
|
primary: {
|
|
56
|
-
value: "#
|
|
57
|
-
comment: "Primary background -
|
|
74
|
+
value: "#0F1419",
|
|
75
|
+
comment: "Primary background - dark teal"
|
|
58
76
|
},
|
|
59
77
|
secondary: {
|
|
60
|
-
value: "#
|
|
61
|
-
comment: "Secondary background -
|
|
78
|
+
value: "#131215",
|
|
79
|
+
comment: "Secondary background - charcoal"
|
|
62
80
|
},
|
|
63
81
|
tertiary: {
|
|
64
|
-
value: "#
|
|
65
|
-
comment: "Tertiary background -
|
|
82
|
+
value: "#0A0E13",
|
|
83
|
+
comment: "Tertiary background - deep dark"
|
|
66
84
|
},
|
|
67
85
|
brand: {
|
|
68
|
-
value: "#
|
|
69
|
-
comment: "Brand background
|
|
86
|
+
value: "linear-gradient(135deg, #0F1419 0%, #131215 50%, #0A0E13 100%)",
|
|
87
|
+
comment: "Brand gradient background"
|
|
70
88
|
}
|
|
71
89
|
},
|
|
72
90
|
semantic: {
|
|
@@ -115,8 +133,16 @@ var space = {
|
|
|
115
133
|
};
|
|
116
134
|
var font = {
|
|
117
135
|
body: {
|
|
118
|
-
value: "Power Grotesk, system-ui, sans-serif",
|
|
136
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
119
137
|
comment: "Main typeface for Calimero brand cohesion"
|
|
138
|
+
},
|
|
139
|
+
heading: {
|
|
140
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
141
|
+
comment: "Heading typeface"
|
|
142
|
+
},
|
|
143
|
+
secondary: {
|
|
144
|
+
value: "Inter, system-ui, sans-serif",
|
|
145
|
+
comment: "Secondary typeface for tools and diagrams"
|
|
120
146
|
}
|
|
121
147
|
};
|
|
122
148
|
var tokens = {
|
|
@@ -179,6 +205,24 @@ declare const colors: {
|
|
|
179
205
|
comment: string;
|
|
180
206
|
};
|
|
181
207
|
};
|
|
208
|
+
transparent: {
|
|
209
|
+
brand: {
|
|
210
|
+
value: string;
|
|
211
|
+
comment: string;
|
|
212
|
+
};
|
|
213
|
+
"black-50": {
|
|
214
|
+
value: string;
|
|
215
|
+
comment: string;
|
|
216
|
+
};
|
|
217
|
+
"green-20": {
|
|
218
|
+
value: string;
|
|
219
|
+
comment: string;
|
|
220
|
+
};
|
|
221
|
+
"green-10": {
|
|
222
|
+
value: string;
|
|
223
|
+
comment: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
182
226
|
background: {
|
|
183
227
|
primary: {
|
|
184
228
|
value: string;
|
|
@@ -246,6 +290,14 @@ declare const fonts: {
|
|
|
246
290
|
value: string;
|
|
247
291
|
comment: string;
|
|
248
292
|
};
|
|
293
|
+
heading: {
|
|
294
|
+
value: string;
|
|
295
|
+
comment: string;
|
|
296
|
+
};
|
|
297
|
+
secondary: {
|
|
298
|
+
value: string;
|
|
299
|
+
comment: string;
|
|
300
|
+
};
|
|
249
301
|
};
|
|
250
302
|
declare const cssVariables: string;
|
|
251
303
|
|
package/dist/index.d.ts
CHANGED
|
@@ -18,55 +18,73 @@ var color = {
|
|
|
18
18
|
},
|
|
19
19
|
"700": {
|
|
20
20
|
value: "#282828",
|
|
21
|
-
comment: "
|
|
21
|
+
comment: "Slightly lighter dark gray"
|
|
22
22
|
},
|
|
23
23
|
"800": {
|
|
24
24
|
value: "#222222",
|
|
25
|
-
comment: "
|
|
25
|
+
comment: "Dark gray"
|
|
26
26
|
},
|
|
27
27
|
"900": {
|
|
28
28
|
value: "#131215",
|
|
29
|
-
comment: "
|
|
29
|
+
comment: "Very dark gray, almost black"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
brand: {
|
|
33
33
|
"100": {
|
|
34
34
|
value: "#ECFC91",
|
|
35
|
-
comment: "
|
|
35
|
+
comment: "Very pale, almost white, yellow-green"
|
|
36
36
|
},
|
|
37
37
|
"600": {
|
|
38
38
|
value: "#A5FF11",
|
|
39
|
-
comment: "
|
|
39
|
+
comment: "Bright, vibrant lime green"
|
|
40
40
|
},
|
|
41
41
|
"700": {
|
|
42
42
|
value: "#73B30C",
|
|
43
|
-
comment: "
|
|
43
|
+
comment: "Medium lime green"
|
|
44
44
|
},
|
|
45
45
|
"800": {
|
|
46
46
|
value: "#8AA200",
|
|
47
|
-
comment: "
|
|
47
|
+
comment: "Darker lime green"
|
|
48
48
|
},
|
|
49
49
|
"900": {
|
|
50
50
|
value: "#2D381B",
|
|
51
|
-
comment: "
|
|
51
|
+
comment: "Very dark olive green"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
transparent: {
|
|
55
|
+
brand: {
|
|
56
|
+
value: "rgba(72, 72, 72, 0.05)",
|
|
57
|
+
comment: "Brand transparent - 5% opacity"
|
|
58
|
+
},
|
|
59
|
+
"black-50": {
|
|
60
|
+
value: "rgba(0, 0, 0, 0.5)",
|
|
61
|
+
comment: "Transparent black - 50% opacity"
|
|
62
|
+
},
|
|
63
|
+
"green-20": {
|
|
64
|
+
value: "rgba(112, 237, 206, 0.2)",
|
|
65
|
+
comment: "Transparent green - 20% opacity"
|
|
66
|
+
},
|
|
67
|
+
"green-10": {
|
|
68
|
+
value: "rgba(109, 234, 173, 0.1)",
|
|
69
|
+
comment: "Transparent green - 10% opacity"
|
|
52
70
|
}
|
|
53
71
|
},
|
|
54
72
|
background: {
|
|
55
73
|
primary: {
|
|
56
|
-
value: "#
|
|
57
|
-
comment: "Primary background -
|
|
74
|
+
value: "#0F1419",
|
|
75
|
+
comment: "Primary background - dark teal"
|
|
58
76
|
},
|
|
59
77
|
secondary: {
|
|
60
|
-
value: "#
|
|
61
|
-
comment: "Secondary background -
|
|
78
|
+
value: "#131215",
|
|
79
|
+
comment: "Secondary background - charcoal"
|
|
62
80
|
},
|
|
63
81
|
tertiary: {
|
|
64
|
-
value: "#
|
|
65
|
-
comment: "Tertiary background -
|
|
82
|
+
value: "#0A0E13",
|
|
83
|
+
comment: "Tertiary background - deep dark"
|
|
66
84
|
},
|
|
67
85
|
brand: {
|
|
68
|
-
value: "#
|
|
69
|
-
comment: "Brand background
|
|
86
|
+
value: "linear-gradient(135deg, #0F1419 0%, #131215 50%, #0A0E13 100%)",
|
|
87
|
+
comment: "Brand gradient background"
|
|
70
88
|
}
|
|
71
89
|
},
|
|
72
90
|
semantic: {
|
|
@@ -115,8 +133,16 @@ var space = {
|
|
|
115
133
|
};
|
|
116
134
|
var font = {
|
|
117
135
|
body: {
|
|
118
|
-
value: "Power Grotesk, system-ui, sans-serif",
|
|
136
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
119
137
|
comment: "Main typeface for Calimero brand cohesion"
|
|
138
|
+
},
|
|
139
|
+
heading: {
|
|
140
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
141
|
+
comment: "Heading typeface"
|
|
142
|
+
},
|
|
143
|
+
secondary: {
|
|
144
|
+
value: "Inter, system-ui, sans-serif",
|
|
145
|
+
comment: "Secondary typeface for tools and diagrams"
|
|
120
146
|
}
|
|
121
147
|
};
|
|
122
148
|
var tokens = {
|
|
@@ -179,6 +205,24 @@ declare const colors: {
|
|
|
179
205
|
comment: string;
|
|
180
206
|
};
|
|
181
207
|
};
|
|
208
|
+
transparent: {
|
|
209
|
+
brand: {
|
|
210
|
+
value: string;
|
|
211
|
+
comment: string;
|
|
212
|
+
};
|
|
213
|
+
"black-50": {
|
|
214
|
+
value: string;
|
|
215
|
+
comment: string;
|
|
216
|
+
};
|
|
217
|
+
"green-20": {
|
|
218
|
+
value: string;
|
|
219
|
+
comment: string;
|
|
220
|
+
};
|
|
221
|
+
"green-10": {
|
|
222
|
+
value: string;
|
|
223
|
+
comment: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
182
226
|
background: {
|
|
183
227
|
primary: {
|
|
184
228
|
value: string;
|
|
@@ -246,6 +290,14 @@ declare const fonts: {
|
|
|
246
290
|
value: string;
|
|
247
291
|
comment: string;
|
|
248
292
|
};
|
|
293
|
+
heading: {
|
|
294
|
+
value: string;
|
|
295
|
+
comment: string;
|
|
296
|
+
};
|
|
297
|
+
secondary: {
|
|
298
|
+
value: string;
|
|
299
|
+
comment: string;
|
|
300
|
+
};
|
|
249
301
|
};
|
|
250
302
|
declare const cssVariables: string;
|
|
251
303
|
|
package/dist/index.js
CHANGED
|
@@ -33,26 +33,59 @@ module.exports = __toCommonJS(index_exports);
|
|
|
33
33
|
var tokens_default = {
|
|
34
34
|
color: {
|
|
35
35
|
neutral: {
|
|
36
|
-
"900": { value: "#131215", comment: "
|
|
37
|
-
"800": { value: "#222222", comment: "
|
|
38
|
-
"700": { value: "#282828", comment: "
|
|
36
|
+
"900": { value: "#131215", comment: "Very dark gray, almost black" },
|
|
37
|
+
"800": { value: "#222222", comment: "Dark gray" },
|
|
38
|
+
"700": { value: "#282828", comment: "Slightly lighter dark gray" },
|
|
39
39
|
"600": { value: "#404040", comment: "Medium dark gray" },
|
|
40
40
|
"400": { value: "#8E8E8E", comment: "Medium gray" },
|
|
41
41
|
"300": { value: "#A0A0A0", comment: "Light gray" },
|
|
42
42
|
"200": { value: "#C8C8C8", comment: "Very light gray" }
|
|
43
43
|
},
|
|
44
44
|
brand: {
|
|
45
|
-
"900": { value: "#2D381B", comment: "
|
|
46
|
-
"800": { value: "#8AA200", comment: "
|
|
47
|
-
"700": { value: "#73B30C", comment: "
|
|
48
|
-
"600": { value: "#A5FF11", comment: "
|
|
49
|
-
"100": {
|
|
45
|
+
"900": { value: "#2D381B", comment: "Very dark olive green" },
|
|
46
|
+
"800": { value: "#8AA200", comment: "Darker lime green" },
|
|
47
|
+
"700": { value: "#73B30C", comment: "Medium lime green" },
|
|
48
|
+
"600": { value: "#A5FF11", comment: "Bright, vibrant lime green" },
|
|
49
|
+
"100": {
|
|
50
|
+
value: "#ECFC91",
|
|
51
|
+
comment: "Very pale, almost white, yellow-green"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
transparent: {
|
|
55
|
+
brand: {
|
|
56
|
+
value: "rgba(72, 72, 72, 0.05)",
|
|
57
|
+
comment: "Brand transparent - 5% opacity"
|
|
58
|
+
},
|
|
59
|
+
"black-50": {
|
|
60
|
+
value: "rgba(0, 0, 0, 0.5)",
|
|
61
|
+
comment: "Transparent black - 50% opacity"
|
|
62
|
+
},
|
|
63
|
+
"green-20": {
|
|
64
|
+
value: "rgba(112, 237, 206, 0.2)",
|
|
65
|
+
comment: "Transparent green - 20% opacity"
|
|
66
|
+
},
|
|
67
|
+
"green-10": {
|
|
68
|
+
value: "rgba(109, 234, 173, 0.1)",
|
|
69
|
+
comment: "Transparent green - 10% opacity"
|
|
70
|
+
}
|
|
50
71
|
},
|
|
51
72
|
background: {
|
|
52
|
-
primary: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
73
|
+
primary: {
|
|
74
|
+
value: "#0F1419",
|
|
75
|
+
comment: "Primary background - dark teal"
|
|
76
|
+
},
|
|
77
|
+
secondary: {
|
|
78
|
+
value: "#131215",
|
|
79
|
+
comment: "Secondary background - charcoal"
|
|
80
|
+
},
|
|
81
|
+
tertiary: {
|
|
82
|
+
value: "#0A0E13",
|
|
83
|
+
comment: "Tertiary background - deep dark"
|
|
84
|
+
},
|
|
85
|
+
brand: {
|
|
86
|
+
value: "linear-gradient(135deg, #0F1419 0%, #131215 50%, #0A0E13 100%)",
|
|
87
|
+
comment: "Brand gradient background"
|
|
88
|
+
}
|
|
56
89
|
},
|
|
57
90
|
semantic: {
|
|
58
91
|
success: { value: "#16a34a", comment: "Green for success states" },
|
|
@@ -73,7 +106,18 @@ var tokens_default = {
|
|
|
73
106
|
"6": { value: "1.5rem" }
|
|
74
107
|
},
|
|
75
108
|
font: {
|
|
76
|
-
body: {
|
|
109
|
+
body: {
|
|
110
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
111
|
+
comment: "Main typeface for Calimero brand cohesion"
|
|
112
|
+
},
|
|
113
|
+
heading: {
|
|
114
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
115
|
+
comment: "Heading typeface"
|
|
116
|
+
},
|
|
117
|
+
secondary: {
|
|
118
|
+
value: "Inter, system-ui, sans-serif",
|
|
119
|
+
comment: "Secondary typeface for tools and diagrams"
|
|
120
|
+
}
|
|
77
121
|
}
|
|
78
122
|
};
|
|
79
123
|
|
|
@@ -96,6 +140,10 @@ var cssVariables = `
|
|
|
96
140
|
--color-brand-700: ${colors.brand["700"].value};
|
|
97
141
|
--color-brand-800: ${colors.brand["800"].value};
|
|
98
142
|
--color-brand-900: ${colors.brand["900"].value};
|
|
143
|
+
--color-transparent-brand: ${colors.transparent.brand.value};
|
|
144
|
+
--color-transparent-black-50: ${colors.transparent["black-50"].value};
|
|
145
|
+
--color-transparent-green-20: ${colors.transparent["green-20"].value};
|
|
146
|
+
--color-transparent-green-10: ${colors.transparent["green-10"].value};
|
|
99
147
|
--color-background-primary: ${colors.background.primary.value};
|
|
100
148
|
--color-background-secondary: ${colors.background.secondary.value};
|
|
101
149
|
--color-background-tertiary: ${colors.background.tertiary.value};
|
|
@@ -112,6 +160,8 @@ var cssVariables = `
|
|
|
112
160
|
--space-4: ${spacing["4"].value};
|
|
113
161
|
--space-6: ${spacing["6"].value};
|
|
114
162
|
--font-body: ${fonts.body.value};
|
|
163
|
+
--font-heading: ${fonts.heading.value};
|
|
164
|
+
--font-secondary: ${fonts.secondary.value};
|
|
115
165
|
}
|
|
116
166
|
`;
|
|
117
167
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -2,26 +2,59 @@
|
|
|
2
2
|
var tokens_default = {
|
|
3
3
|
color: {
|
|
4
4
|
neutral: {
|
|
5
|
-
"900": { value: "#131215", comment: "
|
|
6
|
-
"800": { value: "#222222", comment: "
|
|
7
|
-
"700": { value: "#282828", comment: "
|
|
5
|
+
"900": { value: "#131215", comment: "Very dark gray, almost black" },
|
|
6
|
+
"800": { value: "#222222", comment: "Dark gray" },
|
|
7
|
+
"700": { value: "#282828", comment: "Slightly lighter dark gray" },
|
|
8
8
|
"600": { value: "#404040", comment: "Medium dark gray" },
|
|
9
9
|
"400": { value: "#8E8E8E", comment: "Medium gray" },
|
|
10
10
|
"300": { value: "#A0A0A0", comment: "Light gray" },
|
|
11
11
|
"200": { value: "#C8C8C8", comment: "Very light gray" }
|
|
12
12
|
},
|
|
13
13
|
brand: {
|
|
14
|
-
"900": { value: "#2D381B", comment: "
|
|
15
|
-
"800": { value: "#8AA200", comment: "
|
|
16
|
-
"700": { value: "#73B30C", comment: "
|
|
17
|
-
"600": { value: "#A5FF11", comment: "
|
|
18
|
-
"100": {
|
|
14
|
+
"900": { value: "#2D381B", comment: "Very dark olive green" },
|
|
15
|
+
"800": { value: "#8AA200", comment: "Darker lime green" },
|
|
16
|
+
"700": { value: "#73B30C", comment: "Medium lime green" },
|
|
17
|
+
"600": { value: "#A5FF11", comment: "Bright, vibrant lime green" },
|
|
18
|
+
"100": {
|
|
19
|
+
value: "#ECFC91",
|
|
20
|
+
comment: "Very pale, almost white, yellow-green"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
transparent: {
|
|
24
|
+
brand: {
|
|
25
|
+
value: "rgba(72, 72, 72, 0.05)",
|
|
26
|
+
comment: "Brand transparent - 5% opacity"
|
|
27
|
+
},
|
|
28
|
+
"black-50": {
|
|
29
|
+
value: "rgba(0, 0, 0, 0.5)",
|
|
30
|
+
comment: "Transparent black - 50% opacity"
|
|
31
|
+
},
|
|
32
|
+
"green-20": {
|
|
33
|
+
value: "rgba(112, 237, 206, 0.2)",
|
|
34
|
+
comment: "Transparent green - 20% opacity"
|
|
35
|
+
},
|
|
36
|
+
"green-10": {
|
|
37
|
+
value: "rgba(109, 234, 173, 0.1)",
|
|
38
|
+
comment: "Transparent green - 10% opacity"
|
|
39
|
+
}
|
|
19
40
|
},
|
|
20
41
|
background: {
|
|
21
|
-
primary: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
42
|
+
primary: {
|
|
43
|
+
value: "#0F1419",
|
|
44
|
+
comment: "Primary background - dark teal"
|
|
45
|
+
},
|
|
46
|
+
secondary: {
|
|
47
|
+
value: "#131215",
|
|
48
|
+
comment: "Secondary background - charcoal"
|
|
49
|
+
},
|
|
50
|
+
tertiary: {
|
|
51
|
+
value: "#0A0E13",
|
|
52
|
+
comment: "Tertiary background - deep dark"
|
|
53
|
+
},
|
|
54
|
+
brand: {
|
|
55
|
+
value: "linear-gradient(135deg, #0F1419 0%, #131215 50%, #0A0E13 100%)",
|
|
56
|
+
comment: "Brand gradient background"
|
|
57
|
+
}
|
|
25
58
|
},
|
|
26
59
|
semantic: {
|
|
27
60
|
success: { value: "#16a34a", comment: "Green for success states" },
|
|
@@ -42,7 +75,18 @@ var tokens_default = {
|
|
|
42
75
|
"6": { value: "1.5rem" }
|
|
43
76
|
},
|
|
44
77
|
font: {
|
|
45
|
-
body: {
|
|
78
|
+
body: {
|
|
79
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
80
|
+
comment: "Main typeface for Calimero brand cohesion"
|
|
81
|
+
},
|
|
82
|
+
heading: {
|
|
83
|
+
value: "Power Grotesk, Inter, system-ui, sans-serif",
|
|
84
|
+
comment: "Heading typeface"
|
|
85
|
+
},
|
|
86
|
+
secondary: {
|
|
87
|
+
value: "Inter, system-ui, sans-serif",
|
|
88
|
+
comment: "Secondary typeface for tools and diagrams"
|
|
89
|
+
}
|
|
46
90
|
}
|
|
47
91
|
};
|
|
48
92
|
|
|
@@ -65,6 +109,10 @@ var cssVariables = `
|
|
|
65
109
|
--color-brand-700: ${colors.brand["700"].value};
|
|
66
110
|
--color-brand-800: ${colors.brand["800"].value};
|
|
67
111
|
--color-brand-900: ${colors.brand["900"].value};
|
|
112
|
+
--color-transparent-brand: ${colors.transparent.brand.value};
|
|
113
|
+
--color-transparent-black-50: ${colors.transparent["black-50"].value};
|
|
114
|
+
--color-transparent-green-20: ${colors.transparent["green-20"].value};
|
|
115
|
+
--color-transparent-green-10: ${colors.transparent["green-10"].value};
|
|
68
116
|
--color-background-primary: ${colors.background.primary.value};
|
|
69
117
|
--color-background-secondary: ${colors.background.secondary.value};
|
|
70
118
|
--color-background-tertiary: ${colors.background.tertiary.value};
|
|
@@ -81,6 +129,8 @@ var cssVariables = `
|
|
|
81
129
|
--space-4: ${spacing["4"].value};
|
|
82
130
|
--space-6: ${spacing["6"].value};
|
|
83
131
|
--font-body: ${fonts.body.value};
|
|
132
|
+
--font-heading: ${fonts.heading.value};
|
|
133
|
+
--font-secondary: ${fonts.secondary.value};
|
|
84
134
|
}
|
|
85
135
|
`;
|
|
86
136
|
export {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Export the raw tokens data
|
|
2
|
-
import tokens from
|
|
2
|
+
import tokens from "../tokens.json";
|
|
3
3
|
|
|
4
4
|
// Export the tokens object
|
|
5
5
|
export { tokens };
|
|
@@ -13,18 +13,22 @@ export const fonts = tokens.font;
|
|
|
13
13
|
// Export CSS variables as a string (for runtime use)
|
|
14
14
|
export const cssVariables = `
|
|
15
15
|
:root {
|
|
16
|
-
--color-neutral-200: ${colors.neutral[
|
|
17
|
-
--color-neutral-300: ${colors.neutral[
|
|
18
|
-
--color-neutral-400: ${colors.neutral[
|
|
19
|
-
--color-neutral-600: ${colors.neutral[
|
|
20
|
-
--color-neutral-700: ${colors.neutral[
|
|
21
|
-
--color-neutral-800: ${colors.neutral[
|
|
22
|
-
--color-neutral-900: ${colors.neutral[
|
|
23
|
-
--color-brand-100: ${colors.brand[
|
|
24
|
-
--color-brand-600: ${colors.brand[
|
|
25
|
-
--color-brand-700: ${colors.brand[
|
|
26
|
-
--color-brand-800: ${colors.brand[
|
|
27
|
-
--color-brand-900: ${colors.brand[
|
|
16
|
+
--color-neutral-200: ${colors.neutral["200"].value};
|
|
17
|
+
--color-neutral-300: ${colors.neutral["300"].value};
|
|
18
|
+
--color-neutral-400: ${colors.neutral["400"].value};
|
|
19
|
+
--color-neutral-600: ${colors.neutral["600"].value};
|
|
20
|
+
--color-neutral-700: ${colors.neutral["700"].value};
|
|
21
|
+
--color-neutral-800: ${colors.neutral["800"].value};
|
|
22
|
+
--color-neutral-900: ${colors.neutral["900"].value};
|
|
23
|
+
--color-brand-100: ${colors.brand["100"].value};
|
|
24
|
+
--color-brand-600: ${colors.brand["600"].value};
|
|
25
|
+
--color-brand-700: ${colors.brand["700"].value};
|
|
26
|
+
--color-brand-800: ${colors.brand["800"].value};
|
|
27
|
+
--color-brand-900: ${colors.brand["900"].value};
|
|
28
|
+
--color-transparent-brand: ${colors.transparent.brand.value};
|
|
29
|
+
--color-transparent-black-50: ${colors.transparent["black-50"].value};
|
|
30
|
+
--color-transparent-green-20: ${colors.transparent["green-20"].value};
|
|
31
|
+
--color-transparent-green-10: ${colors.transparent["green-10"].value};
|
|
28
32
|
--color-background-primary: ${colors.background.primary.value};
|
|
29
33
|
--color-background-secondary: ${colors.background.secondary.value};
|
|
30
34
|
--color-background-tertiary: ${colors.background.tertiary.value};
|
|
@@ -36,10 +40,12 @@ export const cssVariables = `
|
|
|
36
40
|
--radius-sm: ${radius.sm.value};
|
|
37
41
|
--radius-md: ${radius.md.value};
|
|
38
42
|
--radius-lg: ${radius.lg.value};
|
|
39
|
-
--space-2: ${spacing[
|
|
40
|
-
--space-3: ${spacing[
|
|
41
|
-
--space-4: ${spacing[
|
|
42
|
-
--space-6: ${spacing[
|
|
43
|
+
--space-2: ${spacing["2"].value};
|
|
44
|
+
--space-3: ${spacing["3"].value};
|
|
45
|
+
--space-4: ${spacing["4"].value};
|
|
46
|
+
--space-6: ${spacing["6"].value};
|
|
43
47
|
--font-body: ${fonts.body.value};
|
|
48
|
+
--font-heading: ${fonts.heading.value};
|
|
49
|
+
--font-secondary: ${fonts.secondary.value};
|
|
44
50
|
}
|
|
45
|
-
`;
|
|
51
|
+
`;
|
package/tokens.json
CHANGED
|
@@ -1,26 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
3
|
"neutral": {
|
|
4
|
-
"900": { "value": "#131215", "comment": "
|
|
5
|
-
"800": { "value": "#222222", "comment": "
|
|
6
|
-
"700": { "value": "#282828", "comment": "
|
|
4
|
+
"900": { "value": "#131215", "comment": "Very dark gray, almost black" },
|
|
5
|
+
"800": { "value": "#222222", "comment": "Dark gray" },
|
|
6
|
+
"700": { "value": "#282828", "comment": "Slightly lighter dark gray" },
|
|
7
7
|
"600": { "value": "#404040", "comment": "Medium dark gray" },
|
|
8
8
|
"400": { "value": "#8E8E8E", "comment": "Medium gray" },
|
|
9
9
|
"300": { "value": "#A0A0A0", "comment": "Light gray" },
|
|
10
10
|
"200": { "value": "#C8C8C8", "comment": "Very light gray" }
|
|
11
11
|
},
|
|
12
12
|
"brand": {
|
|
13
|
-
"900": { "value": "#2D381B", "comment": "
|
|
14
|
-
"800": { "value": "#8AA200", "comment": "
|
|
15
|
-
"700": { "value": "#73B30C", "comment": "
|
|
16
|
-
"600": { "value": "#A5FF11", "comment": "
|
|
17
|
-
"100": {
|
|
13
|
+
"900": { "value": "#2D381B", "comment": "Very dark olive green" },
|
|
14
|
+
"800": { "value": "#8AA200", "comment": "Darker lime green" },
|
|
15
|
+
"700": { "value": "#73B30C", "comment": "Medium lime green" },
|
|
16
|
+
"600": { "value": "#A5FF11", "comment": "Bright, vibrant lime green" },
|
|
17
|
+
"100": {
|
|
18
|
+
"value": "#ECFC91",
|
|
19
|
+
"comment": "Very pale, almost white, yellow-green"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"transparent": {
|
|
23
|
+
"brand": {
|
|
24
|
+
"value": "rgba(72, 72, 72, 0.05)",
|
|
25
|
+
"comment": "Brand transparent - 5% opacity"
|
|
26
|
+
},
|
|
27
|
+
"black-50": {
|
|
28
|
+
"value": "rgba(0, 0, 0, 0.5)",
|
|
29
|
+
"comment": "Transparent black - 50% opacity"
|
|
30
|
+
},
|
|
31
|
+
"green-20": {
|
|
32
|
+
"value": "rgba(112, 237, 206, 0.2)",
|
|
33
|
+
"comment": "Transparent green - 20% opacity"
|
|
34
|
+
},
|
|
35
|
+
"green-10": {
|
|
36
|
+
"value": "rgba(109, 234, 173, 0.1)",
|
|
37
|
+
"comment": "Transparent green - 10% opacity"
|
|
38
|
+
}
|
|
18
39
|
},
|
|
19
40
|
"background": {
|
|
20
|
-
"primary": {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
41
|
+
"primary": {
|
|
42
|
+
"value": "#0F1419",
|
|
43
|
+
"comment": "Primary background - dark teal"
|
|
44
|
+
},
|
|
45
|
+
"secondary": {
|
|
46
|
+
"value": "#131215",
|
|
47
|
+
"comment": "Secondary background - charcoal"
|
|
48
|
+
},
|
|
49
|
+
"tertiary": {
|
|
50
|
+
"value": "#0A0E13",
|
|
51
|
+
"comment": "Tertiary background - deep dark"
|
|
52
|
+
},
|
|
53
|
+
"brand": {
|
|
54
|
+
"value": "linear-gradient(135deg, #0F1419 0%, #131215 50%, #0A0E13 100%)",
|
|
55
|
+
"comment": "Brand gradient background"
|
|
56
|
+
}
|
|
24
57
|
},
|
|
25
58
|
"semantic": {
|
|
26
59
|
"success": { "value": "#16a34a", "comment": "Green for success states" },
|
|
@@ -41,6 +74,17 @@
|
|
|
41
74
|
"6": { "value": "1.5rem" }
|
|
42
75
|
},
|
|
43
76
|
"font": {
|
|
44
|
-
"body": {
|
|
77
|
+
"body": {
|
|
78
|
+
"value": "Power Grotesk, Inter, system-ui, sans-serif",
|
|
79
|
+
"comment": "Main typeface for Calimero brand cohesion"
|
|
80
|
+
},
|
|
81
|
+
"heading": {
|
|
82
|
+
"value": "Power Grotesk, Inter, system-ui, sans-serif",
|
|
83
|
+
"comment": "Heading typeface"
|
|
84
|
+
},
|
|
85
|
+
"secondary": {
|
|
86
|
+
"value": "Inter, system-ui, sans-serif",
|
|
87
|
+
"comment": "Secondary typeface for tools and diagrams"
|
|
88
|
+
}
|
|
45
89
|
}
|
|
46
|
-
}
|
|
90
|
+
}
|