@aggc/ui 0.4.0 → 0.5.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/README.md +19 -0
- package/dist/chunks/UiSkeleton.vue_vue_type_script_setup_true_lang-Lghyrtms.js +1201 -0
- package/dist/chunks/pageHeader-CcJrPX_8.js +522 -0
- package/dist/components/PageSurface.styles.d.ts +1 -0
- package/dist/components/PageSurface.vue.d.ts +13 -0
- package/dist/components/ResultPanel.styles.d.ts +64 -0
- package/dist/components/ResultPanel.vue.d.ts +16 -0
- package/dist/components/SectionCard.styles.d.ts +13 -0
- package/dist/components/SectionCard.vue.d.ts +27 -0
- package/dist/components/StatusBadge.styles.d.ts +24 -0
- package/dist/components/StatusBadge.vue.d.ts +18 -0
- package/dist/components/UiButton.styles.d.ts +54 -0
- package/dist/components/UiButton.vue.d.ts +28 -0
- package/dist/components/UiCheckbox.styles.d.ts +42 -0
- package/dist/components/UiCheckbox.vue.d.ts +37 -0
- package/dist/components/UiField.styles.d.ts +7 -0
- package/dist/components/UiField.vue.d.ts +22 -0
- package/dist/components/UiLoadingState.styles.d.ts +4 -0
- package/dist/components/UiLoadingState.vue.d.ts +10 -0
- package/dist/components/UiSegmentedControl.styles.d.ts +23 -0
- package/dist/components/UiSegmentedControl.vue.d.ts +14 -0
- package/dist/components/UiSelect.styles.d.ts +104 -0
- package/dist/components/UiSelect.vue.d.ts +35 -0
- package/dist/components/UiSkeleton.styles.d.ts +67 -0
- package/dist/components/UiSkeleton.vue.d.ts +12 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components.d.ts +1 -0
- package/dist/components.js +14 -0
- package/dist/css.d.ts +2 -0
- package/dist/css.js +1 -0
- package/dist/fonts.css +6 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +65 -0
- package/dist/styles/index.d.ts +20 -0
- package/dist/styles/layouts/cluster.d.ts +27 -0
- package/dist/styles/layouts/page.d.ts +2 -0
- package/dist/styles/layouts/split.d.ts +22 -0
- package/dist/styles/layouts/stack.d.ts +19 -0
- package/dist/styles/patterns/actionToolbar.d.ts +1 -0
- package/dist/styles/patterns/emptyState.d.ts +2 -0
- package/dist/styles/patterns/infoPanel.d.ts +2 -0
- package/dist/styles/patterns/metricGrid.d.ts +22 -0
- package/dist/styles/patterns/pageHeader.d.ts +3 -0
- package/dist/styles/patterns/resultRegion.d.ts +1 -0
- package/dist/styles/patterns/selectableListDetail.d.ts +3 -0
- package/dist/styles/primitives/feedback.d.ts +4 -0
- package/dist/styles/primitives/fields.d.ts +3 -0
- package/dist/styles/primitives/surfaces.d.ts +3 -0
- package/dist/styles/primitives/typography.d.ts +6 -0
- package/dist/styles/recipes/badge.recipe.d.ts +32 -0
- package/dist/styles/recipes/button.recipe.d.ts +51 -0
- package/dist/styles/recipes/card.recipe.d.ts +59 -0
- package/dist/styles/recipes/dropdown.recipe.d.ts +25 -0
- package/dist/styles/recipes/input.recipe.d.ts +32 -0
- package/dist/styles.d.ts +1 -0
- package/dist/styles.js +429 -0
- package/dist/tokens/colors.d.ts +360 -0
- package/dist/tokens/core-colors.d.ts +238 -0
- package/dist/tokens/desktop-colors.d.ts +132 -0
- package/dist/tokens/index.d.ts +7 -0
- package/dist/tokens/motion.d.ts +10 -0
- package/dist/tokens/radius.d.ts +5 -0
- package/dist/tokens/spacing.d.ts +8 -0
- package/dist/tokens/typography.d.ts +10 -0
- package/dist/tokens-core.d.ts +5 -0
- package/dist/tokens-core.js +69 -0
- package/dist/tokens-desktop.d.ts +1 -0
- package/dist/tokens-desktop.js +30 -0
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.js +16 -0
- package/dist/ui.css +2026 -0
- package/package.json +3 -2
- package/src/components/PageSurface.styles.ts +3 -0
- package/src/components/PageSurface.vue +9 -0
- package/src/components/ResultPanel.styles.ts +108 -0
- package/src/components/ResultPanel.test.ts +22 -0
- package/src/components/ResultPanel.vue +70 -0
- package/src/components/SectionCard.styles.ts +65 -0
- package/src/components/SectionCard.test.ts +22 -0
- package/src/components/SectionCard.vue +51 -0
- package/src/components/StatusBadge.styles.ts +49 -0
- package/src/components/StatusBadge.test.ts +18 -0
- package/src/components/StatusBadge.vue +18 -0
- package/src/components/UiButton.styles.ts +29 -0
- package/src/components/UiButton.test.ts +21 -0
- package/src/components/UiButton.vue +46 -0
- package/src/components/UiCheckbox.styles.ts +118 -0
- package/src/components/UiCheckbox.test.ts +18 -0
- package/src/components/UiCheckbox.vue +72 -0
- package/src/components/UiField.styles.ts +35 -0
- package/src/components/UiField.test.ts +22 -0
- package/src/components/UiField.vue +36 -0
- package/src/components/UiLoadingState.styles.ts +36 -0
- package/src/components/UiLoadingState.vue +34 -0
- package/src/components/UiSegmentedControl.styles.ts +49 -0
- package/src/components/UiSegmentedControl.vue +30 -0
- package/src/components/UiSelect.styles.ts +214 -0
- package/src/components/UiSelect.test.ts +49 -0
- package/src/components/UiSelect.vue +256 -0
- package/src/components/UiSkeleton.styles.ts +93 -0
- package/src/components/UiSkeleton.vue +48 -0
- package/src/components/index.ts +11 -0
- package/src/components.ts +1 -0
- package/src/css/base.css +62 -0
- package/src/css/fonts.css +6 -0
- package/src/css/index.css +2 -0
- package/src/css/storybook.css +15 -0
- package/src/env.d.ts +1 -0
- package/src/index.ts +3 -0
- package/src/stories/feedback/ResultPanel.stories.ts +76 -0
- package/src/stories/feedback/StatusBadge.stories.ts +50 -0
- package/src/stories/feedback/UiLoadingState.stories.ts +52 -0
- package/src/stories/feedback/UiSkeleton.stories.ts +85 -0
- package/src/stories/forms/UiCheckbox.stories.ts +104 -0
- package/src/stories/forms/UiField.stories.ts +87 -0
- package/src/stories/forms/UiSelect.stories.ts +134 -0
- package/src/stories/layout/PageSurface.stories.ts +53 -0
- package/src/stories/layout/SectionCard.stories.ts +85 -0
- package/src/stories/primitives/UiButton.stories.ts +145 -0
- package/src/stories/primitives/UiSegmentedControl.stories.ts +67 -0
- package/src/stories/support/StoryThemeFrame.vue +101 -0
- package/src/stories/support/sources.ts +374 -0
- package/src/stories/support/storyStyles.ts +150 -0
- package/src/styles/README.md +23 -0
- package/src/styles/index.ts +20 -0
- package/src/styles/layouts/cluster.ts +27 -0
- package/src/styles/layouts/page.ts +22 -0
- package/src/styles/layouts/split.ts +26 -0
- package/src/styles/layouts/stack.ts +21 -0
- package/src/styles/patterns/actionToolbar.ts +8 -0
- package/src/styles/patterns/emptyState.ts +23 -0
- package/src/styles/patterns/infoPanel.ts +22 -0
- package/src/styles/patterns/metricGrid.ts +19 -0
- package/src/styles/patterns/pageHeader.ts +19 -0
- package/src/styles/patterns/resultRegion.ts +7 -0
- package/src/styles/patterns/selectableListDetail.ts +21 -0
- package/src/styles/primitives/feedback.ts +23 -0
- package/src/styles/primitives/fields.ts +76 -0
- package/src/styles/primitives/surfaces.ts +52 -0
- package/src/styles/primitives/typography.ts +42 -0
- package/src/styles/recipes/badge.recipe.ts +54 -0
- package/src/styles/recipes/button.recipe.ts +115 -0
- package/src/styles/recipes/card.recipe.ts +64 -0
- package/src/styles/recipes/dropdown.recipe.ts +40 -0
- package/src/styles/recipes/input.recipe.ts +59 -0
- package/src/styles.ts +1 -0
- package/src/test/setup.ts +1 -0
- package/src/tokens/colors.ts +16 -0
- package/src/tokens/core-colors.ts +53 -0
- package/src/tokens/desktop-colors.ts +37 -0
- package/src/tokens/index.ts +8 -0
- package/src/tokens/motion.ts +6 -0
- package/src/tokens/radius.ts +3 -0
- package/src/tokens/spacing.ts +4 -0
- package/src/tokens/typography.ts +6 -0
- package/src/tokens-core.ts +5 -0
- package/src/tokens-desktop.ts +1 -0
- package/src/tokens.ts +1 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Full semantic color token map — includes both core (web+desktop) and
|
|
3
|
+
* desktop-only tokens. Used by panda.config.ts in this repo.
|
|
4
|
+
*
|
|
5
|
+
* For a web-only consumer, import coreColorTokens instead.
|
|
6
|
+
*/
|
|
7
|
+
export declare const colorTokens: {
|
|
8
|
+
readonly result: {
|
|
9
|
+
readonly okBg: {
|
|
10
|
+
readonly value: {
|
|
11
|
+
readonly base: "rgba(48, 113, 255, 0.1)";
|
|
12
|
+
readonly _dark: "rgba(17, 43, 86, 0.88)";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
readonly okBorder: {
|
|
16
|
+
readonly value: {
|
|
17
|
+
readonly base: "rgba(49, 94, 255, 0.18)";
|
|
18
|
+
readonly _dark: "rgba(138, 180, 255, 0.24)";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly failBg: {
|
|
22
|
+
readonly value: {
|
|
23
|
+
readonly base: "rgba(217, 45, 32, 0.08)";
|
|
24
|
+
readonly _dark: "rgba(77, 17, 11, 0.86)";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly failBorder: {
|
|
28
|
+
readonly value: {
|
|
29
|
+
readonly base: "rgba(217, 45, 32, 0.16)";
|
|
30
|
+
readonly _dark: "rgba(255, 142, 127, 0.24)";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly detailText: {
|
|
34
|
+
readonly value: {
|
|
35
|
+
readonly base: "#11203b";
|
|
36
|
+
readonly _dark: "#edf3ff";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly bodyText: {
|
|
40
|
+
readonly value: {
|
|
41
|
+
readonly base: "#42526b";
|
|
42
|
+
readonly _dark: "#cad2e0";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly warningLabel: {
|
|
46
|
+
readonly value: {
|
|
47
|
+
readonly base: "#9a5b05";
|
|
48
|
+
readonly _dark: "#ffd36b";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly warningBody: {
|
|
52
|
+
readonly value: {
|
|
53
|
+
readonly base: "#865210";
|
|
54
|
+
readonly _dark: "#f8dd95";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly errorLabel: {
|
|
58
|
+
readonly value: {
|
|
59
|
+
readonly base: "#b42318";
|
|
60
|
+
readonly _dark: "#ff9d91";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly errorBody: {
|
|
64
|
+
readonly value: {
|
|
65
|
+
readonly base: "#8f2118";
|
|
66
|
+
readonly _dark: "#ffc2ba";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly nav: {
|
|
71
|
+
readonly inactiveText: {
|
|
72
|
+
readonly value: {
|
|
73
|
+
readonly base: "#42526b";
|
|
74
|
+
readonly _dark: "#b7c3d7";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
readonly sync: {
|
|
79
|
+
readonly generatedBg: {
|
|
80
|
+
readonly value: {
|
|
81
|
+
readonly base: "rgba(48, 113, 255, 0.08)";
|
|
82
|
+
readonly _dark: "rgba(15, 40, 84, 0.88)";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly generatedBorder: {
|
|
86
|
+
readonly value: {
|
|
87
|
+
readonly base: "rgba(49, 94, 255, 0.16)";
|
|
88
|
+
readonly _dark: "rgba(138, 180, 255, 0.24)";
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
readonly generatedLabel: {
|
|
92
|
+
readonly value: {
|
|
93
|
+
readonly base: "#2459d8";
|
|
94
|
+
readonly _dark: "#9ac1ff";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly generatedBody: {
|
|
98
|
+
readonly value: {
|
|
99
|
+
readonly base: "#264170";
|
|
100
|
+
readonly _dark: "#d7e5ff";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
readonly skippedBg: {
|
|
104
|
+
readonly value: {
|
|
105
|
+
readonly base: "rgba(82, 102, 133, 0.06)";
|
|
106
|
+
readonly _dark: "rgba(14, 18, 24, 0.94)";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
readonly skippedBorder: {
|
|
110
|
+
readonly value: {
|
|
111
|
+
readonly base: "rgba(109, 130, 164, 0.16)";
|
|
112
|
+
readonly _dark: "rgba(183, 195, 215, 0.18)";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly skippedLabel: {
|
|
116
|
+
readonly value: {
|
|
117
|
+
readonly base: "#42526b";
|
|
118
|
+
readonly _dark: "#b7c3d7";
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
readonly skippedBody: {
|
|
122
|
+
readonly value: {
|
|
123
|
+
readonly base: "#566883";
|
|
124
|
+
readonly _dark: "#c3cedf";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly text: {
|
|
129
|
+
readonly primary: {
|
|
130
|
+
readonly value: {
|
|
131
|
+
readonly base: "#0f1728";
|
|
132
|
+
readonly _dark: "#f7f9fd";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
readonly secondary: {
|
|
136
|
+
readonly value: {
|
|
137
|
+
readonly base: "#405069";
|
|
138
|
+
readonly _dark: "#c8d1e0";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
readonly muted: {
|
|
142
|
+
readonly value: {
|
|
143
|
+
readonly base: "#61708a";
|
|
144
|
+
readonly _dark: "#96a3b8";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly accent: {
|
|
148
|
+
readonly value: {
|
|
149
|
+
readonly base: "#315eff";
|
|
150
|
+
readonly _dark: "#8ab4ff";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
readonly inverse: {
|
|
154
|
+
readonly value: {
|
|
155
|
+
readonly base: "#ffffff";
|
|
156
|
+
readonly _dark: "#08111f";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly error: {
|
|
160
|
+
readonly value: {
|
|
161
|
+
readonly base: "#d92d20";
|
|
162
|
+
readonly _dark: "#ff8e7f";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly bg: {
|
|
167
|
+
readonly canvas: {
|
|
168
|
+
readonly value: {
|
|
169
|
+
readonly base: "rgba(244, 248, 255, 0.8)";
|
|
170
|
+
readonly _dark: "rgba(0, 0, 0, 0.94)";
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly card: {
|
|
174
|
+
readonly value: {
|
|
175
|
+
readonly base: "rgba(255, 255, 255, 0.62)";
|
|
176
|
+
readonly _dark: "rgba(0, 0, 0, 0.82)";
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
readonly cardStrong: {
|
|
180
|
+
readonly value: {
|
|
181
|
+
readonly base: "rgba(255, 255, 255, 0.78)";
|
|
182
|
+
readonly _dark: "rgba(7, 10, 15, 0.98)";
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
readonly cardAlt: {
|
|
186
|
+
readonly value: {
|
|
187
|
+
readonly base: "rgba(248, 251, 255, 0.56)";
|
|
188
|
+
readonly _dark: "rgba(10, 13, 19, 0.94)";
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
readonly sidebar: {
|
|
192
|
+
readonly value: {
|
|
193
|
+
readonly base: "rgba(251, 253, 255, 0.68)";
|
|
194
|
+
readonly _dark: "rgba(0, 0, 0, 0.9)";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly overlay: {
|
|
198
|
+
readonly value: {
|
|
199
|
+
readonly base: "rgba(255, 255, 255, 0.42)";
|
|
200
|
+
readonly _dark: "rgba(255, 255, 255, 0.02)";
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
readonly input: {
|
|
204
|
+
readonly value: {
|
|
205
|
+
readonly base: "rgba(255, 255, 255, 0.72)";
|
|
206
|
+
readonly _dark: "rgba(12, 16, 23, 0.98)";
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
readonly selected: {
|
|
210
|
+
readonly value: {
|
|
211
|
+
readonly base: "rgba(60, 111, 255, 0.12)";
|
|
212
|
+
readonly _dark: "rgba(138, 180, 255, 0.16)";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
readonly hover: {
|
|
216
|
+
readonly value: {
|
|
217
|
+
readonly base: "rgba(49, 71, 115, 0.08)";
|
|
218
|
+
readonly _dark: "rgba(255, 255, 255, 0.06)";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly buttonOutline: {
|
|
222
|
+
readonly value: {
|
|
223
|
+
readonly base: "rgba(255, 255, 255, 0.48)";
|
|
224
|
+
readonly _dark: "rgba(14, 18, 26, 0.98)";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly header: {
|
|
228
|
+
readonly value: {
|
|
229
|
+
readonly base: "rgba(250, 252, 255, 0.58)";
|
|
230
|
+
readonly _dark: "rgba(0, 0, 0, 0.84)";
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
readonly menu: {
|
|
234
|
+
readonly value: {
|
|
235
|
+
readonly base: "rgba(255, 255, 255, 0.9)";
|
|
236
|
+
readonly _dark: "rgba(9, 12, 18, 0.99)";
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly accentSoft: {
|
|
240
|
+
readonly value: {
|
|
241
|
+
readonly base: "rgba(49, 94, 255, 0.1)";
|
|
242
|
+
readonly _dark: "rgba(138, 180, 255, 0.18)";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
readonly accentStrong: {
|
|
246
|
+
readonly value: {
|
|
247
|
+
readonly base: "rgba(49, 94, 255, 0.86)";
|
|
248
|
+
readonly _dark: "rgba(122, 170, 255, 0.82)";
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
readonly border: {
|
|
253
|
+
readonly soft: {
|
|
254
|
+
readonly value: {
|
|
255
|
+
readonly base: "rgba(148, 163, 184, 0.14)";
|
|
256
|
+
readonly _dark: "rgba(255, 255, 255, 0.035)";
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
readonly subtle: {
|
|
260
|
+
readonly value: {
|
|
261
|
+
readonly base: "rgba(125, 146, 182, 0.2)";
|
|
262
|
+
readonly _dark: "rgba(255, 255, 255, 0.09)";
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly default: {
|
|
266
|
+
readonly value: {
|
|
267
|
+
readonly base: "rgba(109, 130, 164, 0.28)";
|
|
268
|
+
readonly _dark: "rgba(255, 255, 255, 0.14)";
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
readonly strong: {
|
|
272
|
+
readonly value: {
|
|
273
|
+
readonly base: "rgba(80, 98, 127, 0.42)";
|
|
274
|
+
readonly _dark: "rgba(255, 255, 255, 0.22)";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
readonly accent: {
|
|
278
|
+
readonly value: {
|
|
279
|
+
readonly base: "rgba(82, 121, 255, 0.5)";
|
|
280
|
+
readonly _dark: "rgba(125, 171, 255, 0.44)";
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly badge: {
|
|
285
|
+
readonly successBg: {
|
|
286
|
+
readonly value: {
|
|
287
|
+
readonly base: "rgba(19, 163, 74, 0.12)";
|
|
288
|
+
readonly _dark: "rgba(19, 80, 58, 0.7)";
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
readonly successText: {
|
|
292
|
+
readonly value: {
|
|
293
|
+
readonly base: "#136c45";
|
|
294
|
+
readonly _dark: "#7ff2c7";
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
readonly successBorder: {
|
|
298
|
+
readonly value: {
|
|
299
|
+
readonly base: "rgba(21, 128, 61, 0.22)";
|
|
300
|
+
readonly _dark: "rgba(127, 242, 199, 0.32)";
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
readonly warningBg: {
|
|
304
|
+
readonly value: {
|
|
305
|
+
readonly base: "rgba(245, 158, 11, 0.12)";
|
|
306
|
+
readonly _dark: "rgba(89, 58, 8, 0.76)";
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly warningText: {
|
|
310
|
+
readonly value: {
|
|
311
|
+
readonly base: "#9a5b05";
|
|
312
|
+
readonly _dark: "#ffd36b";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
readonly warningBorder: {
|
|
316
|
+
readonly value: {
|
|
317
|
+
readonly base: "rgba(217, 119, 6, 0.22)";
|
|
318
|
+
readonly _dark: "rgba(255, 211, 107, 0.32)";
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
readonly infoBg: {
|
|
322
|
+
readonly value: {
|
|
323
|
+
readonly base: "rgba(59, 130, 246, 0.11)";
|
|
324
|
+
readonly _dark: "rgba(24, 48, 92, 0.82)";
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
readonly infoText: {
|
|
328
|
+
readonly value: {
|
|
329
|
+
readonly base: "#2459d8";
|
|
330
|
+
readonly _dark: "#9ac1ff";
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
readonly infoBorder: {
|
|
334
|
+
readonly value: {
|
|
335
|
+
readonly base: "rgba(37, 99, 235, 0.2)";
|
|
336
|
+
readonly _dark: "rgba(154, 193, 255, 0.3)";
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
readonly neutralBg: {
|
|
340
|
+
readonly value: {
|
|
341
|
+
readonly base: "rgba(99, 115, 148, 0.08)";
|
|
342
|
+
readonly _dark: "rgba(21, 26, 35, 0.92)";
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
readonly neutralText: {
|
|
346
|
+
readonly value: {
|
|
347
|
+
readonly base: "#4b5d7a";
|
|
348
|
+
readonly _dark: "#d0d7e4";
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
readonly neutralBorder: {
|
|
352
|
+
readonly value: {
|
|
353
|
+
readonly base: "rgba(109, 130, 164, 0.18)";
|
|
354
|
+
readonly _dark: "rgba(183, 195, 215, 0.22)";
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
export { coreColorTokens } from "./core-colors";
|
|
360
|
+
export { desktopColorTokens } from "./desktop-colors";
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core semantic color tokens — shared between desktop and web consumers.
|
|
3
|
+
*
|
|
4
|
+
* These tokens cover the universal design language: text, backgrounds,
|
|
5
|
+
* borders and badge indicators. Any app that uses @aggc/ui can rely on these.
|
|
6
|
+
*/
|
|
7
|
+
export declare const coreColorTokens: {
|
|
8
|
+
readonly text: {
|
|
9
|
+
readonly primary: {
|
|
10
|
+
readonly value: {
|
|
11
|
+
readonly base: "#0f1728";
|
|
12
|
+
readonly _dark: "#f7f9fd";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
readonly secondary: {
|
|
16
|
+
readonly value: {
|
|
17
|
+
readonly base: "#405069";
|
|
18
|
+
readonly _dark: "#c8d1e0";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly muted: {
|
|
22
|
+
readonly value: {
|
|
23
|
+
readonly base: "#61708a";
|
|
24
|
+
readonly _dark: "#96a3b8";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly accent: {
|
|
28
|
+
readonly value: {
|
|
29
|
+
readonly base: "#315eff";
|
|
30
|
+
readonly _dark: "#8ab4ff";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly inverse: {
|
|
34
|
+
readonly value: {
|
|
35
|
+
readonly base: "#ffffff";
|
|
36
|
+
readonly _dark: "#08111f";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly error: {
|
|
40
|
+
readonly value: {
|
|
41
|
+
readonly base: "#d92d20";
|
|
42
|
+
readonly _dark: "#ff8e7f";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly bg: {
|
|
47
|
+
readonly canvas: {
|
|
48
|
+
readonly value: {
|
|
49
|
+
readonly base: "rgba(244, 248, 255, 0.8)";
|
|
50
|
+
readonly _dark: "rgba(0, 0, 0, 0.94)";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
readonly card: {
|
|
54
|
+
readonly value: {
|
|
55
|
+
readonly base: "rgba(255, 255, 255, 0.62)";
|
|
56
|
+
readonly _dark: "rgba(0, 0, 0, 0.82)";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
readonly cardStrong: {
|
|
60
|
+
readonly value: {
|
|
61
|
+
readonly base: "rgba(255, 255, 255, 0.78)";
|
|
62
|
+
readonly _dark: "rgba(7, 10, 15, 0.98)";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
readonly cardAlt: {
|
|
66
|
+
readonly value: {
|
|
67
|
+
readonly base: "rgba(248, 251, 255, 0.56)";
|
|
68
|
+
readonly _dark: "rgba(10, 13, 19, 0.94)";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly sidebar: {
|
|
72
|
+
readonly value: {
|
|
73
|
+
readonly base: "rgba(251, 253, 255, 0.68)";
|
|
74
|
+
readonly _dark: "rgba(0, 0, 0, 0.9)";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
readonly overlay: {
|
|
78
|
+
readonly value: {
|
|
79
|
+
readonly base: "rgba(255, 255, 255, 0.42)";
|
|
80
|
+
readonly _dark: "rgba(255, 255, 255, 0.02)";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
readonly input: {
|
|
84
|
+
readonly value: {
|
|
85
|
+
readonly base: "rgba(255, 255, 255, 0.72)";
|
|
86
|
+
readonly _dark: "rgba(12, 16, 23, 0.98)";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly selected: {
|
|
90
|
+
readonly value: {
|
|
91
|
+
readonly base: "rgba(60, 111, 255, 0.12)";
|
|
92
|
+
readonly _dark: "rgba(138, 180, 255, 0.16)";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
readonly hover: {
|
|
96
|
+
readonly value: {
|
|
97
|
+
readonly base: "rgba(49, 71, 115, 0.08)";
|
|
98
|
+
readonly _dark: "rgba(255, 255, 255, 0.06)";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly buttonOutline: {
|
|
102
|
+
readonly value: {
|
|
103
|
+
readonly base: "rgba(255, 255, 255, 0.48)";
|
|
104
|
+
readonly _dark: "rgba(14, 18, 26, 0.98)";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly header: {
|
|
108
|
+
readonly value: {
|
|
109
|
+
readonly base: "rgba(250, 252, 255, 0.58)";
|
|
110
|
+
readonly _dark: "rgba(0, 0, 0, 0.84)";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly menu: {
|
|
114
|
+
readonly value: {
|
|
115
|
+
readonly base: "rgba(255, 255, 255, 0.9)";
|
|
116
|
+
readonly _dark: "rgba(9, 12, 18, 0.99)";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly accentSoft: {
|
|
120
|
+
readonly value: {
|
|
121
|
+
readonly base: "rgba(49, 94, 255, 0.1)";
|
|
122
|
+
readonly _dark: "rgba(138, 180, 255, 0.18)";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly accentStrong: {
|
|
126
|
+
readonly value: {
|
|
127
|
+
readonly base: "rgba(49, 94, 255, 0.86)";
|
|
128
|
+
readonly _dark: "rgba(122, 170, 255, 0.82)";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly border: {
|
|
133
|
+
readonly soft: {
|
|
134
|
+
readonly value: {
|
|
135
|
+
readonly base: "rgba(148, 163, 184, 0.14)";
|
|
136
|
+
readonly _dark: "rgba(255, 255, 255, 0.035)";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
readonly subtle: {
|
|
140
|
+
readonly value: {
|
|
141
|
+
readonly base: "rgba(125, 146, 182, 0.2)";
|
|
142
|
+
readonly _dark: "rgba(255, 255, 255, 0.09)";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly default: {
|
|
146
|
+
readonly value: {
|
|
147
|
+
readonly base: "rgba(109, 130, 164, 0.28)";
|
|
148
|
+
readonly _dark: "rgba(255, 255, 255, 0.14)";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly strong: {
|
|
152
|
+
readonly value: {
|
|
153
|
+
readonly base: "rgba(80, 98, 127, 0.42)";
|
|
154
|
+
readonly _dark: "rgba(255, 255, 255, 0.22)";
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
readonly accent: {
|
|
158
|
+
readonly value: {
|
|
159
|
+
readonly base: "rgba(82, 121, 255, 0.5)";
|
|
160
|
+
readonly _dark: "rgba(125, 171, 255, 0.44)";
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
readonly badge: {
|
|
165
|
+
readonly successBg: {
|
|
166
|
+
readonly value: {
|
|
167
|
+
readonly base: "rgba(19, 163, 74, 0.12)";
|
|
168
|
+
readonly _dark: "rgba(19, 80, 58, 0.7)";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
readonly successText: {
|
|
172
|
+
readonly value: {
|
|
173
|
+
readonly base: "#136c45";
|
|
174
|
+
readonly _dark: "#7ff2c7";
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
readonly successBorder: {
|
|
178
|
+
readonly value: {
|
|
179
|
+
readonly base: "rgba(21, 128, 61, 0.22)";
|
|
180
|
+
readonly _dark: "rgba(127, 242, 199, 0.32)";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly warningBg: {
|
|
184
|
+
readonly value: {
|
|
185
|
+
readonly base: "rgba(245, 158, 11, 0.12)";
|
|
186
|
+
readonly _dark: "rgba(89, 58, 8, 0.76)";
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
readonly warningText: {
|
|
190
|
+
readonly value: {
|
|
191
|
+
readonly base: "#9a5b05";
|
|
192
|
+
readonly _dark: "#ffd36b";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly warningBorder: {
|
|
196
|
+
readonly value: {
|
|
197
|
+
readonly base: "rgba(217, 119, 6, 0.22)";
|
|
198
|
+
readonly _dark: "rgba(255, 211, 107, 0.32)";
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
readonly infoBg: {
|
|
202
|
+
readonly value: {
|
|
203
|
+
readonly base: "rgba(59, 130, 246, 0.11)";
|
|
204
|
+
readonly _dark: "rgba(24, 48, 92, 0.82)";
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
readonly infoText: {
|
|
208
|
+
readonly value: {
|
|
209
|
+
readonly base: "#2459d8";
|
|
210
|
+
readonly _dark: "#9ac1ff";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
readonly infoBorder: {
|
|
214
|
+
readonly value: {
|
|
215
|
+
readonly base: "rgba(37, 99, 235, 0.2)";
|
|
216
|
+
readonly _dark: "rgba(154, 193, 255, 0.3)";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly neutralBg: {
|
|
220
|
+
readonly value: {
|
|
221
|
+
readonly base: "rgba(99, 115, 148, 0.08)";
|
|
222
|
+
readonly _dark: "rgba(21, 26, 35, 0.92)";
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
readonly neutralText: {
|
|
226
|
+
readonly value: {
|
|
227
|
+
readonly base: "#4b5d7a";
|
|
228
|
+
readonly _dark: "#d0d7e4";
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
readonly neutralBorder: {
|
|
232
|
+
readonly value: {
|
|
233
|
+
readonly base: "rgba(109, 130, 164, 0.18)";
|
|
234
|
+
readonly _dark: "rgba(183, 195, 215, 0.22)";
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|