@c2n/theme 0.0.6 → 0.0.8
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 +458 -11
- package/dist/report.json +2940 -485
- package/dist/theme.css +491 -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 +451 -12
- package/package.json +20 -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,60 @@
|
|
|
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__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
175
|
+
--c2-autocomplete__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
176
|
+
--c2-autocomplete__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
177
|
+
--c2-autocomplete__panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
178
|
+
--c2-autocomplete__panel--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
179
|
+
--c2-autocomplete__panel--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
180
|
+
--c2-autocomplete__panel--box-shadow: var(--c2-theme--shadow-md, 0 12px 32px rgba(24, 24, 27, 0.14));
|
|
181
|
+
--c2-autocomplete__header--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
182
|
+
--c2-autocomplete__header--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
183
|
+
--c2-autocomplete__footer--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
184
|
+
--c2-autocomplete__footer--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
185
|
+
--c2-autocomplete__option--border-radius: var(--c2-theme--radius-md, 6px);
|
|
186
|
+
--c2-autocomplete__option__active--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
187
|
+
--c2-autocomplete__option__active--color: var(--c2-theme--color-on-surface, #18181b);
|
|
188
|
+
--c2-autocomplete__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
189
|
+
--c2-autocomplete__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
190
|
+
--c2-autocomplete__highlight--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
191
|
+
--c2-autocomplete__highlight--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
192
|
+
--c2-autocomplete__status--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
193
|
+
}
|
|
194
|
+
|
|
108
195
|
/* @c2n/avatar */
|
|
109
196
|
:root,
|
|
110
197
|
:host {
|
|
@@ -181,26 +268,80 @@
|
|
|
181
268
|
--c2-card__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
182
269
|
}
|
|
183
270
|
|
|
271
|
+
/* @c2n/chart */
|
|
272
|
+
:root,
|
|
273
|
+
:host {
|
|
274
|
+
--c2-chart__axis-line--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
275
|
+
--c2-chart--background: var(--c2-theme--color-surface, #ffffff);
|
|
276
|
+
--c2-chart--color: var(--c2-theme--color-on-surface, #18181b);
|
|
277
|
+
--c2-chart--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
278
|
+
--c2-chart--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
279
|
+
--c2-chart--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
280
|
+
--c2-chart--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
281
|
+
--c2-chart--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
282
|
+
--c2-chart--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
283
|
+
--c2-chart--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
284
|
+
--c2-chart--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
285
|
+
--c2-chart--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
286
|
+
--c2-chart__series-1--color: var(--c2-theme--chart-series-1, #0265dc);
|
|
287
|
+
--c2-chart__series-2--color: var(--c2-theme--chart-series-2, #ea580c);
|
|
288
|
+
--c2-chart__series-3--color: var(--c2-theme--chart-series-3, #0f766e);
|
|
289
|
+
--c2-chart__series-4--color: var(--c2-theme--chart-series-4, #db2777);
|
|
290
|
+
--c2-chart__series-5--color: var(--c2-theme--chart-series-5, #a16207);
|
|
291
|
+
--c2-chart__series-6--color: var(--c2-theme--chart-series-6, #7c3aed);
|
|
292
|
+
--c2-chart__series-7--color: var(--c2-theme--chart-series-7, #0891b2);
|
|
293
|
+
--c2-chart__series-8--color: var(--c2-theme--chart-series-8, #52525b);
|
|
294
|
+
--c2-chart__axis--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
295
|
+
--c2-chart__axis--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
296
|
+
--c2-chart__grid--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
297
|
+
--c2-chart__crosshair--color: var(--c2-theme--color-on-surface-variant, #a1a1aa);
|
|
298
|
+
--c2-chart__surface--color: var(--c2-theme--color-surface, #ffffff);
|
|
299
|
+
--c2-chart__muted--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
300
|
+
--c2-chart__positive--color: var(--c2-theme--chart-positive, #16a34a);
|
|
301
|
+
--c2-chart__negative--color: var(--c2-theme--chart-negative, #dc2626);
|
|
302
|
+
--c2-chart__legend--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
303
|
+
--c2-chart__legend--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
304
|
+
--c2-chart__legend__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
305
|
+
--c2-chart__legend-marker--border-radius: var(--c2-theme--radius-full, 999px);
|
|
306
|
+
--c2-chart__tooltip--background-color: var(--c2-theme--color-inverse-surface, #18181b);
|
|
307
|
+
--c2-chart__tooltip--color: var(--c2-theme--color-on-inverse-surface, #fafafa);
|
|
308
|
+
--c2-chart__tooltip--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
309
|
+
--c2-chart__tooltip--border-radius: var(--c2-theme--radius-md, 6px);
|
|
310
|
+
--c2-chart__tooltip--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
311
|
+
--c2-chart__state--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
312
|
+
--c2-chart__state--font-size: var(--c2-theme--font-size-md, 14px);
|
|
313
|
+
--c2-chart__tone-positive--color: var(--c2-theme--chart-positive, #16a34a);
|
|
314
|
+
--c2-chart__tone-negative--color: var(--c2-theme--chart-negative, #dc2626);
|
|
315
|
+
--c2-chart__slice--border: 2px solid var(--c2-theme--color-surface, #ffffff);
|
|
316
|
+
}
|
|
317
|
+
|
|
184
318
|
/* @c2n/chat-input */
|
|
185
319
|
:root,
|
|
186
320
|
: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-
|
|
321
|
+
--c2-chat-input__container--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
322
|
+
--c2-chat-input__container--background: var(--c2-theme--color-surface, #ffffff);
|
|
323
|
+
--c2-chat-input__container--color: var(--c2-theme--color-on-surface, #18181b);
|
|
324
|
+
--c2-chat-input__container__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
325
|
+
--c2-chat-input__container__focus--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, #476ef9);
|
|
326
|
+
--c2-chat-input__container__invalid--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-error, #dc2626);
|
|
327
|
+
--c2-chat-input__container__disabled--opacity: var(--c2-theme--disabled-opacity, 0.5);
|
|
328
|
+
--c2-chat-input__textarea--font-size: var(--c2-theme--font-size-md, 14px);
|
|
329
|
+
--c2-chat-input__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
330
|
+
--c2-chat-input__send-button--background: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
331
|
+
--c2-chat-input__send-button--color: var(--c2-theme--color-on-primary, #ffffff);
|
|
332
|
+
--c2-chat-input__send-button__hover--background: var(--c2-theme--color-primary-hover, rgb(1, 84, 184));
|
|
333
|
+
--c2-chat-input__send-button__active--background: var(--c2-theme--color-primary-active, rgb(1, 70, 154));
|
|
334
|
+
--c2-chat-input__send-button__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
335
|
+
--c2-chat-input__send-button__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
198
336
|
}
|
|
199
337
|
|
|
200
338
|
/* @c2n/chat-message */
|
|
201
339
|
:root,
|
|
202
340
|
:host {
|
|
203
341
|
--c2-chat-message--font-size: var(--c2-theme--font-size-md, 14px);
|
|
342
|
+
--c2-chat-message__header__title--color: var(--c2-theme--color-on-surface, #18181b);
|
|
343
|
+
--c2-chat-message__header__title--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
344
|
+
--c2-chat-message__time--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
204
345
|
--c2-chat-message__time--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
205
346
|
}
|
|
206
347
|
|
|
@@ -315,6 +456,53 @@
|
|
|
315
456
|
--c2-copy-button--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
316
457
|
}
|
|
317
458
|
|
|
459
|
+
/* @c2n/date-input */
|
|
460
|
+
:root,
|
|
461
|
+
:host {
|
|
462
|
+
--c2-date-input--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
463
|
+
--c2-date-input--border-radius: var(--c2-theme--radius-md, 6px);
|
|
464
|
+
--c2-date-input--color: var(--c2-theme--color-on-surface, #18181b);
|
|
465
|
+
--c2-date-input--background: var(--c2-theme--color-surface, #ffffff);
|
|
466
|
+
--c2-date-input--font-size: var(--c2-theme--font-size-md, 14px);
|
|
467
|
+
--c2-date-input__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
468
|
+
--c2-date-input__focus--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, #0265dc);
|
|
469
|
+
--c2-date-input__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
470
|
+
--c2-date-input__error--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-error, #dc2626);
|
|
471
|
+
--c2-date-input__read-only--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
472
|
+
--c2-date-input__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
473
|
+
--c2-date-input__calendar-icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
474
|
+
--c2-date-input__calendar-icon__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
475
|
+
--c2-date-input__supporting-text--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
476
|
+
--c2-date-input__supporting-text--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
477
|
+
--c2-date-input__supporting-text__error--color: var(--c2-theme--color-error, #dc2626);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/* @c2n/date-selector */
|
|
481
|
+
:root,
|
|
482
|
+
:host {
|
|
483
|
+
--c2-date-selector--background: var(--c2-theme--color-surface, #ffffff);
|
|
484
|
+
--c2-date-selector--color: var(--c2-theme--color-on-surface, #18181b);
|
|
485
|
+
--c2-date-selector--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
486
|
+
--c2-date-selector--border-radius: var(--c2-theme--radius-xl, 14px);
|
|
487
|
+
--c2-date-selector--box-shadow: var(--c2-theme--shadow-md, 0 12px 32px rgba(24, 24, 27, 0.08));
|
|
488
|
+
--c2-date-selector--font-size: var(--c2-theme--font-size-md, 14px);
|
|
489
|
+
--c2-date-selector__day--border-radius: var(--c2-theme--radius-full, 999px);
|
|
490
|
+
--c2-date-selector__day__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
491
|
+
--c2-date-selector__day__today--color: var(--c2-theme--color-primary, #0265dc);
|
|
492
|
+
--c2-date-selector__day__today--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
493
|
+
--c2-date-selector__day__selected--background: var(--c2-theme--color-primary, #0265dc);
|
|
494
|
+
--c2-date-selector__day__selected--color: var(--c2-theme--color-on-primary, #ffffff);
|
|
495
|
+
--c2-date-selector__range--background: var(--c2-theme--color-primary-container, #edf1fe);
|
|
496
|
+
--c2-date-selector__range--color: var(--c2-theme--color-on-surface, #18181b);
|
|
497
|
+
--c2-date-selector__day__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
498
|
+
--c2-date-selector__weekday--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
499
|
+
--c2-date-selector__weekday--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
500
|
+
--c2-date-selector__month-title--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
501
|
+
--c2-date-selector__navigation__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
502
|
+
--c2-date-selector__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
503
|
+
--c2-date-selector__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
504
|
+
}
|
|
505
|
+
|
|
318
506
|
/* @c2n/details */
|
|
319
507
|
:root,
|
|
320
508
|
:host {
|
|
@@ -336,6 +524,14 @@
|
|
|
336
524
|
--c2-details__header__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
337
525
|
}
|
|
338
526
|
|
|
527
|
+
/* @c2n/header */
|
|
528
|
+
:root,
|
|
529
|
+
:host {
|
|
530
|
+
--c2-header--background: var(--c2-theme--color-surface, #ffffff);
|
|
531
|
+
--c2-header--color: var(--c2-theme--color-on-surface, #18181b);
|
|
532
|
+
--c2-header--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
533
|
+
}
|
|
534
|
+
|
|
339
535
|
/* @c2n/icon-button */
|
|
340
536
|
:root,
|
|
341
537
|
:host {
|
|
@@ -346,6 +542,17 @@
|
|
|
346
542
|
--c2-icon-button__selected--background-color: var(--c2-theme--color-surface-container, rgb(230, 230, 230));
|
|
347
543
|
}
|
|
348
544
|
|
|
545
|
+
/* @c2n/kbd */
|
|
546
|
+
:root,
|
|
547
|
+
:host {
|
|
548
|
+
--c2-kbd--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
549
|
+
--c2-kbd--color: var(--c2-theme--color-on-surface-variant, #52525b);
|
|
550
|
+
--c2-kbd--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #d4d4d8));
|
|
551
|
+
--c2-kbd--font-family: var(--c2-theme--font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
|
|
552
|
+
--c2-kbd--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
553
|
+
--c2-kbd--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
554
|
+
}
|
|
555
|
+
|
|
349
556
|
/* @c2n/label */
|
|
350
557
|
:root,
|
|
351
558
|
:host {
|
|
@@ -399,6 +606,38 @@
|
|
|
399
606
|
--c2-list-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
400
607
|
}
|
|
401
608
|
|
|
609
|
+
/* @c2n/menu */
|
|
610
|
+
:root,
|
|
611
|
+
:host {
|
|
612
|
+
--c2-menu--background: var(--c2-theme--color-surface, #ffffff);
|
|
613
|
+
--c2-menu--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
614
|
+
--c2-menu--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
615
|
+
--c2-menu--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
616
|
+
--c2-menu--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
617
|
+
--c2-menu--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
618
|
+
--c2-menu--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
619
|
+
--c2-menu--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
620
|
+
--c2-menu--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
621
|
+
--c2-menu--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
622
|
+
--c2-menu__separator--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
623
|
+
--c2-menu__heading--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
624
|
+
--c2-menu__heading--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
625
|
+
--c2-menu-item--border-top-left-radius: var(--c2-theme--radius-md, 6px);
|
|
626
|
+
--c2-menu-item--border-top-right-radius: var(--c2-theme--radius-md, 6px);
|
|
627
|
+
--c2-menu-item--border-bottom-left-radius: var(--c2-theme--radius-md, 6px);
|
|
628
|
+
--c2-menu-item--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
629
|
+
--c2-menu-item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
630
|
+
--c2-menu-item--color: var(--c2-theme--color-on-surface, #18181b);
|
|
631
|
+
--c2-menu-item__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
632
|
+
--c2-menu-item__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
633
|
+
--c2-menu-item__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
634
|
+
--c2-menu-item__shortcut--color: var(--c2-theme--color-on-surface-variant, #52525b);
|
|
635
|
+
--c2-menu-item__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
636
|
+
--c2-menu-item__destructive--color: var(--c2-theme--color-error, #dc2626);
|
|
637
|
+
--c2-menu-item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
638
|
+
--c2-menu-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
639
|
+
}
|
|
640
|
+
|
|
402
641
|
/* @c2n/modal */
|
|
403
642
|
:root,
|
|
404
643
|
:host {
|
|
@@ -420,12 +659,143 @@
|
|
|
420
659
|
--c2-modal__backdrop--background: var(--c2-theme--color-scrim, rgba(9, 9, 11, 0.45));
|
|
421
660
|
}
|
|
422
661
|
|
|
662
|
+
/* @c2n/navigation-menu */
|
|
663
|
+
:root,
|
|
664
|
+
:host {
|
|
665
|
+
--c2-navigation-menu__mobile-trigger--color: var(--c2-theme--color-on-surface, #18181b);
|
|
666
|
+
--c2-navigation-menu__mobile-trigger--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
667
|
+
--c2-navigation-menu__mobile-trigger--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
668
|
+
--c2-navigation-menu__mobile-trigger__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
669
|
+
--c2-navigation-menu__mobile-trigger__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
670
|
+
--c2-navigation-menu__mobile-panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
671
|
+
--c2-navigation-menu__mobile-panel--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
672
|
+
--c2-navigation-menu__mobile-panel--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
673
|
+
--c2-navigation-menu__mobile-panel--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
674
|
+
--c2-navigation-menu__mobile-panel--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
675
|
+
--c2-navigation-menu__mobile-panel--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
676
|
+
--c2-navigation-menu__mobile-panel--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
677
|
+
--c2-navigation-menu__mobile-panel--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
678
|
+
--c2-navigation-menu__mobile-panel--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
679
|
+
--c2-navigation-menu__mobile-panel--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
680
|
+
--c2-navigation-menu-item--border-top-left-radius: var(--c2-theme--radius-md, 6px);
|
|
681
|
+
--c2-navigation-menu-item--border-top-right-radius: var(--c2-theme--radius-md, 6px);
|
|
682
|
+
--c2-navigation-menu-item--border-bottom-left-radius: var(--c2-theme--radius-md, 6px);
|
|
683
|
+
--c2-navigation-menu-item--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
684
|
+
--c2-navigation-menu-item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
685
|
+
--c2-navigation-menu-item--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
686
|
+
--c2-navigation-menu-item--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
687
|
+
--c2-navigation-menu-item__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
688
|
+
--c2-navigation-menu-item__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
689
|
+
--c2-navigation-menu-item__expanded--color: var(--c2-theme--color-on-surface, #18181b);
|
|
690
|
+
--c2-navigation-menu-item__expanded--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
691
|
+
--c2-navigation-menu-item__current--color: var(--c2-theme--color-on-surface, #18181b);
|
|
692
|
+
--c2-navigation-menu-item__current--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
693
|
+
--c2-navigation-menu-item__indicator--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
694
|
+
--c2-navigation-menu-item__indicator--border-radius: var(--c2-theme--radius-full, 999px);
|
|
695
|
+
--c2-navigation-menu-item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
696
|
+
--c2-navigation-menu-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
697
|
+
--c2-navigation-menu-item__mobile-heading--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
698
|
+
--c2-navigation-menu-item__mobile-heading--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
699
|
+
--c2-navigation-menu-item__panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
700
|
+
--c2-navigation-menu-item__panel--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
701
|
+
--c2-navigation-menu-item__panel--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
702
|
+
--c2-navigation-menu-item__panel--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
703
|
+
--c2-navigation-menu-item__panel--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
704
|
+
--c2-navigation-menu-item__panel--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
705
|
+
--c2-navigation-menu-item__panel--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
706
|
+
--c2-navigation-menu-item__panel--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
707
|
+
--c2-navigation-menu-item__panel--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
708
|
+
--c2-navigation-menu-item__panel--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
709
|
+
--c2-navigation-menu-link--border-top-left-radius: var(--c2-theme--radius-md, 6px);
|
|
710
|
+
--c2-navigation-menu-link--border-top-right-radius: var(--c2-theme--radius-md, 6px);
|
|
711
|
+
--c2-navigation-menu-link--border-bottom-left-radius: var(--c2-theme--radius-md, 6px);
|
|
712
|
+
--c2-navigation-menu-link--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
713
|
+
--c2-navigation-menu-link--font-size: var(--c2-theme--font-size-md, 14px);
|
|
714
|
+
--c2-navigation-menu-link--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
715
|
+
--c2-navigation-menu-link--color: var(--c2-theme--color-on-surface, #18181b);
|
|
716
|
+
--c2-navigation-menu-link__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
717
|
+
--c2-navigation-menu-link__current--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
718
|
+
--c2-navigation-menu-link__current--background: var(--c2-theme--color-primary-container, #edf1fe);
|
|
719
|
+
--c2-navigation-menu-link__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
720
|
+
--c2-navigation-menu-link__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
721
|
+
--c2-navigation-menu-link__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
722
|
+
--c2-navigation-menu-link__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
723
|
+
--c2-navigation-menu-link__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/* @c2n/number-input */
|
|
727
|
+
:root,
|
|
728
|
+
:host {
|
|
729
|
+
--c2-number-input--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
730
|
+
--c2-number-input--border-radius: var(--c2-theme--radius-md, 6px);
|
|
731
|
+
--c2-number-input--color: var(--c2-theme--color-on-surface, #18181b);
|
|
732
|
+
--c2-number-input--background: var(--c2-theme--color-surface, #ffffff);
|
|
733
|
+
--c2-number-input--font-size: var(--c2-theme--font-size-md, 14px);
|
|
734
|
+
--c2-number-input__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
735
|
+
--c2-number-input__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
736
|
+
--c2-number-input__focus--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, #0265dc);
|
|
737
|
+
--c2-number-input__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
738
|
+
--c2-number-input__error--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-error, #dc2626);
|
|
739
|
+
--c2-number-input__read-only--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
740
|
+
--c2-number-input__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
741
|
+
--c2-number-input__stepper--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
742
|
+
--c2-number-input__stepper--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
743
|
+
--c2-number-input__stepper__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
744
|
+
--c2-number-input__stepper__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
745
|
+
--c2-number-input__adornment--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
746
|
+
--c2-number-input__adornment--font-size: var(--c2-theme--font-size-md, 14px);
|
|
747
|
+
--c2-number-input__supporting-text--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
748
|
+
--c2-number-input__supporting-text--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
749
|
+
--c2-number-input__supporting-text__error--color: var(--c2-theme--color-error, #dc2626);
|
|
750
|
+
}
|
|
751
|
+
|
|
423
752
|
/* @c2n/overlay */
|
|
424
753
|
:root,
|
|
425
754
|
:host {
|
|
426
755
|
--c2-overlay--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
427
756
|
}
|
|
428
757
|
|
|
758
|
+
/* @c2n/pagination */
|
|
759
|
+
:root,
|
|
760
|
+
:host {
|
|
761
|
+
--c2-pagination__item--color: var(--c2-theme--color-on-surface, #18181b);
|
|
762
|
+
--c2-pagination__item--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
763
|
+
--c2-pagination__item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
764
|
+
--c2-pagination__item--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
765
|
+
--c2-pagination__item__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
766
|
+
--c2-pagination__item__hover--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
767
|
+
--c2-pagination__item__selected--color: var(--c2-theme--color-on-surface, #18181b);
|
|
768
|
+
--c2-pagination__item__selected--background-color: var(--c2-theme--color-surface, #ffffff);
|
|
769
|
+
--c2-pagination__item__selected--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
770
|
+
--c2-pagination__item__selected--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
771
|
+
--c2-pagination__item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
772
|
+
--c2-pagination__item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
773
|
+
--c2-pagination__nav--color: var(--c2-theme--color-on-surface, #18181b);
|
|
774
|
+
--c2-pagination__nav--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
775
|
+
--c2-pagination__nav--font-size: var(--c2-theme--font-size-md, 14px);
|
|
776
|
+
--c2-pagination__nav--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
777
|
+
--c2-pagination__nav__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
778
|
+
--c2-pagination__nav__hover--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
779
|
+
--c2-pagination__ellipsis--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
780
|
+
--c2-pagination__label--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
781
|
+
--c2-pagination__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
782
|
+
--c2-pagination__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/* @c2n/progress */
|
|
786
|
+
:root,
|
|
787
|
+
:host {
|
|
788
|
+
--c2-progress--border-radius: var(--c2-theme--radius-full, 999px);
|
|
789
|
+
--c2-progress__track--background-color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
790
|
+
--c2-progress__indicator--background-color: var(--c2-theme--color-primary, #0265dc);
|
|
791
|
+
--c2-progress--animation-duration: calc(1.4s * var(--c2-theme--motion-scale, 1));
|
|
792
|
+
--c2-progress__label--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
793
|
+
--c2-progress__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
794
|
+
--c2-progress__value--color: var(--c2-theme--color-on-surface, #18181b);
|
|
795
|
+
--c2-progress__value--font-size: var(--c2-theme--font-size-md, 14px);
|
|
796
|
+
--c2-progress__value--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
797
|
+
}
|
|
798
|
+
|
|
429
799
|
/* @c2n/radio */
|
|
430
800
|
:root,
|
|
431
801
|
:host {
|
|
@@ -501,6 +871,23 @@
|
|
|
501
871
|
--c2-seperator__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
502
872
|
}
|
|
503
873
|
|
|
874
|
+
/* @c2n/sheet */
|
|
875
|
+
:root,
|
|
876
|
+
:host {
|
|
877
|
+
--c2-sheet--background: var(--c2-theme--color-surface, #ffffff);
|
|
878
|
+
--c2-sheet--color: var(--c2-theme--color-on-surface, #18181b);
|
|
879
|
+
--c2-sheet--box-shadow: var(--c2-theme--shadow-lg, 0 24px 60px rgba(0, 0, 0, 0.25));
|
|
880
|
+
--c2-sheet--transition-duration: calc(280ms * var(--c2-theme--motion-scale, 1));
|
|
881
|
+
--c2-sheet__header--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
882
|
+
--c2-sheet__body--font-size: var(--c2-theme--font-size-md, 14px);
|
|
883
|
+
--c2-sheet__close--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
884
|
+
--c2-sheet__close--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
885
|
+
--c2-sheet__close__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
886
|
+
--c2-sheet__close__hover--color: var(--c2-theme--color-on-surface, #18181b);
|
|
887
|
+
--c2-sheet__close__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
888
|
+
--c2-sheet__backdrop--background: var(--c2-theme--color-scrim, rgba(9, 9, 11, 0.45));
|
|
889
|
+
}
|
|
890
|
+
|
|
504
891
|
/* @c2n/side-nav */
|
|
505
892
|
:root,
|
|
506
893
|
:host {
|
|
@@ -511,6 +898,14 @@
|
|
|
511
898
|
--c2-side-nav__backdrop--background-color: var(--c2-theme--color-scrim, rgba(0, 0, 0, 0.32));
|
|
512
899
|
}
|
|
513
900
|
|
|
901
|
+
/* @c2n/skeleton */
|
|
902
|
+
:root,
|
|
903
|
+
:host {
|
|
904
|
+
--c2-skeleton--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
905
|
+
--c2-skeleton--background-color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
906
|
+
--c2-skeleton--animation-duration: calc(1.6s * var(--c2-theme--motion-scale, 1));
|
|
907
|
+
}
|
|
908
|
+
|
|
514
909
|
/* @c2n/slider */
|
|
515
910
|
:root,
|
|
516
911
|
:host {
|
|
@@ -541,6 +936,23 @@
|
|
|
541
936
|
--c2-spinner__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
542
937
|
}
|
|
543
938
|
|
|
939
|
+
/* @c2n/stat */
|
|
940
|
+
:root,
|
|
941
|
+
:host {
|
|
942
|
+
--c2-stat--background: var(--c2-theme--color-surface, #ffffff);
|
|
943
|
+
--c2-stat--color: var(--c2-theme--color-on-surface, #18181b);
|
|
944
|
+
--c2-stat--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
945
|
+
--c2-stat--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
946
|
+
--c2-stat__icon--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
947
|
+
--c2-stat__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
948
|
+
--c2-stat__icon--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
949
|
+
--c2-stat__value--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
950
|
+
--c2-stat__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
951
|
+
--c2-stat__label--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
952
|
+
--c2-stat__description--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
953
|
+
--c2-stat__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
954
|
+
}
|
|
955
|
+
|
|
544
956
|
/* @c2n/switch */
|
|
545
957
|
:root,
|
|
546
958
|
:host {
|
|
@@ -560,6 +972,50 @@
|
|
|
560
972
|
--c2-switch--transition-duration: calc(200ms * var(--c2-theme--motion-scale, 1));
|
|
561
973
|
}
|
|
562
974
|
|
|
975
|
+
/* @c2n/table */
|
|
976
|
+
:root,
|
|
977
|
+
:host {
|
|
978
|
+
--c2-table--background: var(--c2-theme--color-surface, #ffffff);
|
|
979
|
+
--c2-table--color: var(--c2-theme--color-on-surface, #18181b);
|
|
980
|
+
--c2-table--font-size: var(--c2-theme--font-size-md, 14px);
|
|
981
|
+
--c2-table--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
982
|
+
--c2-table--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
983
|
+
--c2-table--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
984
|
+
--c2-table--border-left: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
985
|
+
--c2-table--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
986
|
+
--c2-table--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
987
|
+
--c2-table--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
988
|
+
--c2-table--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
989
|
+
--c2-table__header--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
990
|
+
--c2-table__header--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
991
|
+
--c2-table__header--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
992
|
+
--c2-table__header--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
993
|
+
--c2-table__header--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
994
|
+
--c2-table__header-cell__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
995
|
+
--c2-table__header-cell__sorted--color: var(--c2-theme--color-on-surface, #18181b);
|
|
996
|
+
--c2-table__sort-icon--color: var(--c2-theme--color-on-surface-variant, #a1a1aa);
|
|
997
|
+
--c2-table__sort-icon__active--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
998
|
+
--c2-table__resizer--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
999
|
+
--c2-table__resizer__hover--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1000
|
+
--c2-table__row--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1001
|
+
--c2-table__row__hover--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
1002
|
+
--c2-table__row__odd--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
1003
|
+
--c2-table__row__selected--background: var(--c2-theme--color-primary-container, #edf1fe);
|
|
1004
|
+
--c2-table__row__selected--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1005
|
+
--c2-table__cell--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1006
|
+
--c2-table__cell--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1007
|
+
--c2-table__cell__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
1008
|
+
--c2-table__pinned-start--box-shadow: 1px 0 0 0 var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1009
|
+
--c2-table__pinned-end--box-shadow: -1px 0 0 0 var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1010
|
+
--c2-table__skeleton--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1011
|
+
--c2-table__skeleton--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
1012
|
+
--c2-table__state--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1013
|
+
--c2-table__state--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1014
|
+
--c2-table__state__error--color: var(--c2-theme--color-error, rgb(211, 21, 16));
|
|
1015
|
+
--c2-table__toolbar--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1016
|
+
--c2-table__footer--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
563
1019
|
/* @c2n/tabs */
|
|
564
1020
|
:root,
|
|
565
1021
|
:host {
|
|
@@ -660,3 +1116,27 @@
|
|
|
660
1116
|
--c2-tooltip--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
661
1117
|
--c2-tooltip--transition-duration: calc(120ms * var(--c2-theme--motion-scale, 1));
|
|
662
1118
|
}
|
|
1119
|
+
|
|
1120
|
+
/* @c2n/virtual-list */
|
|
1121
|
+
:root,
|
|
1122
|
+
:host {
|
|
1123
|
+
--c2-virtual-list--background: var(--c2-theme--color-surface, #ffffff);
|
|
1124
|
+
--c2-virtual-list--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1125
|
+
--c2-virtual-list--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1126
|
+
--c2-virtual-list--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
1127
|
+
--c2-virtual-list--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
1128
|
+
--c2-virtual-list--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
1129
|
+
--c2-virtual-list--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
1130
|
+
--c2-virtual-list__search--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1131
|
+
--c2-virtual-list__search-field--background: var(--c2-theme--color-surface, #ffffff);
|
|
1132
|
+
--c2-virtual-list__search-field--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1133
|
+
--c2-virtual-list__search-field--border-radius: var(--c2-theme--radius-md, 6px);
|
|
1134
|
+
--c2-virtual-list__highlight--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
1135
|
+
--c2-virtual-list__highlight--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
1136
|
+
--c2-virtual-list__skeleton--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1137
|
+
--c2-virtual-list__skeleton--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
1138
|
+
--c2-virtual-list__state--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1139
|
+
--c2-virtual-list__state--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1140
|
+
--c2-virtual-list__state__error--color: var(--c2-theme--color-error, rgb(211, 21, 16));
|
|
1141
|
+
--c2-virtual-list__footer--border-top: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1142
|
+
}
|