@c2n/theme 0.0.8 → 0.0.10
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/base.css +249 -0
- package/dist/report.json +1437 -84
- package/dist/theme.css +249 -0
- package/dist/tokens.json +190 -0
- package/package.json +13 -2
package/dist/theme.css
CHANGED
|
@@ -200,7 +200,20 @@
|
|
|
200
200
|
--c2-avatar--border-bottom-left-radius: var(--c2-theme--radius-full, 999px);
|
|
201
201
|
--c2-avatar--border-bottom-right-radius: var(--c2-theme--radius-full, 999px);
|
|
202
202
|
--c2-avatar--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
203
|
+
--c2-avatar__editor--background: var(--c2-theme--color-scrim, rgba(0, 0, 0, 0.5));
|
|
204
|
+
--c2-avatar__editor--color: var(--c2-theme--color-on-inverse-surface, #ffffff);
|
|
205
|
+
--c2-avatar__editor__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.45));
|
|
206
|
+
--c2-avatar__remove--background: var(--c2-theme--color-surface, #ffffff);
|
|
207
|
+
--c2-avatar__remove--color: var(--c2-theme--color-on-surface-variant, #52525b);
|
|
208
|
+
--c2-avatar__remove--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
209
|
+
--c2-avatar__remove--box-shadow: var(--c2-theme--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.18));
|
|
203
210
|
--c2-avatar__badge--border: 2px solid var(--c2-theme--color-surface, #ffffff);
|
|
211
|
+
--c2-avatar-group__overflow--background: var(--c2-theme--color-inverse-surface, #52525b);
|
|
212
|
+
--c2-avatar-group__overflow--color: var(--c2-theme--color-on-inverse-surface, #ffffff);
|
|
213
|
+
--c2-avatar-group__overflow--border: 2px solid var(--c2-theme--color-surface, #ffffff);
|
|
214
|
+
--c2-avatar-group__overflow--border-radius: var(--c2-theme--radius-full, 999px);
|
|
215
|
+
--c2-avatar-group__overflow--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
216
|
+
--c2-avatar-group__overflow--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
204
217
|
}
|
|
205
218
|
|
|
206
219
|
/* @c2n/badge */
|
|
@@ -218,6 +231,13 @@
|
|
|
218
231
|
--c2-badge__anchor--border: 2px solid var(--c2-theme--color-surface, #ffffff);
|
|
219
232
|
}
|
|
220
233
|
|
|
234
|
+
/* @c2n/border-beam */
|
|
235
|
+
:root,
|
|
236
|
+
:host {
|
|
237
|
+
--c2-border-beam__beam--radius: var(--c2-theme--radius-lg, 12px);
|
|
238
|
+
--c2-border-beam__beam--color-from: var(--c2-theme--color-primary, #0265dc);
|
|
239
|
+
}
|
|
240
|
+
|
|
221
241
|
/* @c2n/breadcrumb */
|
|
222
242
|
:root,
|
|
223
243
|
:host {
|
|
@@ -250,6 +270,12 @@
|
|
|
250
270
|
:root,
|
|
251
271
|
:host {
|
|
252
272
|
--c2-button-group--border-radius: var(--c2-theme--radius-md, 6px);
|
|
273
|
+
--c2-button-group__segmented--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
274
|
+
--c2-button-group__segmented-item--color: var(--c2-theme--color-on-surface-variant, #52525b);
|
|
275
|
+
--c2-button-group__segmented-item__selected--color: var(--c2-theme--color-on-surface, #18181b);
|
|
276
|
+
--c2-button-group__indicator--background-color: var(--c2-theme--color-surface, #ffffff);
|
|
277
|
+
--c2-button-group__indicator--border-radius: var(--c2-theme--radius-md, 6px);
|
|
278
|
+
--c2-button-group__indicator--transition-duration: calc(200ms * var(--c2-theme--motion-scale, 1));
|
|
253
279
|
}
|
|
254
280
|
|
|
255
281
|
/* @c2n/card */
|
|
@@ -268,6 +294,37 @@
|
|
|
268
294
|
--c2-card__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
269
295
|
}
|
|
270
296
|
|
|
297
|
+
/* @c2n/cascader */
|
|
298
|
+
:root,
|
|
299
|
+
:host {
|
|
300
|
+
--c2-cascader__trigger--background: var(--c2-theme--color-surface, #ffffff);
|
|
301
|
+
--c2-cascader__trigger--color: var(--c2-theme--color-on-surface, #18181b);
|
|
302
|
+
--c2-cascader__trigger--font-size: var(--c2-theme--font-size-md, 14px);
|
|
303
|
+
--c2-cascader__trigger--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
304
|
+
--c2-cascader__trigger--border-radius: var(--c2-theme--radius-md, 6px);
|
|
305
|
+
--c2-cascader__trigger__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
306
|
+
--c2-cascader__trigger__hover--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
307
|
+
--c2-cascader__trigger__open--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
308
|
+
--c2-cascader__trigger__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
309
|
+
--c2-cascader__trigger__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
310
|
+
--c2-cascader__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
311
|
+
--c2-cascader__icon--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
312
|
+
--c2-cascader__panel--background: var(--c2-theme--color-surface, #ffffff);
|
|
313
|
+
--c2-cascader__panel--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
314
|
+
--c2-cascader__panel--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
315
|
+
--c2-cascader__panel--box-shadow: var(--c2-theme--shadow-md, 0 12px 32px rgba(24, 24, 27, 0.14));
|
|
316
|
+
--c2-cascader__column--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
317
|
+
--c2-cascader__option--border-radius: var(--c2-theme--radius-md, 6px);
|
|
318
|
+
--c2-cascader__option--color: var(--c2-theme--color-on-surface, #18181b);
|
|
319
|
+
--c2-cascader__option--font-size: var(--c2-theme--font-size-md, 14px);
|
|
320
|
+
--c2-cascader__option__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
321
|
+
--c2-cascader__option__active--background: var(--c2-theme--color-primary-container, #e8f2ff);
|
|
322
|
+
--c2-cascader__option__active--color: var(--c2-theme--color-on-surface, #18181b);
|
|
323
|
+
--c2-cascader__option__selected--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
324
|
+
--c2-cascader__option__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
325
|
+
--c2-cascader__empty--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
326
|
+
}
|
|
327
|
+
|
|
271
328
|
/* @c2n/chart */
|
|
272
329
|
:root,
|
|
273
330
|
:host {
|
|
@@ -368,6 +425,33 @@
|
|
|
368
425
|
--c2-checkbox__state-layer--border-bottom-right-radius: var(--c2-theme--radius-md, 6px);
|
|
369
426
|
}
|
|
370
427
|
|
|
428
|
+
/* @c2n/code-editor */
|
|
429
|
+
:root,
|
|
430
|
+
:host {
|
|
431
|
+
--c2-code-editor--background: var(--c2-theme--color-surface, #ffffff);
|
|
432
|
+
--c2-code-editor--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
433
|
+
--c2-code-editor__focus--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
434
|
+
--c2-code-editor__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
435
|
+
--c2-code-editor--border-radius: var(--c2-theme--radius-md, 6px);
|
|
436
|
+
--c2-code-editor__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
437
|
+
--c2-code-editor--font-family: var(--c2-theme--font-family, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
|
|
438
|
+
--c2-code-editor__gutter--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
439
|
+
--c2-code-editor__gutter__active--color: var(--c2-theme--color-on-surface, #18181b);
|
|
440
|
+
--c2-code-editor__gutter--border-right: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
441
|
+
--c2-code-editor__active-line--background: color-mix(in srgb, var(--c2-theme--color-primary, #0265dc) 4%, transparent);
|
|
442
|
+
--c2-code-editor__selection--background: color-mix(in srgb, var(--c2-theme--color-primary, #0265dc) 18%, transparent);
|
|
443
|
+
--c2-code-editor__cursor--color: var(--c2-theme--color-on-surface, #18181b);
|
|
444
|
+
--c2-code-editor__matching-bracket--background: color-mix(in srgb, var(--c2-theme--color-primary, #0265dc) 16%, transparent);
|
|
445
|
+
--c2-code-editor__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
446
|
+
--c2-code-editor__label--color: var(--c2-theme--color-on-surface, #18181b);
|
|
447
|
+
--c2-code-editor__label--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
448
|
+
--c2-code-editor__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
449
|
+
--c2-code-editor__supporting-text--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
450
|
+
--c2-code-editor__supporting-text--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
451
|
+
--c2-code-editor__error--color: var(--c2-theme--color-error, #dc2626);
|
|
452
|
+
--c2-code-editor__error--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-error, #dc2626);
|
|
453
|
+
}
|
|
454
|
+
|
|
371
455
|
/* @c2n/code-viewer */
|
|
372
456
|
:root,
|
|
373
457
|
:host {
|
|
@@ -796,6 +880,46 @@
|
|
|
796
880
|
--c2-progress__value--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
797
881
|
}
|
|
798
882
|
|
|
883
|
+
/* @c2n/qr-code */
|
|
884
|
+
:root,
|
|
885
|
+
:host {
|
|
886
|
+
--c2-qr-code__module--color: var(--c2-theme--color-on-surface, #18181b);
|
|
887
|
+
--c2-qr-code__background--color: var(--c2-theme--color-surface, #ffffff);
|
|
888
|
+
--c2-qr-code__container--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
889
|
+
--c2-qr-code__placeholder--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
890
|
+
--c2-qr-code__placeholder--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
891
|
+
--c2-qr-code__center--background-color: var(--c2-theme--color-surface, #ffffff);
|
|
892
|
+
--c2-qr-code__center--border-radius: var(--c2-theme--radius-md, 6px);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/* @c2n/questionnaire */
|
|
896
|
+
:root,
|
|
897
|
+
:host {
|
|
898
|
+
--c2-questionnaire--color: var(--c2-theme--color-on-surface, #18181b);
|
|
899
|
+
--c2-questionnaire__progress--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
900
|
+
--c2-questionnaire__progress--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
901
|
+
--c2-questionnaire__title--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
902
|
+
--c2-questionnaire__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
903
|
+
--c2-questionnaire__description--font-size: var(--c2-theme--font-size-md, 14px);
|
|
904
|
+
--c2-questionnaire__option--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
905
|
+
--c2-questionnaire__option--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
906
|
+
--c2-questionnaire__option--background-color: var(--c2-theme--color-surface, #ffffff);
|
|
907
|
+
--c2-questionnaire__option__hover--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6);
|
|
908
|
+
--c2-questionnaire__option__selected--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-strong, #a1a1aa);
|
|
909
|
+
--c2-questionnaire__option__selected--background-color: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
910
|
+
--c2-questionnaire__option__error--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-error, #dc2626);
|
|
911
|
+
--c2-questionnaire__option__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
912
|
+
--c2-questionnaire__control__selected--background-color: var(--c2-theme--color-inverse-surface, #18181b);
|
|
913
|
+
--c2-questionnaire__option-description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
914
|
+
--c2-questionnaire__shortcut--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
915
|
+
--c2-questionnaire__error--color: var(--c2-theme--color-error, #dc2626);
|
|
916
|
+
--c2-questionnaire__action--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
917
|
+
--c2-questionnaire__primary-action--background-color: var(--c2-theme--color-inverse-surface, #18181b);
|
|
918
|
+
--c2-questionnaire__primary-action--color: var(--c2-theme--color-on-primary, #ffffff);
|
|
919
|
+
--c2-questionnaire__secondary-action--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
920
|
+
--c2-questionnaire__secondary-action--background-color: var(--c2-theme--color-surface, #ffffff);
|
|
921
|
+
}
|
|
922
|
+
|
|
799
923
|
/* @c2n/radio */
|
|
800
924
|
:root,
|
|
801
925
|
:host {
|
|
@@ -822,6 +946,16 @@
|
|
|
822
946
|
--c2-radio-group__header__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
823
947
|
}
|
|
824
948
|
|
|
949
|
+
/* @c2n/rate */
|
|
950
|
+
:root,
|
|
951
|
+
:host {
|
|
952
|
+
--c2-rate__icon--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
953
|
+
--c2-rate__icon--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
954
|
+
--c2-rate__container__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
955
|
+
--c2-rate__container--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
956
|
+
--c2-rate__container__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
957
|
+
}
|
|
958
|
+
|
|
825
959
|
/* @c2n/select */
|
|
826
960
|
:root,
|
|
827
961
|
:host {
|
|
@@ -953,6 +1087,46 @@
|
|
|
953
1087
|
--c2-stat__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
954
1088
|
}
|
|
955
1089
|
|
|
1090
|
+
/* @c2n/status-panel */
|
|
1091
|
+
:root,
|
|
1092
|
+
:host {
|
|
1093
|
+
--c2-status-panel__container--border-radius: var(--c2-theme--radius-xl, 14px);
|
|
1094
|
+
--c2-status-panel__media--border-radius: var(--c2-theme--radius-full, 999px);
|
|
1095
|
+
--c2-status-panel__media--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1096
|
+
--c2-status-panel__media--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1097
|
+
--c2-status-panel__media__info--background-color: var(--c2-theme--color-primary-container, #edf1fe);
|
|
1098
|
+
--c2-status-panel__media__info--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1099
|
+
--c2-status-panel__title--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1100
|
+
--c2-status-panel__title--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
1101
|
+
--c2-status-panel__description--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1102
|
+
--c2-status-panel__description--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1103
|
+
--c2-status-panel__content--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
1104
|
+
--c2-status-panel__content--background-color: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/* @c2n/steps */
|
|
1108
|
+
:root,
|
|
1109
|
+
:host {
|
|
1110
|
+
--c2-step__row--border-bottom: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1111
|
+
--c2-step__toggle--color: var(--c2-theme--color-on-surface-variant, #a1a1aa);
|
|
1112
|
+
--c2-step__guide--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1113
|
+
--c2-step__marker--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
1114
|
+
--c2-step__marker--border-radius: var(--c2-theme--radius-full, 999px);
|
|
1115
|
+
--c2-step__marker--border: var(--c2-theme--border, var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline, #bcbcc6));
|
|
1116
|
+
--c2-step__marker--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1117
|
+
--c2-step__rail--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1118
|
+
--c2-step__label--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1119
|
+
--c2-step__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
1120
|
+
--c2-step__label--font-family: var(--c2-theme--font-family, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
|
|
1121
|
+
--c2-step__detail--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1122
|
+
--c2-step__trailing--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1123
|
+
--c2-step__error--color: var(--c2-theme--color-error, #dc2626);
|
|
1124
|
+
--c2-step__running--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1125
|
+
--c2-step__current--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1126
|
+
--c2-step__skipped--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1127
|
+
--c2-step--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
1128
|
+
}
|
|
1129
|
+
|
|
956
1130
|
/* @c2n/switch */
|
|
957
1131
|
:root,
|
|
958
1132
|
:host {
|
|
@@ -1090,6 +1264,29 @@
|
|
|
1090
1264
|
--c2-textarea__supporting-text__error--color: var(--c2-theme--color-error, #dc2626);
|
|
1091
1265
|
}
|
|
1092
1266
|
|
|
1267
|
+
/* @c2n/theme-select */
|
|
1268
|
+
:root,
|
|
1269
|
+
:host {
|
|
1270
|
+
--c2-theme-select__trigger--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
1271
|
+
--c2-theme-select__trigger--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1272
|
+
--c2-theme-select__trigger__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1273
|
+
--c2-theme-select__trigger__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
1274
|
+
--c2-theme-select__trigger__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
1275
|
+
--c2-theme-select__label--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1276
|
+
--c2-theme-select__label--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
1277
|
+
--c2-theme-select__menu--background: var(--c2-theme--color-surface, #ffffff);
|
|
1278
|
+
--c2-theme-select__menu--border: var(--c2-theme--border-width, 1px) solid var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1279
|
+
--c2-theme-select__menu--border-radius: var(--c2-theme--radius-lg, 8px);
|
|
1280
|
+
--c2-theme-select__menu--box-shadow: var(--c2-theme--shadow-md, 0 8px 24px rgba(24, 24, 27, 0.08));
|
|
1281
|
+
--c2-theme-select__menu-item--border-radius: var(--c2-theme--radius-md, 6px);
|
|
1282
|
+
--c2-theme-select__menu-item--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1283
|
+
--c2-theme-select__menu-item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1284
|
+
--c2-theme-select__menu-item--font-weight: var(--c2-theme--font-weight-medium, 500);
|
|
1285
|
+
--c2-theme-select__menu-item__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1286
|
+
--c2-theme-select__menu-item__selected--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1287
|
+
--c2-theme-select--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1093
1290
|
/* @c2n/toast */
|
|
1094
1291
|
:root,
|
|
1095
1292
|
:host {
|
|
@@ -1117,6 +1314,58 @@
|
|
|
1117
1314
|
--c2-tooltip--transition-duration: calc(120ms * var(--c2-theme--motion-scale, 1));
|
|
1118
1315
|
}
|
|
1119
1316
|
|
|
1317
|
+
/* @c2n/tree */
|
|
1318
|
+
:root,
|
|
1319
|
+
:host {
|
|
1320
|
+
--c2-tree--background: var(--c2-theme--color-surface, #ffffff);
|
|
1321
|
+
--c2-tree--border-top-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
1322
|
+
--c2-tree--border-top-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
1323
|
+
--c2-tree--border-bottom-left-radius: var(--c2-theme--radius-lg, 8px);
|
|
1324
|
+
--c2-tree--border-bottom-right-radius: var(--c2-theme--radius-lg, 8px);
|
|
1325
|
+
--c2-tree--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1326
|
+
--c2-tree__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
1327
|
+
--c2-tree__empty--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1328
|
+
--c2-tree-item__row--border-radius: var(--c2-theme--radius-sm, 4px);
|
|
1329
|
+
--c2-tree-item--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1330
|
+
--c2-tree-item--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1331
|
+
--c2-tree-item__hover--background: var(--c2-theme--color-surface-container, #f4f4f5);
|
|
1332
|
+
--c2-tree-item__selected--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1333
|
+
--c2-tree-item__selected--background: var(--c2-theme--color-primary-container, #edf1fe);
|
|
1334
|
+
--c2-tree-item__selected__hover--background: color-mix(
|
|
1335
|
+
in srgb,
|
|
1336
|
+
var(--c2-theme--color-primary-container, #edf1fe),
|
|
1337
|
+
var(--c2-theme--color-primary, #0265dc) 8%
|
|
1338
|
+
);
|
|
1339
|
+
--c2-tree-item__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
1340
|
+
--c2-tree-item__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
1341
|
+
--c2-tree-item__toggle--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1342
|
+
--c2-tree-item__toggle--transition-duration: calc(150ms * var(--c2-theme--motion-scale, 1));
|
|
1343
|
+
--c2-tree-item__guide--color: var(--c2-theme--color-outline-variant, #e4e4e7);
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
/* @c2n/upload */
|
|
1347
|
+
:root,
|
|
1348
|
+
:host {
|
|
1349
|
+
--c2-upload__dropzone--background: var(--c2-theme--color-surface, #ffffff);
|
|
1350
|
+
--c2-upload__dropzone--border: var(--c2-theme--border-width, 1px) dashed var(--c2-theme--color-outline, #bcbcc6);
|
|
1351
|
+
--c2-upload__dropzone--border-radius: var(--c2-theme--radius-xl, 14px);
|
|
1352
|
+
--c2-upload__dropzone__hover--background: var(--c2-theme--color-surface-container-low, #fafafa);
|
|
1353
|
+
--c2-upload__dropzone__hover--border: var(--c2-theme--border-width, 1px) dashed var(--c2-theme--color-outline, #a1a1aa);
|
|
1354
|
+
--c2-upload__dropzone__drag--background: var(--c2-theme--color-primary-container, #e8f2ff);
|
|
1355
|
+
--c2-upload__dropzone__drag--border: var(--c2-theme--border-width, 1px) dashed var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1356
|
+
--c2-upload__dropzone__focus--outline: var(--c2-theme--focus-ring, 2px solid rgba(2, 101, 220, 0.4));
|
|
1357
|
+
--c2-upload__dropzone__disabled--opacity: var(--c2-theme--disabled-opacity, 0.38);
|
|
1358
|
+
--c2-upload__icon--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1359
|
+
--c2-upload__prompt--color: var(--c2-theme--color-on-surface, #18181b);
|
|
1360
|
+
--c2-upload__prompt--font-size: var(--c2-theme--font-size-md, 14px);
|
|
1361
|
+
--c2-upload__prompt--font-weight: var(--c2-theme--font-weight-semibold, 600);
|
|
1362
|
+
--c2-upload__action--color: var(--c2-theme--color-primary, rgb(2, 101, 220));
|
|
1363
|
+
--c2-upload__hint--color: var(--c2-theme--color-on-surface-variant, #71717a);
|
|
1364
|
+
--c2-upload__hint--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
1365
|
+
--c2-upload__error--color: var(--c2-theme--color-error, #dc2626);
|
|
1366
|
+
--c2-upload__error--font-size: var(--c2-theme--font-size-sm, 12px);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1120
1369
|
/* @c2n/virtual-list */
|
|
1121
1370
|
:root,
|
|
1122
1371
|
:host {
|
package/dist/tokens.json
CHANGED
|
@@ -354,7 +354,20 @@
|
|
|
354
354
|
"--c2-avatar--border-bottom-left-radius": "--c2-theme--radius-full",
|
|
355
355
|
"--c2-avatar--border-bottom-right-radius": "--c2-theme--radius-full",
|
|
356
356
|
"--c2-avatar--font-weight": "--c2-theme--font-weight-semibold",
|
|
357
|
+
"--c2-avatar__editor--background": "--c2-theme--color-scrim",
|
|
358
|
+
"--c2-avatar__editor--color": "--c2-theme--color-on-inverse-surface",
|
|
359
|
+
"--c2-avatar__editor__focus--outline": "--c2-theme--focus-ring",
|
|
360
|
+
"--c2-avatar__remove--background": "--c2-theme--color-surface",
|
|
361
|
+
"--c2-avatar__remove--color": "--c2-theme--color-on-surface-variant",
|
|
362
|
+
"--c2-avatar__remove--border": "--c2-theme--color-outline-variant",
|
|
363
|
+
"--c2-avatar__remove--box-shadow": "--c2-theme--shadow-sm",
|
|
357
364
|
"--c2-avatar__badge--border": "--c2-theme--color-surface",
|
|
365
|
+
"--c2-avatar-group__overflow--background": "--c2-theme--color-inverse-surface",
|
|
366
|
+
"--c2-avatar-group__overflow--color": "--c2-theme--color-on-inverse-surface",
|
|
367
|
+
"--c2-avatar-group__overflow--border": "--c2-theme--color-surface",
|
|
368
|
+
"--c2-avatar-group__overflow--border-radius": "--c2-theme--radius-full",
|
|
369
|
+
"--c2-avatar-group__overflow--font-size": "--c2-theme--font-size-sm",
|
|
370
|
+
"--c2-avatar-group__overflow--font-weight": "--c2-theme--font-weight-semibold",
|
|
358
371
|
"--c2-badge--border-radius": "--c2-theme--radius-full",
|
|
359
372
|
"--c2-badge--font-size": "--c2-theme--font-size-sm",
|
|
360
373
|
"--c2-badge--font-weight": "--c2-theme--font-weight-medium",
|
|
@@ -365,6 +378,8 @@
|
|
|
365
378
|
"--c2-badge__danger--color": "--c2-theme--color-error",
|
|
366
379
|
"--c2-badge__pulse--animation-duration": "--c2-theme--motion-scale",
|
|
367
380
|
"--c2-badge__anchor--border": "--c2-theme--color-surface",
|
|
381
|
+
"--c2-border-beam__beam--radius": "--c2-theme--radius-lg",
|
|
382
|
+
"--c2-border-beam__beam--color-from": "--c2-theme--color-primary",
|
|
368
383
|
"--c2-breadcrumb__separator--color": "--c2-theme--color-on-surface-variant",
|
|
369
384
|
"--c2-breadcrumb__item--color": "--c2-theme--color-on-surface-variant",
|
|
370
385
|
"--c2-breadcrumb__item--font-size": "--c2-theme--font-size-md",
|
|
@@ -384,6 +399,12 @@
|
|
|
384
399
|
"--c2-button__container__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
385
400
|
"--c2-button__running-icon--animation-duration": "--c2-theme--motion-scale",
|
|
386
401
|
"--c2-button-group--border-radius": "--c2-theme--radius-md",
|
|
402
|
+
"--c2-button-group__segmented--background-color": "--c2-theme--color-surface-container",
|
|
403
|
+
"--c2-button-group__segmented-item--color": "--c2-theme--color-on-surface-variant",
|
|
404
|
+
"--c2-button-group__segmented-item__selected--color": "--c2-theme--color-on-surface",
|
|
405
|
+
"--c2-button-group__indicator--background-color": "--c2-theme--color-surface",
|
|
406
|
+
"--c2-button-group__indicator--border-radius": "--c2-theme--radius-md",
|
|
407
|
+
"--c2-button-group__indicator--transition-duration": "--c2-theme--motion-scale",
|
|
387
408
|
"--c2-card--border-top-left-radius": "--c2-theme--radius-lg",
|
|
388
409
|
"--c2-card--border-top-right-radius": "--c2-theme--radius-lg",
|
|
389
410
|
"--c2-card--border-bottom-left-radius": "--c2-theme--radius-lg",
|
|
@@ -395,6 +416,32 @@
|
|
|
395
416
|
"--c2-card--background": "--c2-theme--color-surface",
|
|
396
417
|
"--c2-card__focus--outline": "--c2-theme--focus-ring",
|
|
397
418
|
"--c2-card__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
419
|
+
"--c2-cascader__trigger--background": "--c2-theme--color-surface",
|
|
420
|
+
"--c2-cascader__trigger--color": "--c2-theme--color-on-surface",
|
|
421
|
+
"--c2-cascader__trigger--font-size": "--c2-theme--font-size-md",
|
|
422
|
+
"--c2-cascader__trigger--border": "--c2-theme--border",
|
|
423
|
+
"--c2-cascader__trigger--border-radius": "--c2-theme--radius-md",
|
|
424
|
+
"--c2-cascader__trigger__hover--border": "--c2-theme--color-outline-strong",
|
|
425
|
+
"--c2-cascader__trigger__hover--background": "--c2-theme--color-surface-container-low",
|
|
426
|
+
"--c2-cascader__trigger__open--border": "--c2-theme--color-primary",
|
|
427
|
+
"--c2-cascader__trigger__focus--outline": "--c2-theme--focus-ring",
|
|
428
|
+
"--c2-cascader__trigger__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
429
|
+
"--c2-cascader__placeholder--color": "--c2-theme--color-on-surface-variant",
|
|
430
|
+
"--c2-cascader__icon--color": "--c2-theme--color-on-surface-variant",
|
|
431
|
+
"--c2-cascader__panel--background": "--c2-theme--color-surface",
|
|
432
|
+
"--c2-cascader__panel--border": "--c2-theme--color-outline-variant",
|
|
433
|
+
"--c2-cascader__panel--border-radius": "--c2-theme--radius-lg",
|
|
434
|
+
"--c2-cascader__panel--box-shadow": "--c2-theme--shadow-md",
|
|
435
|
+
"--c2-cascader__column--border": "--c2-theme--color-outline-variant",
|
|
436
|
+
"--c2-cascader__option--border-radius": "--c2-theme--radius-md",
|
|
437
|
+
"--c2-cascader__option--color": "--c2-theme--color-on-surface",
|
|
438
|
+
"--c2-cascader__option--font-size": "--c2-theme--font-size-md",
|
|
439
|
+
"--c2-cascader__option__hover--background": "--c2-theme--color-surface-container",
|
|
440
|
+
"--c2-cascader__option__active--background": "--c2-theme--color-primary-container",
|
|
441
|
+
"--c2-cascader__option__active--color": "--c2-theme--color-on-surface",
|
|
442
|
+
"--c2-cascader__option__selected--color": "--c2-theme--color-primary",
|
|
443
|
+
"--c2-cascader__option__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
444
|
+
"--c2-cascader__empty--color": "--c2-theme--color-on-surface-variant",
|
|
398
445
|
"--c2-chart__axis-line--color": "--c2-theme--color-outline-variant",
|
|
399
446
|
"--c2-chart--background": "--c2-theme--color-surface",
|
|
400
447
|
"--c2-chart--color": "--c2-theme--color-on-surface",
|
|
@@ -475,6 +522,28 @@
|
|
|
475
522
|
"--c2-checkbox__state-layer--border-top-right-radius": "--c2-theme--radius-md",
|
|
476
523
|
"--c2-checkbox__state-layer--border-bottom-left-radius": "--c2-theme--radius-md",
|
|
477
524
|
"--c2-checkbox__state-layer--border-bottom-right-radius": "--c2-theme--radius-md",
|
|
525
|
+
"--c2-code-editor--background": "--c2-theme--color-surface",
|
|
526
|
+
"--c2-code-editor--border": "--c2-theme--border",
|
|
527
|
+
"--c2-code-editor__focus--border": "--c2-theme--color-primary",
|
|
528
|
+
"--c2-code-editor__focus--outline": "--c2-theme--focus-ring",
|
|
529
|
+
"--c2-code-editor--border-radius": "--c2-theme--radius-md",
|
|
530
|
+
"--c2-code-editor__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
531
|
+
"--c2-code-editor--font-family": "--c2-theme--font-family",
|
|
532
|
+
"--c2-code-editor__gutter--color": "--c2-theme--color-on-surface-variant",
|
|
533
|
+
"--c2-code-editor__gutter__active--color": "--c2-theme--color-on-surface",
|
|
534
|
+
"--c2-code-editor__gutter--border-right": "--c2-theme--color-outline-variant",
|
|
535
|
+
"--c2-code-editor__active-line--background": "--c2-theme--color-primary",
|
|
536
|
+
"--c2-code-editor__selection--background": "--c2-theme--color-primary",
|
|
537
|
+
"--c2-code-editor__cursor--color": "--c2-theme--color-on-surface",
|
|
538
|
+
"--c2-code-editor__matching-bracket--background": "--c2-theme--color-primary",
|
|
539
|
+
"--c2-code-editor__placeholder--color": "--c2-theme--color-on-surface-variant",
|
|
540
|
+
"--c2-code-editor__label--color": "--c2-theme--color-on-surface",
|
|
541
|
+
"--c2-code-editor__label--font-size": "--c2-theme--font-size-sm",
|
|
542
|
+
"--c2-code-editor__label--font-weight": "--c2-theme--font-weight-medium",
|
|
543
|
+
"--c2-code-editor__supporting-text--color": "--c2-theme--color-on-surface-variant",
|
|
544
|
+
"--c2-code-editor__supporting-text--font-size": "--c2-theme--font-size-sm",
|
|
545
|
+
"--c2-code-editor__error--color": "--c2-theme--color-error",
|
|
546
|
+
"--c2-code-editor__error--border": "--c2-theme--color-error",
|
|
478
547
|
"--c2-code-viewer--border-top": "--c2-theme--border",
|
|
479
548
|
"--c2-code-viewer--border-right": "--c2-theme--border",
|
|
480
549
|
"--c2-code-viewer--border-bottom": "--c2-theme--border",
|
|
@@ -772,6 +841,36 @@
|
|
|
772
841
|
"--c2-progress__value--color": "--c2-theme--color-on-surface",
|
|
773
842
|
"--c2-progress__value--font-size": "--c2-theme--font-size-md",
|
|
774
843
|
"--c2-progress__value--font-weight": "--c2-theme--font-weight-medium",
|
|
844
|
+
"--c2-qr-code__module--color": "--c2-theme--color-on-surface",
|
|
845
|
+
"--c2-qr-code__background--color": "--c2-theme--color-surface",
|
|
846
|
+
"--c2-qr-code__container--border-radius": "--c2-theme--radius-lg",
|
|
847
|
+
"--c2-qr-code__placeholder--color": "--c2-theme--color-on-surface-variant",
|
|
848
|
+
"--c2-qr-code__placeholder--font-size": "--c2-theme--font-size-sm",
|
|
849
|
+
"--c2-qr-code__center--background-color": "--c2-theme--color-surface",
|
|
850
|
+
"--c2-qr-code__center--border-radius": "--c2-theme--radius-md",
|
|
851
|
+
"--c2-questionnaire--color": "--c2-theme--color-on-surface",
|
|
852
|
+
"--c2-questionnaire__progress--font-size": "--c2-theme--font-size-sm",
|
|
853
|
+
"--c2-questionnaire__progress--color": "--c2-theme--color-on-surface-variant",
|
|
854
|
+
"--c2-questionnaire__title--font-weight": "--c2-theme--font-weight-semibold",
|
|
855
|
+
"--c2-questionnaire__description--color": "--c2-theme--color-on-surface-variant",
|
|
856
|
+
"--c2-questionnaire__description--font-size": "--c2-theme--font-size-md",
|
|
857
|
+
"--c2-questionnaire__option--border": "--c2-theme--color-outline-variant",
|
|
858
|
+
"--c2-questionnaire__option--border-radius": "--c2-theme--radius-lg",
|
|
859
|
+
"--c2-questionnaire__option--background-color": "--c2-theme--color-surface",
|
|
860
|
+
"--c2-questionnaire__option__hover--border": "--c2-theme--color-outline",
|
|
861
|
+
"--c2-questionnaire__option__selected--border": "--c2-theme--color-outline-strong",
|
|
862
|
+
"--c2-questionnaire__option__selected--background-color": "--c2-theme--color-surface-container-low",
|
|
863
|
+
"--c2-questionnaire__option__error--border": "--c2-theme--color-error",
|
|
864
|
+
"--c2-questionnaire__option__focus--outline": "--c2-theme--focus-ring",
|
|
865
|
+
"--c2-questionnaire__control__selected--background-color": "--c2-theme--color-inverse-surface",
|
|
866
|
+
"--c2-questionnaire__option-description--color": "--c2-theme--color-on-surface-variant",
|
|
867
|
+
"--c2-questionnaire__shortcut--color": "--c2-theme--color-on-surface-variant",
|
|
868
|
+
"--c2-questionnaire__error--color": "--c2-theme--color-error",
|
|
869
|
+
"--c2-questionnaire__action--border-radius": "--c2-theme--radius-lg",
|
|
870
|
+
"--c2-questionnaire__primary-action--background-color": "--c2-theme--color-inverse-surface",
|
|
871
|
+
"--c2-questionnaire__primary-action--color": "--c2-theme--color-on-primary",
|
|
872
|
+
"--c2-questionnaire__secondary-action--border": "--c2-theme--color-outline-variant",
|
|
873
|
+
"--c2-questionnaire__secondary-action--background-color": "--c2-theme--color-surface",
|
|
775
874
|
"--c2-radio__container--border-radius": "--c2-theme--radius-lg",
|
|
776
875
|
"--c2-radio__control--border-radius": "--c2-theme--radius-full",
|
|
777
876
|
"--c2-radio__control--border": "--c2-theme--border",
|
|
@@ -793,6 +892,11 @@
|
|
|
793
892
|
"--c2-radio-group__description--color": "--c2-theme--color-on-surface-variant",
|
|
794
893
|
"--c2-radio-group__description--font-size": "--c2-theme--font-size-sm",
|
|
795
894
|
"--c2-radio-group__header__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
895
|
+
"--c2-rate__icon--color": "--c2-theme--color-outline-variant",
|
|
896
|
+
"--c2-rate__icon--transition-duration": "--c2-theme--motion-scale",
|
|
897
|
+
"--c2-rate__container__focus--outline": "--c2-theme--focus-ring",
|
|
898
|
+
"--c2-rate__container--border-radius": "--c2-theme--radius-sm",
|
|
899
|
+
"--c2-rate__container__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
796
900
|
"--c2-select__button--background": "--c2-theme--color-surface",
|
|
797
901
|
"--c2-select__button--color": "--c2-theme--color-on-surface",
|
|
798
902
|
"--c2-select__button--font-size": "--c2-theme--font-size-md",
|
|
@@ -884,6 +988,36 @@
|
|
|
884
988
|
"--c2-stat__label--color": "--c2-theme--color-on-surface-variant",
|
|
885
989
|
"--c2-stat__description--font-size": "--c2-theme--font-size-sm",
|
|
886
990
|
"--c2-stat__description--color": "--c2-theme--color-on-surface-variant",
|
|
991
|
+
"--c2-status-panel__container--border-radius": "--c2-theme--radius-xl",
|
|
992
|
+
"--c2-status-panel__media--border-radius": "--c2-theme--radius-full",
|
|
993
|
+
"--c2-status-panel__media--background-color": "--c2-theme--color-surface-container",
|
|
994
|
+
"--c2-status-panel__media--color": "--c2-theme--color-on-surface-variant",
|
|
995
|
+
"--c2-status-panel__media__info--background-color": "--c2-theme--color-primary-container",
|
|
996
|
+
"--c2-status-panel__media__info--color": "--c2-theme--color-primary",
|
|
997
|
+
"--c2-status-panel__title--color": "--c2-theme--color-on-surface",
|
|
998
|
+
"--c2-status-panel__title--font-weight": "--c2-theme--font-weight-semibold",
|
|
999
|
+
"--c2-status-panel__description--color": "--c2-theme--color-on-surface-variant",
|
|
1000
|
+
"--c2-status-panel__description--font-size": "--c2-theme--font-size-md",
|
|
1001
|
+
"--c2-status-panel__content--border-radius": "--c2-theme--radius-lg",
|
|
1002
|
+
"--c2-status-panel__content--background-color": "--c2-theme--color-surface-container",
|
|
1003
|
+
"--c2-step__row--border-bottom": "--c2-theme--color-outline-variant",
|
|
1004
|
+
"--c2-step__toggle--color": "--c2-theme--color-on-surface-variant",
|
|
1005
|
+
"--c2-step__guide--color": "--c2-theme--color-outline-variant",
|
|
1006
|
+
"--c2-step__marker--font-weight": "--c2-theme--font-weight-semibold",
|
|
1007
|
+
"--c2-step__marker--border-radius": "--c2-theme--radius-full",
|
|
1008
|
+
"--c2-step__marker--border": "--c2-theme--border",
|
|
1009
|
+
"--c2-step__marker--color": "--c2-theme--color-on-surface-variant",
|
|
1010
|
+
"--c2-step__rail--color": "--c2-theme--color-outline-variant",
|
|
1011
|
+
"--c2-step__label--color": "--c2-theme--color-on-surface",
|
|
1012
|
+
"--c2-step__label--font-weight": "--c2-theme--font-weight-medium",
|
|
1013
|
+
"--c2-step__label--font-family": "--c2-theme--font-family",
|
|
1014
|
+
"--c2-step__detail--color": "--c2-theme--color-on-surface-variant",
|
|
1015
|
+
"--c2-step__trailing--color": "--c2-theme--color-on-surface-variant",
|
|
1016
|
+
"--c2-step__error--color": "--c2-theme--color-error",
|
|
1017
|
+
"--c2-step__running--color": "--c2-theme--color-primary",
|
|
1018
|
+
"--c2-step__current--color": "--c2-theme--color-primary",
|
|
1019
|
+
"--c2-step__skipped--color": "--c2-theme--color-on-surface-variant",
|
|
1020
|
+
"--c2-step--transition-duration": "--c2-theme--motion-scale",
|
|
887
1021
|
"--c2-switch__container__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
888
1022
|
"--c2-switch__track--border-radius": "--c2-theme--radius-full",
|
|
889
1023
|
"--c2-switch__track--color": "--c2-theme--color-outline-variant",
|
|
@@ -996,6 +1130,24 @@
|
|
|
996
1130
|
"--c2-textarea__supporting-text--font-size": "--c2-theme--font-size-sm",
|
|
997
1131
|
"--c2-textarea__supporting-text--color": "--c2-theme--color-on-surface-variant",
|
|
998
1132
|
"--c2-textarea__supporting-text__error--color": "--c2-theme--color-error",
|
|
1133
|
+
"--c2-theme-select__trigger--border-radius": "--c2-theme--radius-lg",
|
|
1134
|
+
"--c2-theme-select__trigger--color": "--c2-theme--color-on-surface",
|
|
1135
|
+
"--c2-theme-select__trigger__hover--background": "--c2-theme--color-surface-container",
|
|
1136
|
+
"--c2-theme-select__trigger__focus--outline": "--c2-theme--focus-ring",
|
|
1137
|
+
"--c2-theme-select__trigger__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
1138
|
+
"--c2-theme-select__label--font-size": "--c2-theme--font-size-md",
|
|
1139
|
+
"--c2-theme-select__label--font-weight": "--c2-theme--font-weight-medium",
|
|
1140
|
+
"--c2-theme-select__menu--background": "--c2-theme--color-surface",
|
|
1141
|
+
"--c2-theme-select__menu--border": "--c2-theme--color-outline-variant",
|
|
1142
|
+
"--c2-theme-select__menu--border-radius": "--c2-theme--radius-lg",
|
|
1143
|
+
"--c2-theme-select__menu--box-shadow": "--c2-theme--shadow-md",
|
|
1144
|
+
"--c2-theme-select__menu-item--border-radius": "--c2-theme--radius-md",
|
|
1145
|
+
"--c2-theme-select__menu-item--color": "--c2-theme--color-on-surface",
|
|
1146
|
+
"--c2-theme-select__menu-item--font-size": "--c2-theme--font-size-md",
|
|
1147
|
+
"--c2-theme-select__menu-item--font-weight": "--c2-theme--font-weight-medium",
|
|
1148
|
+
"--c2-theme-select__menu-item__hover--background": "--c2-theme--color-surface-container",
|
|
1149
|
+
"--c2-theme-select__menu-item__selected--color": "--c2-theme--color-primary",
|
|
1150
|
+
"--c2-theme-select--transition-duration": "--c2-theme--motion-scale",
|
|
999
1151
|
"--c2-toast__container--background": "--c2-theme--color-surface",
|
|
1000
1152
|
"--c2-toast__container--color": "--c2-theme--color-on-surface",
|
|
1001
1153
|
"--c2-toast__container--border": "--c2-theme--color-outline-variant",
|
|
@@ -1013,6 +1165,44 @@
|
|
|
1013
1165
|
"--c2-tooltip--font-size": "--c2-theme--font-size-sm",
|
|
1014
1166
|
"--c2-tooltip--font-weight": "--c2-theme--font-weight-medium",
|
|
1015
1167
|
"--c2-tooltip--transition-duration": "--c2-theme--motion-scale",
|
|
1168
|
+
"--c2-tree--background": "--c2-theme--color-surface",
|
|
1169
|
+
"--c2-tree--border-top-left-radius": "--c2-theme--radius-lg",
|
|
1170
|
+
"--c2-tree--border-top-right-radius": "--c2-theme--radius-lg",
|
|
1171
|
+
"--c2-tree--border-bottom-left-radius": "--c2-theme--radius-lg",
|
|
1172
|
+
"--c2-tree--border-bottom-right-radius": "--c2-theme--radius-lg",
|
|
1173
|
+
"--c2-tree--font-size": "--c2-theme--font-size-md",
|
|
1174
|
+
"--c2-tree__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
1175
|
+
"--c2-tree__empty--color": "--c2-theme--color-on-surface-variant",
|
|
1176
|
+
"--c2-tree-item__row--border-radius": "--c2-theme--radius-sm",
|
|
1177
|
+
"--c2-tree-item--color": "--c2-theme--color-on-surface",
|
|
1178
|
+
"--c2-tree-item--font-size": "--c2-theme--font-size-md",
|
|
1179
|
+
"--c2-tree-item__hover--background": "--c2-theme--color-surface-container",
|
|
1180
|
+
"--c2-tree-item__selected--color": "--c2-theme--color-primary",
|
|
1181
|
+
"--c2-tree-item__selected--background": "--c2-theme--color-primary-container",
|
|
1182
|
+
"--c2-tree-item__selected__hover--background": "--c2-theme--color-primary-container",
|
|
1183
|
+
"--c2-tree-item__focus--outline": "--c2-theme--focus-ring",
|
|
1184
|
+
"--c2-tree-item__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
1185
|
+
"--c2-tree-item__toggle--color": "--c2-theme--color-on-surface-variant",
|
|
1186
|
+
"--c2-tree-item__toggle--transition-duration": "--c2-theme--motion-scale",
|
|
1187
|
+
"--c2-tree-item__guide--color": "--c2-theme--color-outline-variant",
|
|
1188
|
+
"--c2-upload__dropzone--background": "--c2-theme--color-surface",
|
|
1189
|
+
"--c2-upload__dropzone--border": "--c2-theme--border",
|
|
1190
|
+
"--c2-upload__dropzone--border-radius": "--c2-theme--radius-xl",
|
|
1191
|
+
"--c2-upload__dropzone__hover--background": "--c2-theme--color-surface-container-low",
|
|
1192
|
+
"--c2-upload__dropzone__hover--border": "--c2-theme--border",
|
|
1193
|
+
"--c2-upload__dropzone__drag--background": "--c2-theme--color-primary-container",
|
|
1194
|
+
"--c2-upload__dropzone__drag--border": "--c2-theme--color-primary",
|
|
1195
|
+
"--c2-upload__dropzone__focus--outline": "--c2-theme--focus-ring",
|
|
1196
|
+
"--c2-upload__dropzone__disabled--opacity": "--c2-theme--disabled-opacity",
|
|
1197
|
+
"--c2-upload__icon--color": "--c2-theme--color-primary",
|
|
1198
|
+
"--c2-upload__prompt--color": "--c2-theme--color-on-surface",
|
|
1199
|
+
"--c2-upload__prompt--font-size": "--c2-theme--font-size-md",
|
|
1200
|
+
"--c2-upload__prompt--font-weight": "--c2-theme--font-weight-semibold",
|
|
1201
|
+
"--c2-upload__action--color": "--c2-theme--color-primary",
|
|
1202
|
+
"--c2-upload__hint--color": "--c2-theme--color-on-surface-variant",
|
|
1203
|
+
"--c2-upload__hint--font-size": "--c2-theme--font-size-sm",
|
|
1204
|
+
"--c2-upload__error--color": "--c2-theme--color-error",
|
|
1205
|
+
"--c2-upload__error--font-size": "--c2-theme--font-size-sm",
|
|
1016
1206
|
"--c2-virtual-list--background": "--c2-theme--color-surface",
|
|
1017
1207
|
"--c2-virtual-list--color": "--c2-theme--color-on-surface",
|
|
1018
1208
|
"--c2-virtual-list--font-size": "--c2-theme--font-size-md",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/theme",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Design tokens (--c2-theme--*) and a generated base theme that maps every @c2n component CSS variable onto them",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/tokens.js",
|
|
@@ -54,6 +54,17 @@
|
|
|
54
54
|
"build": {
|
|
55
55
|
"dependencies": [
|
|
56
56
|
"type-check",
|
|
57
|
+
"../../components/steps:build",
|
|
58
|
+
"../../components/code-editor:build",
|
|
59
|
+
"../../components/theme-select:build",
|
|
60
|
+
"../../components/tree:build",
|
|
61
|
+
"../../components/border-beam:build",
|
|
62
|
+
"../../components/status-panel:build",
|
|
63
|
+
"../../components/qr-code:build",
|
|
64
|
+
"../../components/upload:build",
|
|
65
|
+
"../../components/rate:build",
|
|
66
|
+
"../../components/cascader:build",
|
|
67
|
+
"../../components/questionnaire:build",
|
|
57
68
|
"../../components/number-input:build",
|
|
58
69
|
"../../components/date-input:build",
|
|
59
70
|
"../../components/date-selector:build",
|
|
@@ -120,5 +131,5 @@
|
|
|
120
131
|
"@c2n/config": "*",
|
|
121
132
|
"prettier": "3.9.6"
|
|
122
133
|
},
|
|
123
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "8d57710b3345fcb01cdb4cb15d2d43ba8bf21642"
|
|
124
135
|
}
|