@c2n/theme 0.0.6 → 0.0.7
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/.tsbuildinfo +1 -1
- package/dist/base.css +386 -11
- package/dist/report.json +2532 -355
- package/dist/theme.css +419 -11
- package/dist/tokens.css +33 -0
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +15 -0
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.json +394 -12
- package/package.json +17 -2
package/dist/theme.css
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--c2-theme--color-primary-active: #01469a;
|
|
14
14
|
--c2-theme--color-on-primary: #ffffff;
|
|
15
15
|
--c2-theme--color-primary-container: #edf1fe;
|
|
16
|
+
--c2-theme--color-primary-glow: rgba(2, 101, 220, 0.2);
|
|
16
17
|
--c2-theme--color-surface: #ffffff;
|
|
17
18
|
--c2-theme--color-surface-container-low: #fafafa;
|
|
18
19
|
--c2-theme--color-surface-container: #f4f4f5;
|
|
@@ -40,6 +41,16 @@
|
|
|
40
41
|
--c2-theme--motion-scale: 1;
|
|
41
42
|
--c2-theme--shadow-md: 0 8px 24px rgba(24, 24, 27, 0.08);
|
|
42
43
|
--c2-theme--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.25);
|
|
44
|
+
--c2-theme--chart-series-1: #0265dc;
|
|
45
|
+
--c2-theme--chart-series-2: #ea580c;
|
|
46
|
+
--c2-theme--chart-series-3: #0f766e;
|
|
47
|
+
--c2-theme--chart-series-4: #db2777;
|
|
48
|
+
--c2-theme--chart-series-5: #a16207;
|
|
49
|
+
--c2-theme--chart-series-6: #7c3aed;
|
|
50
|
+
--c2-theme--chart-series-7: #0891b2;
|
|
51
|
+
--c2-theme--chart-series-8: #52525b;
|
|
52
|
+
--c2-theme--chart-positive: #16a34a;
|
|
53
|
+
--c2-theme--chart-negative: #dc2626;
|
|
43
54
|
}
|
|
44
55
|
|
|
45
56
|
[data-theme='dark'],
|
|
@@ -50,6 +61,7 @@
|
|
|
50
61
|
--c2-theme--color-primary-active: #9cc9ff;
|
|
51
62
|
--c2-theme--color-on-primary: #032a5c;
|
|
52
63
|
--c2-theme--color-primary-container: #0f2d5c;
|
|
64
|
+
--c2-theme--color-primary-glow: rgba(90, 163, 255, 0.28);
|
|
53
65
|
--c2-theme--color-surface: #18181b;
|
|
54
66
|
--c2-theme--color-surface-container-low: #1f1f23;
|
|
55
67
|
--c2-theme--color-surface-container: #27272a;
|
|
@@ -65,6 +77,16 @@
|
|
|
65
77
|
--c2-theme--focus-ring: 2px solid rgba(90, 163, 255, 0.5);
|
|
66
78
|
--c2-theme--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
67
79
|
--c2-theme--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
|
|
80
|
+
--c2-theme--chart-series-1: #5aa3ff;
|
|
81
|
+
--c2-theme--chart-series-2: #fb923c;
|
|
82
|
+
--c2-theme--chart-series-3: #2dd4bf;
|
|
83
|
+
--c2-theme--chart-series-4: #f472b6;
|
|
84
|
+
--c2-theme--chart-series-5: #fbbf24;
|
|
85
|
+
--c2-theme--chart-series-6: #a78bfa;
|
|
86
|
+
--c2-theme--chart-series-7: #22d3ee;
|
|
87
|
+
--c2-theme--chart-series-8: #a1a1aa;
|
|
88
|
+
--c2-theme--chart-positive: #4ade80;
|
|
89
|
+
--c2-theme--chart-negative: #f87171;
|
|
68
90
|
}
|
|
69
91
|
|
|
70
92
|
@media (prefers-color-scheme: dark) {
|
|
@@ -75,6 +97,7 @@
|
|
|
75
97
|
--c2-theme--color-primary-active: #9cc9ff;
|
|
76
98
|
--c2-theme--color-on-primary: #032a5c;
|
|
77
99
|
--c2-theme--color-primary-container: #0f2d5c;
|
|
100
|
+
--c2-theme--color-primary-glow: rgba(90, 163, 255, 0.28);
|
|
78
101
|
--c2-theme--color-surface: #18181b;
|
|
79
102
|
--c2-theme--color-surface-container-low: #1f1f23;
|
|
80
103
|
--c2-theme--color-surface-container: #27272a;
|
|
@@ -90,6 +113,16 @@
|
|
|
90
113
|
--c2-theme--focus-ring: 2px solid rgba(90, 163, 255, 0.5);
|
|
91
114
|
--c2-theme--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
92
115
|
--c2-theme--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
|
|
116
|
+
--c2-theme--chart-series-1: #5aa3ff;
|
|
117
|
+
--c2-theme--chart-series-2: #fb923c;
|
|
118
|
+
--c2-theme--chart-series-3: #2dd4bf;
|
|
119
|
+
--c2-theme--chart-series-4: #f472b6;
|
|
120
|
+
--c2-theme--chart-series-5: #fbbf24;
|
|
121
|
+
--c2-theme--chart-series-6: #a78bfa;
|
|
122
|
+
--c2-theme--chart-series-7: #22d3ee;
|
|
123
|
+
--c2-theme--chart-series-8: #a1a1aa;
|
|
124
|
+
--c2-theme--chart-positive: #4ade80;
|
|
125
|
+
--c2-theme--chart-negative: #f87171;
|
|
93
126
|
}
|
|
94
127
|
}
|
|
95
128
|
|
|
@@ -105,6 +138,61 @@
|
|
|
105
138
|
--c2-accordion--transition-duration: calc(300ms * var(--c2-theme--motion-scale, 1));
|
|
106
139
|
}
|
|
107
140
|
|
|
141
|
+
/* @c2n/attachment */
|
|
142
|
+
:root,
|
|
143
|
+
:host {
|
|
144
|
+
--c2-attachment--background: var(--c2-theme--color-surface, #ffffff);
|
|
145
|
+
--c2-attachment--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
146
|
+
--c2-attachment--border-radius: var(--c2-theme--radius-xl, 14px);
|
|
147
|
+
--c2-attachment--color: var(--c2-theme--color-on-surface, #18181b);
|
|
148
|
+
--c2-attachment__media--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
149
|
+
--c2-attachment__media--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
150
|
+
--c2-attachment__name--font-size: var(--c2-theme--font-size-md, 14px);
|
|
151
|
+
--c2-attachment__name--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
152
|
+
--c2-attachment__metadata--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
153
|
+
--c2-attachment__metadata--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
154
|
+
--c2-attachment__status--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
155
|
+
--c2-attachment__status__error--color: var(--c2-theme--color-error, #dc2626);
|
|
156
|
+
--c2-attachment__progress--background: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
157
|
+
--c2-attachment__progress--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
158
|
+
--c2-attachment__action--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
159
|
+
--c2-attachment__action__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
160
|
+
--c2-attachment__action__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
161
|
+
--c2-attachment__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* @c2n/autocomplete */
|
|
165
|
+
:root,
|
|
166
|
+
:host {
|
|
167
|
+
--c2-autocomplete--background: var(--c2-theme--color-surface, #ffffff);
|
|
168
|
+
--c2-autocomplete--color: var(--c2-theme--color-on-surface, #18181b);
|
|
169
|
+
--c2-autocomplete--font-size: var(--c2-theme--font-size-md, 14px);
|
|
170
|
+
--c2-autocomplete--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
171
|
+
--c2-autocomplete--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
172
|
+
--c2-autocomplete__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
173
|
+
--c2-autocomplete__focus--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
174
|
+
--c2-autocomplete__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
175
|
+
--c2-autocomplete__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
176
|
+
--c2-autocomplete__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
177
|
+
--c2-autocomplete__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
178
|
+
--c2-autocomplete__panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
179
|
+
--c2-autocomplete__panel--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
180
|
+
--c2-autocomplete__panel--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
181
|
+
--c2-autocomplete__panel--box-shadow: var(--c2-theme--shadow-md, 0 12px 32px rgba(24, 24, 27, 0.14));
|
|
182
|
+
--c2-autocomplete__header--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
183
|
+
--c2-autocomplete__header--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
184
|
+
--c2-autocomplete__footer--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
185
|
+
--c2-autocomplete__footer--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
186
|
+
--c2-autocomplete__option--border-radius: var(--c2-theme--radius-md, 6px);
|
|
187
|
+
--c2-autocomplete__option__active--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
188
|
+
--c2-autocomplete__option__active--color: var(--c2-theme--color-on-surface, #18181b);
|
|
189
|
+
--c2-autocomplete__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
190
|
+
--c2-autocomplete__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
191
|
+
--c2-autocomplete__highlight--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
192
|
+
--c2-autocomplete__highlight--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
193
|
+
--c2-autocomplete__status--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
194
|
+
}
|
|
195
|
+
|
|
108
196
|
/* @c2n/avatar */
|
|
109
197
|
:root,
|
|
110
198
|
:host {
|
|
@@ -181,26 +269,80 @@
|
|
|
181
269
|
--c2-card__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
182
270
|
}
|
|
183
271
|
|
|
272
|
+
/* @c2n/chart */
|
|
273
|
+
:root,
|
|
274
|
+
:host {
|
|
275
|
+
--c2-chart__axis-line--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
276
|
+
--c2-chart--background: var(--c2-theme--color-surface, #ffffff);
|
|
277
|
+
--c2-chart--color: var(--c2-theme--color-on-surface, #18181b);
|
|
278
|
+
--c2-chart--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
279
|
+
--c2-chart--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
280
|
+
--c2-chart--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
281
|
+
--c2-chart--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
282
|
+
--c2-chart--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
283
|
+
--c2-chart--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
284
|
+
--c2-chart--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
285
|
+
--c2-chart--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
286
|
+
--c2-chart--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
287
|
+
--c2-chart__series-1--color: var(--c2-theme--chart-series-1, #0265dc);
|
|
288
|
+
--c2-chart__series-2--color: var(--c2-theme--chart-series-2, #ea580c);
|
|
289
|
+
--c2-chart__series-3--color: var(--c2-theme--chart-series-3, #0f766e);
|
|
290
|
+
--c2-chart__series-4--color: var(--c2-theme--chart-series-4, #db2777);
|
|
291
|
+
--c2-chart__series-5--color: var(--c2-theme--chart-series-5, #a16207);
|
|
292
|
+
--c2-chart__series-6--color: var(--c2-theme--chart-series-6, #7c3aed);
|
|
293
|
+
--c2-chart__series-7--color: var(--c2-theme--chart-series-7, #0891b2);
|
|
294
|
+
--c2-chart__series-8--color: var(--c2-theme--chart-series-8, #52525b);
|
|
295
|
+
--c2-chart__axis--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
296
|
+
--c2-chart__axis--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
297
|
+
--c2-chart__grid--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
298
|
+
--c2-chart__crosshair--color: var(--c2-theme--color-on-surface-variant, #a1a1aa);
|
|
299
|
+
--c2-chart__surface--color: var(--c2-theme--color-surface, #ffffff);
|
|
300
|
+
--c2-chart__muted--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
301
|
+
--c2-chart__positive--color: var(--c2-theme--chart-positive, #16a34a);
|
|
302
|
+
--c2-chart__negative--color: var(--c2-theme--chart-negative, #dc2626);
|
|
303
|
+
--c2-chart__legend--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
304
|
+
--c2-chart__legend--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
305
|
+
--c2-chart__legend__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
306
|
+
--c2-chart__legend-marker--border-radius: var(--c2-theme--radius-full, 999px);
|
|
307
|
+
--c2-chart__tooltip--background-color: var(--c2-theme--color-inverse-surface, #18181b);
|
|
308
|
+
--c2-chart__tooltip--color: var(--c2-theme--color-on-inverse-surface, #fafafa);
|
|
309
|
+
--c2-chart__tooltip--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
310
|
+
--c2-chart__tooltip--border-radius: var(--c2-theme--radius-md, 6px);
|
|
311
|
+
--c2-chart__tooltip--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
312
|
+
--c2-chart__state--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
313
|
+
--c2-chart__state--font-size: var(--c2-theme--font-size-md, 14px);
|
|
314
|
+
--c2-chart__tone-positive--color: var(--c2-theme--chart-positive, #16a34a);
|
|
315
|
+
--c2-chart__tone-negative--color: var(--c2-theme--chart-negative, #dc2626);
|
|
316
|
+
--c2-chart__slice--border: 2px solid var(--c2-theme--color-surface, #ffffff);
|
|
317
|
+
}
|
|
318
|
+
|
|
184
319
|
/* @c2n/chat-input */
|
|
185
320
|
:root,
|
|
186
321
|
:host {
|
|
187
|
-
--c2-chat-
|
|
188
|
-
--c2-chat-
|
|
189
|
-
--c2-chat-
|
|
190
|
-
--c2-chat-
|
|
191
|
-
--c2-chat-
|
|
192
|
-
--c2-chat-
|
|
193
|
-
--c2-chat-
|
|
194
|
-
--c2-chat-
|
|
195
|
-
--c2-chat-
|
|
196
|
-
--c2-chat-
|
|
197
|
-
--c2-chat-
|
|
322
|
+
--c2-chat-input__container--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
323
|
+
--c2-chat-input__container--background: var(--c2-theme--color-surface, #ffffff);
|
|
324
|
+
--c2-chat-input__container--color: var(--c2-theme--color-on-surface, #18181b);
|
|
325
|
+
--c2-chat-input__container__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
326
|
+
--c2-chat-input__container__focus--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, #476ef9);
|
|
327
|
+
--c2-chat-input__container__invalid--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-error, #dc2626);
|
|
328
|
+
--c2-chat-input__container__disabled--opacity: var(--c2-theme--disabled-opacity, 0.5);
|
|
329
|
+
--c2-chat-input__textarea--font-size: var(--c2-theme--font-size-md, 14px);
|
|
330
|
+
--c2-chat-input__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
331
|
+
--c2-chat-input__send-button--background: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
332
|
+
--c2-chat-input__send-button--color: var(--c2-theme--color-on-primary, #ffffff);
|
|
333
|
+
--c2-chat-input__send-button__hover--background: var(--c2-theme--color-primary-hover, rgb(1, 84, 184));
|
|
334
|
+
--c2-chat-input__send-button__active--background: var(--c2-theme--color-primary-active, rgb(1, 70, 154));
|
|
335
|
+
--c2-chat-input__send-button__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
336
|
+
--c2-chat-input__send-button__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
198
337
|
}
|
|
199
338
|
|
|
200
339
|
/* @c2n/chat-message */
|
|
201
340
|
:root,
|
|
202
341
|
:host {
|
|
203
342
|
--c2-chat-message--font-size: var(--c2-theme--font-size-md, 14px);
|
|
343
|
+
--c2-chat-message__header__title--color: var(--c2-theme--color-on-surface, #18181b);
|
|
344
|
+
--c2-chat-message__header__title--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
345
|
+
--c2-chat-message__time--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
204
346
|
--c2-chat-message__time--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
205
347
|
}
|
|
206
348
|
|
|
@@ -336,6 +478,14 @@
|
|
|
336
478
|
--c2-details__header__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
337
479
|
}
|
|
338
480
|
|
|
481
|
+
/* @c2n/header */
|
|
482
|
+
:root,
|
|
483
|
+
:host {
|
|
484
|
+
--c2-header--background: var(--c2-theme--color-surface, #ffffff);
|
|
485
|
+
--c2-header--color: var(--c2-theme--color-on-surface, #18181b);
|
|
486
|
+
--c2-header--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
487
|
+
}
|
|
488
|
+
|
|
339
489
|
/* @c2n/icon-button */
|
|
340
490
|
:root,
|
|
341
491
|
:host {
|
|
@@ -346,6 +496,17 @@
|
|
|
346
496
|
--c2-icon-button__selected--background-color: var(--c2-theme--color-surface-container, rgb(230, 230, 230));
|
|
347
497
|
}
|
|
348
498
|
|
|
499
|
+
/* @c2n/kbd */
|
|
500
|
+
:root,
|
|
501
|
+
:host {
|
|
502
|
+
--c2-kbd--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
503
|
+
--c2-kbd--color: var(--c2-theme--color-on-surface-variant, #52525b);
|
|
504
|
+
--c2-kbd--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #d4d4d8));
|
|
505
|
+
--c2-kbd--font-family: var(--c2-theme--font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
|
|
506
|
+
--c2-kbd--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
507
|
+
--c2-kbd--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
508
|
+
}
|
|
509
|
+
|
|
349
510
|
/* @c2n/label */
|
|
350
511
|
:root,
|
|
351
512
|
:host {
|
|
@@ -399,6 +560,38 @@
|
|
|
399
560
|
--c2-list-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
400
561
|
}
|
|
401
562
|
|
|
563
|
+
/* @c2n/menu */
|
|
564
|
+
:root,
|
|
565
|
+
:host {
|
|
566
|
+
--c2-menu--background: var(--c2-theme--color-surface, #ffffff);
|
|
567
|
+
--c2-menu--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
568
|
+
--c2-menu--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
569
|
+
--c2-menu--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
570
|
+
--c2-menu--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
571
|
+
--c2-menu--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
572
|
+
--c2-menu--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
573
|
+
--c2-menu--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
574
|
+
--c2-menu--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
575
|
+
--c2-menu--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
576
|
+
--c2-menu__separator--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
577
|
+
--c2-menu__heading--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
578
|
+
--c2-menu__heading--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
579
|
+
--c2-menu-item--border-top-left-radius: var(--c2-theme--radius-md, 6px);
|
|
580
|
+
--c2-menu-item--border-top-right-radius: var(--c2-theme--radius-md, 6px);
|
|
581
|
+
--c2-menu-item--border-bottom-left-radius: var(--c2-theme--radius-md, 6px);
|
|
582
|
+
--c2-menu-item--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
583
|
+
--c2-menu-item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
584
|
+
--c2-menu-item--color: var(--c2-theme--color-on-surface, #18181b);
|
|
585
|
+
--c2-menu-item__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
586
|
+
--c2-menu-item__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
587
|
+
--c2-menu-item__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
588
|
+
--c2-menu-item__shortcut--color: var(--c2-theme--color-on-surface-variant, #52525b);
|
|
589
|
+
--c2-menu-item__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
590
|
+
--c2-menu-item__destructive--color: var(--c2-theme--color-error, #dc2626);
|
|
591
|
+
--c2-menu-item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
592
|
+
--c2-menu-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
593
|
+
}
|
|
594
|
+
|
|
402
595
|
/* @c2n/modal */
|
|
403
596
|
:root,
|
|
404
597
|
:host {
|
|
@@ -420,12 +613,117 @@
|
|
|
420
613
|
--c2-modal__backdrop--background: var(--c2-theme--color-scrim, rgba(9, 9, 11, 0.45));
|
|
421
614
|
}
|
|
422
615
|
|
|
616
|
+
/* @c2n/navigation-menu */
|
|
617
|
+
:root,
|
|
618
|
+
:host {
|
|
619
|
+
--c2-navigation-menu__mobile-trigger--color: var(--c2-theme--color-on-surface, #18181b);
|
|
620
|
+
--c2-navigation-menu__mobile-trigger--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
621
|
+
--c2-navigation-menu__mobile-trigger--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
622
|
+
--c2-navigation-menu__mobile-trigger__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
623
|
+
--c2-navigation-menu__mobile-trigger__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
624
|
+
--c2-navigation-menu__mobile-panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
625
|
+
--c2-navigation-menu__mobile-panel--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
626
|
+
--c2-navigation-menu__mobile-panel--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
627
|
+
--c2-navigation-menu__mobile-panel--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
628
|
+
--c2-navigation-menu__mobile-panel--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
629
|
+
--c2-navigation-menu__mobile-panel--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
630
|
+
--c2-navigation-menu__mobile-panel--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
631
|
+
--c2-navigation-menu__mobile-panel--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
632
|
+
--c2-navigation-menu__mobile-panel--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
633
|
+
--c2-navigation-menu__mobile-panel--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
634
|
+
--c2-navigation-menu-item--border-top-left-radius: var(--c2-theme--radius-md, 6px);
|
|
635
|
+
--c2-navigation-menu-item--border-top-right-radius: var(--c2-theme--radius-md, 6px);
|
|
636
|
+
--c2-navigation-menu-item--border-bottom-left-radius: var(--c2-theme--radius-md, 6px);
|
|
637
|
+
--c2-navigation-menu-item--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
638
|
+
--c2-navigation-menu-item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
639
|
+
--c2-navigation-menu-item--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
640
|
+
--c2-navigation-menu-item--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
641
|
+
--c2-navigation-menu-item__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
642
|
+
--c2-navigation-menu-item__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
643
|
+
--c2-navigation-menu-item__expanded--color: var(--c2-theme--color-on-surface, #18181b);
|
|
644
|
+
--c2-navigation-menu-item__expanded--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
645
|
+
--c2-navigation-menu-item__current--color: var(--c2-theme--color-on-surface, #18181b);
|
|
646
|
+
--c2-navigation-menu-item__current--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
647
|
+
--c2-navigation-menu-item__indicator--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
648
|
+
--c2-navigation-menu-item__indicator--border-radius: var(--c2-theme--radius-full, 999px);
|
|
649
|
+
--c2-navigation-menu-item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
650
|
+
--c2-navigation-menu-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
651
|
+
--c2-navigation-menu-item__mobile-heading--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
652
|
+
--c2-navigation-menu-item__mobile-heading--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
653
|
+
--c2-navigation-menu-item__panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
654
|
+
--c2-navigation-menu-item__panel--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
655
|
+
--c2-navigation-menu-item__panel--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
656
|
+
--c2-navigation-menu-item__panel--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
657
|
+
--c2-navigation-menu-item__panel--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
658
|
+
--c2-navigation-menu-item__panel--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
659
|
+
--c2-navigation-menu-item__panel--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
660
|
+
--c2-navigation-menu-item__panel--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
661
|
+
--c2-navigation-menu-item__panel--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
662
|
+
--c2-navigation-menu-item__panel--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
663
|
+
--c2-navigation-menu-link--border-top-left-radius: var(--c2-theme--radius-md, 6px);
|
|
664
|
+
--c2-navigation-menu-link--border-top-right-radius: var(--c2-theme--radius-md, 6px);
|
|
665
|
+
--c2-navigation-menu-link--border-bottom-left-radius: var(--c2-theme--radius-md, 6px);
|
|
666
|
+
--c2-navigation-menu-link--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
667
|
+
--c2-navigation-menu-link--font-size: var(--c2-theme--font-size-md, 14px);
|
|
668
|
+
--c2-navigation-menu-link--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
669
|
+
--c2-navigation-menu-link--color: var(--c2-theme--color-on-surface, #18181b);
|
|
670
|
+
--c2-navigation-menu-link__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
671
|
+
--c2-navigation-menu-link__current--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
672
|
+
--c2-navigation-menu-link__current--background: var(--c2-theme--color-primary-container, #edf1fe);
|
|
673
|
+
--c2-navigation-menu-link__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
674
|
+
--c2-navigation-menu-link__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
675
|
+
--c2-navigation-menu-link__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
676
|
+
--c2-navigation-menu-link__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
677
|
+
--c2-navigation-menu-link__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
678
|
+
}
|
|
679
|
+
|
|
423
680
|
/* @c2n/overlay */
|
|
424
681
|
:root,
|
|
425
682
|
:host {
|
|
426
683
|
--c2-overlay--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
427
684
|
}
|
|
428
685
|
|
|
686
|
+
/* @c2n/pagination */
|
|
687
|
+
:root,
|
|
688
|
+
:host {
|
|
689
|
+
--c2-pagination__item--color: var(--c2-theme--color-on-surface, #18181b);
|
|
690
|
+
--c2-pagination__item--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
691
|
+
--c2-pagination__item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
692
|
+
--c2-pagination__item--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
693
|
+
--c2-pagination__item__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
694
|
+
--c2-pagination__item__hover--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
695
|
+
--c2-pagination__item__selected--color: var(--c2-theme--color-on-surface, #18181b);
|
|
696
|
+
--c2-pagination__item__selected--background-color: var(--c2-theme--color-surface, #ffffff);
|
|
697
|
+
--c2-pagination__item__selected--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
698
|
+
--c2-pagination__item__selected--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
699
|
+
--c2-pagination__item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
700
|
+
--c2-pagination__item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
701
|
+
--c2-pagination__nav--color: var(--c2-theme--color-on-surface, #18181b);
|
|
702
|
+
--c2-pagination__nav--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
703
|
+
--c2-pagination__nav--font-size: var(--c2-theme--font-size-md, 14px);
|
|
704
|
+
--c2-pagination__nav--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
705
|
+
--c2-pagination__nav__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
706
|
+
--c2-pagination__nav__hover--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
707
|
+
--c2-pagination__ellipsis--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
708
|
+
--c2-pagination__label--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
709
|
+
--c2-pagination__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
710
|
+
--c2-pagination__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/* @c2n/progress */
|
|
714
|
+
:root,
|
|
715
|
+
:host {
|
|
716
|
+
--c2-progress--border-radius: var(--c2-theme--radius-full, 999px);
|
|
717
|
+
--c2-progress__track--background-color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
718
|
+
--c2-progress__indicator--background-color: var(--c2-theme--color-primary, #0265dc);
|
|
719
|
+
--c2-progress--animation-duration: calc(1.4s * var(--c2-theme--motion-scale, 1));
|
|
720
|
+
--c2-progress__label--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
721
|
+
--c2-progress__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
722
|
+
--c2-progress__value--color: var(--c2-theme--color-on-surface, #18181b);
|
|
723
|
+
--c2-progress__value--font-size: var(--c2-theme--font-size-md, 14px);
|
|
724
|
+
--c2-progress__value--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
725
|
+
}
|
|
726
|
+
|
|
429
727
|
/* @c2n/radio */
|
|
430
728
|
:root,
|
|
431
729
|
:host {
|
|
@@ -501,6 +799,23 @@
|
|
|
501
799
|
--c2-seperator__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
502
800
|
}
|
|
503
801
|
|
|
802
|
+
/* @c2n/sheet */
|
|
803
|
+
:root,
|
|
804
|
+
:host {
|
|
805
|
+
--c2-sheet--background: var(--c2-theme--color-surface, #ffffff);
|
|
806
|
+
--c2-sheet--color: var(--c2-theme--color-on-surface, #18181b);
|
|
807
|
+
--c2-sheet--box-shadow: var(--c2-theme--shadow-lg, 0 24px 60px rgba(0, 0, 0, 0.25));
|
|
808
|
+
--c2-sheet--transition-duration: calc(280ms * var(--c2-theme--motion-scale, 1));
|
|
809
|
+
--c2-sheet__header--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
810
|
+
--c2-sheet__body--font-size: var(--c2-theme--font-size-md, 14px);
|
|
811
|
+
--c2-sheet__close--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
812
|
+
--c2-sheet__close--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
813
|
+
--c2-sheet__close__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
814
|
+
--c2-sheet__close__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
815
|
+
--c2-sheet__close__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
816
|
+
--c2-sheet__backdrop--background: var(--c2-theme--color-scrim, rgba(9, 9, 11, 0.45));
|
|
817
|
+
}
|
|
818
|
+
|
|
504
819
|
/* @c2n/side-nav */
|
|
505
820
|
:root,
|
|
506
821
|
:host {
|
|
@@ -511,6 +826,14 @@
|
|
|
511
826
|
--c2-side-nav__backdrop--background-color: var(--c2-theme--color-scrim, rgba(0, 0, 0, 0.32));
|
|
512
827
|
}
|
|
513
828
|
|
|
829
|
+
/* @c2n/skeleton */
|
|
830
|
+
:root,
|
|
831
|
+
:host {
|
|
832
|
+
--c2-skeleton--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
833
|
+
--c2-skeleton--background-color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
834
|
+
--c2-skeleton--animation-duration: calc(1.6s * var(--c2-theme--motion-scale, 1));
|
|
835
|
+
}
|
|
836
|
+
|
|
514
837
|
/* @c2n/slider */
|
|
515
838
|
:root,
|
|
516
839
|
:host {
|
|
@@ -541,6 +864,23 @@
|
|
|
541
864
|
--c2-spinner__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
542
865
|
}
|
|
543
866
|
|
|
867
|
+
/* @c2n/stat */
|
|
868
|
+
:root,
|
|
869
|
+
:host {
|
|
870
|
+
--c2-stat--background: var(--c2-theme--color-surface, #ffffff);
|
|
871
|
+
--c2-stat--color: var(--c2-theme--color-on-surface, #18181b);
|
|
872
|
+
--c2-stat--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
873
|
+
--c2-stat--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
874
|
+
--c2-stat__icon--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
875
|
+
--c2-stat__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
876
|
+
--c2-stat__icon--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
877
|
+
--c2-stat__value--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
878
|
+
--c2-stat__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
879
|
+
--c2-stat__label--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
880
|
+
--c2-stat__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
881
|
+
--c2-stat__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
882
|
+
}
|
|
883
|
+
|
|
544
884
|
/* @c2n/switch */
|
|
545
885
|
:root,
|
|
546
886
|
:host {
|
|
@@ -560,6 +900,50 @@
|
|
|
560
900
|
--c2-switch--transition-duration: calc(200ms * var(--c2-theme--motion-scale, 1));
|
|
561
901
|
}
|
|
562
902
|
|
|
903
|
+
/* @c2n/table */
|
|
904
|
+
:root,
|
|
905
|
+
:host {
|
|
906
|
+
--c2-table--background: var(--c2-theme--color-surface, #ffffff);
|
|
907
|
+
--c2-table--color: var(--c2-theme--color-on-surface, #18181b);
|
|
908
|
+
--c2-table--font-size: var(--c2-theme--font-size-md, 14px);
|
|
909
|
+
--c2-table--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
910
|
+
--c2-table--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
911
|
+
--c2-table--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
912
|
+
--c2-table--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
913
|
+
--c2-table--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
914
|
+
--c2-table--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
915
|
+
--c2-table--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
916
|
+
--c2-table--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
917
|
+
--c2-table__header--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
918
|
+
--c2-table__header--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
919
|
+
--c2-table__header--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
920
|
+
--c2-table__header--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
921
|
+
--c2-table__header--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
922
|
+
--c2-table__header-cell__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
923
|
+
--c2-table__header-cell__sorted--color: var(--c2-theme--color-on-surface, #18181b);
|
|
924
|
+
--c2-table__sort-icon--color: var(--c2-theme--color-on-surface-variant, #a1a1aa);
|
|
925
|
+
--c2-table__sort-icon__active--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
926
|
+
--c2-table__resizer--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
927
|
+
--c2-table__resizer__hover--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
928
|
+
--c2-table__row--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
929
|
+
--c2-table__row__hover--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
930
|
+
--c2-table__row__odd--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
931
|
+
--c2-table__row__selected--background: var(--c2-theme--color-primary-container, #edf1fe);
|
|
932
|
+
--c2-table__row__selected--color: var(--c2-theme--color-on-surface, #18181b);
|
|
933
|
+
--c2-table__cell--font-size: var(--c2-theme--font-size-md, 14px);
|
|
934
|
+
--c2-table__cell--color: var(--c2-theme--color-on-surface, #18181b);
|
|
935
|
+
--c2-table__cell__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
936
|
+
--c2-table__pinned-start--box-shadow: 1px 0 0 0 var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
937
|
+
--c2-table__pinned-end--box-shadow: -1px 0 0 0 var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
938
|
+
--c2-table__skeleton--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
939
|
+
--c2-table__skeleton--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
940
|
+
--c2-table__state--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
941
|
+
--c2-table__state--font-size: var(--c2-theme--font-size-md, 14px);
|
|
942
|
+
--c2-table__state__error--color: var(--c2-theme--color-error, rgb(211, 21, 16));
|
|
943
|
+
--c2-table__toolbar--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
944
|
+
--c2-table__footer--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
945
|
+
}
|
|
946
|
+
|
|
563
947
|
/* @c2n/tabs */
|
|
564
948
|
:root,
|
|
565
949
|
:host {
|
|
@@ -660,3 +1044,27 @@
|
|
|
660
1044
|
--c2-tooltip--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
661
1045
|
--c2-tooltip--transition-duration: calc(120ms * var(--c2-theme--motion-scale, 1));
|
|
662
1046
|
}
|
|
1047
|
+
|
|
1048
|
+
/* @c2n/virtual-list */
|
|
1049
|
+
:root,
|
|
1050
|
+
:host {
|
|
1051
|
+
--c2-virtual-list--background: var(--c2-theme--color-surface, #ffffff);
|
|
1052
|
+
--c2-virtual-list--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1053
|
+
--c2-virtual-list--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1054
|
+
--c2-virtual-list--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
1055
|
+
--c2-virtual-list--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
1056
|
+
--c2-virtual-list--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
1057
|
+
--c2-virtual-list--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
1058
|
+
--c2-virtual-list__search--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1059
|
+
--c2-virtual-list__search-field--background: var(--c2-theme--color-surface, #ffffff);
|
|
1060
|
+
--c2-virtual-list__search-field--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1061
|
+
--c2-virtual-list__search-field--border-radius: var(--c2-theme--radius-md, 6px);
|
|
1062
|
+
--c2-virtual-list__highlight--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
1063
|
+
--c2-virtual-list__highlight--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
1064
|
+
--c2-virtual-list__skeleton--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1065
|
+
--c2-virtual-list__skeleton--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
1066
|
+
--c2-virtual-list__state--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1067
|
+
--c2-virtual-list__state--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1068
|
+
--c2-virtual-list__state__error--color: var(--c2-theme--color-error, rgb(211, 21, 16));
|
|
1069
|
+
--c2-virtual-list__footer--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1070
|
+
}
|
package/dist/tokens.css
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--c2-theme--color-primary-active: #01469a;
|
|
14
14
|
--c2-theme--color-on-primary: #ffffff;
|
|
15
15
|
--c2-theme--color-primary-container: #edf1fe;
|
|
16
|
+
--c2-theme--color-primary-glow: rgba(2, 101, 220, 0.2);
|
|
16
17
|
--c2-theme--color-surface: #ffffff;
|
|
17
18
|
--c2-theme--color-surface-container-low: #fafafa;
|
|
18
19
|
--c2-theme--color-surface-container: #f4f4f5;
|
|
@@ -40,6 +41,16 @@
|
|
|
40
41
|
--c2-theme--motion-scale: 1;
|
|
41
42
|
--c2-theme--shadow-md: 0 8px 24px rgba(24, 24, 27, 0.08);
|
|
42
43
|
--c2-theme--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.25);
|
|
44
|
+
--c2-theme--chart-series-1: #0265dc;
|
|
45
|
+
--c2-theme--chart-series-2: #ea580c;
|
|
46
|
+
--c2-theme--chart-series-3: #0f766e;
|
|
47
|
+
--c2-theme--chart-series-4: #db2777;
|
|
48
|
+
--c2-theme--chart-series-5: #a16207;
|
|
49
|
+
--c2-theme--chart-series-6: #7c3aed;
|
|
50
|
+
--c2-theme--chart-series-7: #0891b2;
|
|
51
|
+
--c2-theme--chart-series-8: #52525b;
|
|
52
|
+
--c2-theme--chart-positive: #16a34a;
|
|
53
|
+
--c2-theme--chart-negative: #dc2626;
|
|
43
54
|
}
|
|
44
55
|
|
|
45
56
|
[data-theme='dark'],
|
|
@@ -50,6 +61,7 @@
|
|
|
50
61
|
--c2-theme--color-primary-active: #9cc9ff;
|
|
51
62
|
--c2-theme--color-on-primary: #032a5c;
|
|
52
63
|
--c2-theme--color-primary-container: #0f2d5c;
|
|
64
|
+
--c2-theme--color-primary-glow: rgba(90, 163, 255, 0.28);
|
|
53
65
|
--c2-theme--color-surface: #18181b;
|
|
54
66
|
--c2-theme--color-surface-container-low: #1f1f23;
|
|
55
67
|
--c2-theme--color-surface-container: #27272a;
|
|
@@ -65,6 +77,16 @@
|
|
|
65
77
|
--c2-theme--focus-ring: 2px solid rgba(90, 163, 255, 0.5);
|
|
66
78
|
--c2-theme--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
67
79
|
--c2-theme--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
|
|
80
|
+
--c2-theme--chart-series-1: #5aa3ff;
|
|
81
|
+
--c2-theme--chart-series-2: #fb923c;
|
|
82
|
+
--c2-theme--chart-series-3: #2dd4bf;
|
|
83
|
+
--c2-theme--chart-series-4: #f472b6;
|
|
84
|
+
--c2-theme--chart-series-5: #fbbf24;
|
|
85
|
+
--c2-theme--chart-series-6: #a78bfa;
|
|
86
|
+
--c2-theme--chart-series-7: #22d3ee;
|
|
87
|
+
--c2-theme--chart-series-8: #a1a1aa;
|
|
88
|
+
--c2-theme--chart-positive: #4ade80;
|
|
89
|
+
--c2-theme--chart-negative: #f87171;
|
|
68
90
|
}
|
|
69
91
|
|
|
70
92
|
@media (prefers-color-scheme: dark) {
|
|
@@ -75,6 +97,7 @@
|
|
|
75
97
|
--c2-theme--color-primary-active: #9cc9ff;
|
|
76
98
|
--c2-theme--color-on-primary: #032a5c;
|
|
77
99
|
--c2-theme--color-primary-container: #0f2d5c;
|
|
100
|
+
--c2-theme--color-primary-glow: rgba(90, 163, 255, 0.28);
|
|
78
101
|
--c2-theme--color-surface: #18181b;
|
|
79
102
|
--c2-theme--color-surface-container-low: #1f1f23;
|
|
80
103
|
--c2-theme--color-surface-container: #27272a;
|
|
@@ -90,5 +113,15 @@
|
|
|
90
113
|
--c2-theme--focus-ring: 2px solid rgba(90, 163, 255, 0.5);
|
|
91
114
|
--c2-theme--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
92
115
|
--c2-theme--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
|
|
116
|
+
--c2-theme--chart-series-1: #5aa3ff;
|
|
117
|
+
--c2-theme--chart-series-2: #fb923c;
|
|
118
|
+
--c2-theme--chart-series-3: #2dd4bf;
|
|
119
|
+
--c2-theme--chart-series-4: #f472b6;
|
|
120
|
+
--c2-theme--chart-series-5: #fbbf24;
|
|
121
|
+
--c2-theme--chart-series-6: #a78bfa;
|
|
122
|
+
--c2-theme--chart-series-7: #22d3ee;
|
|
123
|
+
--c2-theme--chart-series-8: #a1a1aa;
|
|
124
|
+
--c2-theme--chart-positive: #4ade80;
|
|
125
|
+
--c2-theme--chart-negative: #f87171;
|
|
93
126
|
}
|
|
94
127
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Keep this file to erasable TypeScript syntax: the theme generator imports it directly under Node.
|
|
10
10
|
*/
|
|
11
11
|
export declare const TOKEN_PREFIX = "--c2-theme--";
|
|
12
|
-
export type TokenCategory = 'color' | 'font' | 'radius' | 'border' | 'focus' | 'disabled' | 'motion' | 'shadow';
|
|
12
|
+
export type TokenCategory = 'color' | 'font' | 'radius' | 'border' | 'focus' | 'disabled' | 'motion' | 'shadow' | 'chart';
|
|
13
13
|
export interface TokenDef {
|
|
14
14
|
/** Full custom property name, e.g. `--c2-theme--color-primary`. */
|
|
15
15
|
name: string;
|
package/dist/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEzH,MAAM,WAAW,QAAQ;IACvB,mEAAmE;IACnE,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,aAAa,CAAA;IACvB,uFAAuF;IACvF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACpB;AAMD,eAAO,MAAM,MAAM,EAAE,QAAQ,EAoE5B,CAAA;AAED,eAAO,MAAM,UAAU,UAA4B,CAAA;AAEnD,wCAAwC;AACxC,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAE3D"}
|