@uniai-fe/uds-primitives 0.1.10 → 0.1.12
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/styles.css +50 -52
- package/package.json +1 -1
- package/src/components/badge/markup/Badge.tsx +5 -1
- package/src/components/badge/styles/index.scss +4 -4
- package/src/components/button/styles/button.scss +16 -16
- package/src/components/button/styles/text-button.scss +1 -1
- package/src/components/checkbox/styles/index.scss +1 -1
- package/src/components/chip/styles/index.scss +4 -4
- package/src/components/drawer/styles/index.scss +1 -1
- package/src/components/input/styles/index.scss +1 -3
- package/src/components/navigation/styles/index.scss +1 -1
- package/src/components/pagination/styles/index.scss +1 -1
- package/src/components/radio/styles/index.scss +4 -4
package/dist/styles.css
CHANGED
|
@@ -105,11 +105,11 @@
|
|
|
105
105
|
--theme-button-color-blue-90: var(--color-blue-90);
|
|
106
106
|
--theme-button-color-blue-50: var(--color-blue-50);
|
|
107
107
|
--theme-button-color-blue-45: var(--color-blue-45);
|
|
108
|
-
--theme-button-overlay-solid-tertiary-bg: var(--color-
|
|
108
|
+
--theme-button-overlay-solid-tertiary-bg: var(--color-surface-strong);
|
|
109
109
|
/* Confirm dialog cancel 버튼을 위한 solid tertiary 색상 정의 */
|
|
110
|
-
--theme-button-tertiary-solid-bg: var(--color-
|
|
111
|
-
--theme-button-tertiary-solid-hover-bg: var(--color-
|
|
112
|
-
--theme-button-tertiary-solid-pressed-bg: var(--color-
|
|
110
|
+
--theme-button-tertiary-solid-bg: var(--color-surface-neutral);
|
|
111
|
+
--theme-button-tertiary-solid-hover-bg: var(--color-surface-strong);
|
|
112
|
+
--theme-button-tertiary-solid-pressed-bg: var(--color-surface-strong);
|
|
113
113
|
--theme-button-tertiary-solid-foreground: var(--color-label-neutral);
|
|
114
114
|
--theme-button-secondary-solid-bg: var(--color-blue-95, #e5eeff);
|
|
115
115
|
--theme-button-secondary-solid-hover-bg: #dbe9ff;
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
--theme-button-color-cool-gray-90: var(--color-cool-gray-90);
|
|
118
118
|
--theme-button-color-cool-gray-95: var(--color-cool-gray-95);
|
|
119
119
|
--theme-button-color-cool-gray-10: var(--color-cool-gray-10);
|
|
120
|
-
--theme-button-color-bg-surface-standard: var(--color-
|
|
120
|
+
--theme-button-color-bg-surface-standard: var(--color-surface-standard);
|
|
121
121
|
--theme-button-color-bg-alternative-cool-gray: var(
|
|
122
122
|
--color-bg-alternative-cool-gray
|
|
123
123
|
);
|
|
124
|
-
--theme-button-color-bg-surface-strong: var(--color-
|
|
124
|
+
--theme-button-color-bg-surface-strong: var(--color-surface-strong);
|
|
125
125
|
--theme-button-color-label-disabled: var(--color-label-disabled);
|
|
126
126
|
/* overlays */
|
|
127
127
|
--theme-button-overlay-solid-secondary-bg: var(--color-blue-90);
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--theme-checkbox-control-radius-medium: var(--theme-radius-xsmall-3, 3px);
|
|
136
136
|
--theme-checkbox-control-radius-large: var(--theme-radius-small-1, 4px);
|
|
137
137
|
--theme-checkbox-border-width: 1.4px;
|
|
138
|
-
--theme-checkbox-border-color: var(--color-border-
|
|
138
|
+
--theme-checkbox-border-color: var(--color-border-assistive);
|
|
139
139
|
--theme-checkbox-border-selected: var(--color-primary-default);
|
|
140
140
|
--theme-checkbox-surface: var(--color-common-100);
|
|
141
141
|
--theme-checkbox-surface-selected: var(--color-primary-default);
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
--theme-chip-font-size: var(--font-body-xsmall-size, 13px);
|
|
158
158
|
--theme-chip-font-weight: var(--font-body-xsmall-weight, 400);
|
|
159
159
|
--drawer-overlay-bg: rgba(0, 0, 0, 0.44);
|
|
160
|
-
--drawer-surface-bg: var(--color-
|
|
160
|
+
--drawer-surface-bg: var(--color-surface-static-white);
|
|
161
161
|
--drawer-radius-large: var(--theme-radius-large-2);
|
|
162
162
|
--drawer-radius-medium: var(--theme-radius-large-1);
|
|
163
163
|
--drawer-body-color: var(--color-label-standard);
|
|
@@ -202,9 +202,7 @@
|
|
|
202
202
|
--theme-input-border-success: #99bdff;
|
|
203
203
|
--theme-input-border-error: rgba(218, 29, 11, 0.44);
|
|
204
204
|
--theme-input-border-disabled: var(--color-border-standard-cool-gray);
|
|
205
|
-
--theme-input-border-underline-disabled: var(
|
|
206
|
-
--color-border-standard-assistive
|
|
207
|
-
);
|
|
205
|
+
--theme-input-border-underline-disabled: var(--color-border-assistive);
|
|
208
206
|
--theme-input-surface: var(--color-common-100);
|
|
209
207
|
--theme-input-surface-muted: var(--color-neutral-99);
|
|
210
208
|
--theme-input-surface-disabled: var(--color-neutral-95);
|
|
@@ -219,7 +217,7 @@
|
|
|
219
217
|
--theme-navigation-label-font-weight: 500;
|
|
220
218
|
--theme-navigation-label-letter-spacing: -0.12px;
|
|
221
219
|
--theme-navigation-bg: var(--color-common-100, #ffffff);
|
|
222
|
-
--theme-navigation-border: var(--color-border-
|
|
220
|
+
--theme-navigation-border: var(--color-border-assistive, #e4e5e7);
|
|
223
221
|
--theme-navigation-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
|
|
224
222
|
--theme-navigation-color: var(--color-label-strong, #3d3f43);
|
|
225
223
|
--theme-navigation-color-active: var(--color-primary-default, #0061ff);
|
|
@@ -231,11 +229,11 @@
|
|
|
231
229
|
--theme-radio-indicator-border-width: 1.4px;
|
|
232
230
|
--theme-radio-indicator-border-width-selected-medium: 4px;
|
|
233
231
|
--theme-radio-indicator-border-width-selected-large: 6px;
|
|
234
|
-
--theme-radio-border-color: var(--color-border-
|
|
232
|
+
--theme-radio-border-color: var(--color-border-assistive);
|
|
235
233
|
--theme-radio-border-selected: var(--color-primary-default);
|
|
236
234
|
--theme-radio-surface-selected: var(--color-primary-default);
|
|
237
|
-
--theme-radio-surface-disabled: var(--color-border-
|
|
238
|
-
--theme-radio-border-disabled: var(--color-border-
|
|
235
|
+
--theme-radio-surface-disabled: var(--color-border-assistive);
|
|
236
|
+
--theme-radio-border-disabled: var(--color-border-assistive);
|
|
239
237
|
--theme-radio-disabled-selected-fill: var(--color-primary-default);
|
|
240
238
|
--theme-radio-label-color: var(--color-label-strong);
|
|
241
239
|
--theme-radio-label-disabled: var(--color-label-disabled);
|
|
@@ -244,7 +242,7 @@
|
|
|
244
242
|
--theme-radio-card-background: var(--color-common-100);
|
|
245
243
|
--theme-radio-card-title-color: var(--color-label-strong);
|
|
246
244
|
--theme-radio-card-description-color: var(--color-label-neutral);
|
|
247
|
-
--theme-radio-card-badge-background: var(--color-
|
|
245
|
+
--theme-radio-card-badge-background: var(--color-surface-static-blue);
|
|
248
246
|
--theme-radio-card-badge-color: var(--color-primary-default);
|
|
249
247
|
--theme-radio-focus-ring: rgba(2, 84, 255, 0.32);
|
|
250
248
|
--theme-radio-disabled-selected-opacity: 0.28;
|
|
@@ -356,7 +354,7 @@
|
|
|
356
354
|
}
|
|
357
355
|
|
|
358
356
|
.badge:where([data-style=outlined]) {
|
|
359
|
-
background-color: var(--color-
|
|
357
|
+
background-color: var(--color-surface-static-white, #ffffff);
|
|
360
358
|
border-width: 1px;
|
|
361
359
|
border-style: solid;
|
|
362
360
|
border-color: var(--badge-outline-border-color);
|
|
@@ -413,7 +411,7 @@
|
|
|
413
411
|
}
|
|
414
412
|
|
|
415
413
|
.badge:where([data-style=fill][data-intent=gray]) {
|
|
416
|
-
--badge-fill-bg-color: var(--color-
|
|
414
|
+
--badge-fill-bg-color: var(--color-surface-neutral, #f2f2f2);
|
|
417
415
|
--badge-fill-label-color: var(--color-label-neutral, #797e86);
|
|
418
416
|
}
|
|
419
417
|
|
|
@@ -449,12 +447,12 @@
|
|
|
449
447
|
}
|
|
450
448
|
|
|
451
449
|
.badge:where([data-style=outlined][data-intent=tertiary]) {
|
|
452
|
-
--badge-outline-border-color: var(--color-border-
|
|
450
|
+
--badge-outline-border-color: var(--color-border-heavy, #313235);
|
|
453
451
|
--badge-outline-label-color: var(--color-label-strong, #18191b);
|
|
454
452
|
}
|
|
455
453
|
|
|
456
454
|
.badge:where([data-style=outlined][data-intent=gray]) {
|
|
457
|
-
--badge-outline-border-color: var(--color-border-
|
|
455
|
+
--badge-outline-border-color: var(--color-border-assistive, #e4e5e7);
|
|
458
456
|
--badge-outline-label-color: var(--color-label-standard, #3d3f43);
|
|
459
457
|
}
|
|
460
458
|
|
|
@@ -538,7 +536,7 @@
|
|
|
538
536
|
border-color: var(--theme-button-color-cool-gray-90, var(--color-cool-gray-90));
|
|
539
537
|
}
|
|
540
538
|
:where(.button):not(.button-fill-solid):not(.button-fill-outlined):active:not(:disabled):not([aria-disabled=true]), :where(.button):not(.button-fill-solid):not(.button-fill-outlined)[data-user-action=pressed]:not(:disabled):not([aria-disabled=true]) {
|
|
541
|
-
background-color: var(--theme-button-tertiary-solid-bg, var(--color-
|
|
539
|
+
background-color: var(--theme-button-tertiary-solid-bg, var(--color-surface-neutral));
|
|
542
540
|
border-color: var(--theme-button-color-cool-gray-90, var(--color-cool-gray-90));
|
|
543
541
|
}
|
|
544
542
|
|
|
@@ -553,8 +551,8 @@
|
|
|
553
551
|
color: var(--theme-button-color-common-100, var(--color-common-100));
|
|
554
552
|
}
|
|
555
553
|
:where(.button.button-fill-solid.button-priority-primary):disabled, :where(.button.button-fill-solid.button-priority-primary)[aria-disabled=true] {
|
|
556
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
557
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
554
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
555
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
558
556
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
559
557
|
}
|
|
560
558
|
:where(.button.button-fill-solid.button-priority-primary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-solid.button-priority-primary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
@@ -572,8 +570,8 @@
|
|
|
572
570
|
border-color: var(--theme-button-color-primary-default, var(--color-primary-default));
|
|
573
571
|
}
|
|
574
572
|
:where(.button.button-fill-outlined.button-priority-primary):disabled, :where(.button.button-fill-outlined.button-priority-primary)[aria-disabled=true] {
|
|
575
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
576
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
573
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
574
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
577
575
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
578
576
|
}
|
|
579
577
|
:where(.button.button-fill-outlined.button-priority-primary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-outlined.button-priority-primary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
@@ -591,8 +589,8 @@
|
|
|
591
589
|
color: var(--theme-button-color-primary-default, var(--color-primary-default));
|
|
592
590
|
}
|
|
593
591
|
:where(.button.button-fill-solid.button-priority-secondary):disabled, :where(.button.button-fill-solid.button-priority-secondary)[aria-disabled=true] {
|
|
594
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
595
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
592
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
593
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
596
594
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
597
595
|
}
|
|
598
596
|
:where(.button.button-fill-solid.button-priority-secondary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-solid.button-priority-secondary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
@@ -610,8 +608,8 @@
|
|
|
610
608
|
border-color: var(--theme-button-color-cool-gray-90, var(--color-cool-gray-90));
|
|
611
609
|
}
|
|
612
610
|
:where(.button.button-fill-outlined.button-priority-secondary):disabled, :where(.button.button-fill-outlined.button-priority-secondary)[aria-disabled=true] {
|
|
613
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
614
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
611
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
612
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
615
613
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
616
614
|
}
|
|
617
615
|
:where(.button.button-fill-outlined.button-priority-secondary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-outlined.button-priority-secondary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
@@ -624,22 +622,22 @@
|
|
|
624
622
|
}
|
|
625
623
|
|
|
626
624
|
:where(.button.button-fill-solid.button-priority-tertiary) {
|
|
627
|
-
background-color: var(--theme-button-tertiary-solid-bg, var(--color-
|
|
628
|
-
border-color: var(--theme-button-tertiary-solid-bg, var(--color-
|
|
625
|
+
background-color: var(--theme-button-tertiary-solid-bg, var(--color-surface-neutral));
|
|
626
|
+
border-color: var(--theme-button-tertiary-solid-bg, var(--color-surface-neutral));
|
|
629
627
|
color: var(--theme-button-tertiary-solid-foreground, var(--color-label-neutral));
|
|
630
628
|
}
|
|
631
629
|
:where(.button.button-fill-solid.button-priority-tertiary):disabled, :where(.button.button-fill-solid.button-priority-tertiary)[aria-disabled=true] {
|
|
632
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
633
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
630
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
631
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
634
632
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
635
633
|
}
|
|
636
634
|
:where(.button.button-fill-solid.button-priority-tertiary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-solid.button-priority-tertiary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
637
|
-
background-color: var(--theme-button-tertiary-solid-hover-bg, var(--color-
|
|
638
|
-
border-color: var(--theme-button-tertiary-solid-hover-bg, var(--color-
|
|
635
|
+
background-color: var(--theme-button-tertiary-solid-hover-bg, var(--color-surface-static-cool-gray));
|
|
636
|
+
border-color: var(--theme-button-tertiary-solid-hover-bg, var(--color-surface-static-cool-gray));
|
|
639
637
|
}
|
|
640
638
|
:where(.button.button-fill-solid.button-priority-tertiary):active:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-solid.button-priority-tertiary)[data-user-action=pressed]:not(:disabled):not([aria-disabled=true]) {
|
|
641
|
-
background-color: var(--theme-button-tertiary-solid-pressed-bg, var(--color-
|
|
642
|
-
border-color: var(--theme-button-tertiary-solid-pressed-bg, var(--color-
|
|
639
|
+
background-color: var(--theme-button-tertiary-solid-pressed-bg, var(--color-surface-strong));
|
|
640
|
+
border-color: var(--theme-button-tertiary-solid-pressed-bg, var(--color-surface-strong));
|
|
643
641
|
}
|
|
644
642
|
|
|
645
643
|
:where(.button.button-fill-outlined.button-priority-tertiary) {
|
|
@@ -648,8 +646,8 @@
|
|
|
648
646
|
border-color: var(--theme-button-color-cool-gray-90, var(--color-cool-gray-90));
|
|
649
647
|
}
|
|
650
648
|
:where(.button.button-fill-outlined.button-priority-tertiary):disabled, :where(.button.button-fill-outlined.button-priority-tertiary)[aria-disabled=true] {
|
|
651
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
652
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
649
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
650
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
653
651
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
654
652
|
}
|
|
655
653
|
:where(.button.button-fill-outlined.button-priority-tertiary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-outlined.button-priority-tertiary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
@@ -657,7 +655,7 @@
|
|
|
657
655
|
border-color: var(--theme-button-color-cool-gray-90, var(--color-cool-gray-90));
|
|
658
656
|
}
|
|
659
657
|
:where(.button.button-fill-outlined.button-priority-tertiary):active:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-outlined.button-priority-tertiary)[data-user-action=pressed]:not(:disabled):not([aria-disabled=true]) {
|
|
660
|
-
background-color: var(--theme-button-tertiary-solid-bg, var(--color-
|
|
658
|
+
background-color: var(--theme-button-tertiary-solid-bg, var(--color-surface-neutral));
|
|
661
659
|
border-color: var(--theme-button-color-cool-gray-90, var(--color-cool-gray-90));
|
|
662
660
|
}
|
|
663
661
|
|
|
@@ -744,13 +742,13 @@
|
|
|
744
742
|
}
|
|
745
743
|
|
|
746
744
|
:where(.button.button-fill-solid.button-priority-tertiary):hover:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-solid.button-priority-tertiary)[data-user-action=hover]:not(:disabled):not([aria-disabled=true]) {
|
|
747
|
-
background-color: var(--color-border-
|
|
748
|
-
border-color: var(--theme-button-tertiary-solid-bg, var(--color-
|
|
745
|
+
background-color: var(--color-border-strong, var(--color-surface-strong));
|
|
746
|
+
border-color: var(--theme-button-tertiary-solid-bg, var(--color-surface-neutral));
|
|
749
747
|
box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.68);
|
|
750
748
|
}
|
|
751
749
|
:where(.button.button-fill-solid.button-priority-tertiary):active:not(:disabled):not([aria-disabled=true]), :where(.button.button-fill-solid.button-priority-tertiary)[data-user-action=pressed]:not(:disabled):not([aria-disabled=true]) {
|
|
752
|
-
background-color: var(--color-border-
|
|
753
|
-
border-color: var(--theme-button-tertiary-solid-bg, var(--color-
|
|
750
|
+
background-color: var(--color-border-strong, var(--color-surface-strong));
|
|
751
|
+
border-color: var(--theme-button-tertiary-solid-bg, var(--color-surface-neutral));
|
|
754
752
|
box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.48);
|
|
755
753
|
}
|
|
756
754
|
|
|
@@ -789,8 +787,8 @@
|
|
|
789
787
|
|
|
790
788
|
:where(.button:disabled),
|
|
791
789
|
:where(.button[aria-disabled=true]) {
|
|
792
|
-
background-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
793
|
-
border-color: var(--theme-button-color-bg-surface-standard, var(--color-
|
|
790
|
+
background-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
791
|
+
border-color: var(--theme-button-color-bg-surface-standard, var(--color-surface-standard));
|
|
794
792
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
795
793
|
cursor: not-allowed;
|
|
796
794
|
}
|
|
@@ -851,7 +849,7 @@
|
|
|
851
849
|
background-color: var(--color-bg-alternative-cool-gray, var(--color-cool-gray-95));
|
|
852
850
|
}
|
|
853
851
|
:where(.button.button-template-text.button-priority-tertiary):active:not(:disabled), :where(.button.button-template-text.button-priority-tertiary)[data-user-action=pressed]:not(:disabled) {
|
|
854
|
-
background-color: var(--color-
|
|
852
|
+
background-color: var(--color-surface-strong, var(--color-cool-gray-20));
|
|
855
853
|
}
|
|
856
854
|
|
|
857
855
|
:where(.button.button-template-round) {
|
|
@@ -1066,14 +1064,14 @@ figure.chip {
|
|
|
1066
1064
|
|
|
1067
1065
|
.chip:where([data-kind=filter]),
|
|
1068
1066
|
.chip:where([data-kind=filter-rounded]) {
|
|
1069
|
-
--chip-bg: var(--color-
|
|
1067
|
+
--chip-bg: var(--color-surface-standard, #f2f2f3);
|
|
1070
1068
|
--chip-label-color: var(--color-label-neutral, #797e86);
|
|
1071
1069
|
--chip-border-color: transparent;
|
|
1072
1070
|
}
|
|
1073
1071
|
|
|
1074
1072
|
.chip:where([data-kind=filter][data-selected=true]),
|
|
1075
1073
|
.chip:where([data-kind=filter-rounded][data-selected=true]) {
|
|
1076
|
-
--chip-bg: var(--color-
|
|
1074
|
+
--chip-bg: var(--color-surface-heavy, #313235);
|
|
1077
1075
|
--chip-label-color: var(--color-common-100, #ffffff);
|
|
1078
1076
|
}
|
|
1079
1077
|
|
|
@@ -1082,7 +1080,7 @@ figure.chip {
|
|
|
1082
1080
|
}
|
|
1083
1081
|
|
|
1084
1082
|
.chip:where([data-kind=assist]) {
|
|
1085
|
-
--chip-bg: var(--color-
|
|
1083
|
+
--chip-bg: var(--color-surface-static-neutral, #f2f2f2);
|
|
1086
1084
|
--chip-label-color: var(--color-label-strong, #18191b);
|
|
1087
1085
|
--chip-gap: var(--spacing-gap-2, 8px);
|
|
1088
1086
|
--chip-border-color: transparent;
|
|
@@ -1096,7 +1094,7 @@ figure.chip {
|
|
|
1096
1094
|
--chip-gap: var(--spacing-gap-1, 4px);
|
|
1097
1095
|
--chip-bg: var(--color-common-100, #ffffff);
|
|
1098
1096
|
--chip-label-color: var(--color-label-standard, #3d3f43);
|
|
1099
|
-
--chip-border-color: var(--color-border-
|
|
1097
|
+
--chip-border-color: var(--color-border-assistive, #e4e5e7);
|
|
1100
1098
|
padding-inline-start: var(--spacing-padding-4, 8px);
|
|
1101
1099
|
padding-inline-end: var(--spacing-padding-2, 4px);
|
|
1102
1100
|
}
|
|
@@ -1851,7 +1849,7 @@ figure.chip {
|
|
|
1851
1849
|
--pagination-dot-bg: var(--color-cool-gray-85, #d2d3d7);
|
|
1852
1850
|
--pagination-dot-active-bg: var(--color-primary-default, #0061ff);
|
|
1853
1851
|
--pagination-dot-active-bg-secondary: var(
|
|
1854
|
-
--color-
|
|
1852
|
+
--color-surface-heavy,
|
|
1855
1853
|
#313235
|
|
1856
1854
|
);
|
|
1857
1855
|
--pagination-carousel-height: 8px;
|
package/package.json
CHANGED
|
@@ -50,7 +50,11 @@ const Badge = forwardRef<HTMLElementTagNameMap["figure"], BadgeProps>(
|
|
|
50
50
|
data-has-label={hasLabel ? "true" : undefined}
|
|
51
51
|
>
|
|
52
52
|
{renderDot}
|
|
53
|
-
{
|
|
53
|
+
{["string", "number"].includes(typeof children) ? (
|
|
54
|
+
<span className="badge-label">{children}</span>
|
|
55
|
+
) : (
|
|
56
|
+
children
|
|
57
|
+
)}
|
|
54
58
|
</figure>
|
|
55
59
|
);
|
|
56
60
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.badge:where([data-style="outlined"]) {
|
|
57
|
-
background-color: var(--color-
|
|
57
|
+
background-color: var(--color-surface-static-white, #ffffff);
|
|
58
58
|
border-width: 1px;
|
|
59
59
|
border-style: solid;
|
|
60
60
|
border-color: var(--badge-outline-border-color);
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.badge:where([data-style="fill"][data-intent="gray"]) {
|
|
114
|
-
--badge-fill-bg-color: var(--color-
|
|
114
|
+
--badge-fill-bg-color: var(--color-surface-neutral, #f2f2f2);
|
|
115
115
|
--badge-fill-label-color: var(--color-label-neutral, #797e86);
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -147,12 +147,12 @@
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.badge:where([data-style="outlined"][data-intent="tertiary"]) {
|
|
150
|
-
--badge-outline-border-color: var(--color-border-
|
|
150
|
+
--badge-outline-border-color: var(--color-border-heavy, #313235);
|
|
151
151
|
--badge-outline-label-color: var(--color-label-strong, #18191b);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.badge:where([data-style="outlined"][data-intent="gray"]) {
|
|
155
|
-
--badge-outline-border-color: var(--color-border-
|
|
155
|
+
--badge-outline-border-color: var(--color-border-assistive, #e4e5e7);
|
|
156
156
|
--badge-outline-label-color: var(--color-label-standard, #3d3f43);
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
--theme-button-color-blue-90: var(--color-blue-90);
|
|
100
100
|
--theme-button-color-blue-50: var(--color-blue-50);
|
|
101
101
|
--theme-button-color-blue-45: var(--color-blue-45);
|
|
102
|
-
--theme-button-overlay-solid-tertiary-bg: var(--color-
|
|
102
|
+
--theme-button-overlay-solid-tertiary-bg: var(--color-surface-strong);
|
|
103
103
|
/* Confirm dialog cancel 버튼을 위한 solid tertiary 색상 정의 */
|
|
104
|
-
--theme-button-tertiary-solid-bg: var(--color-
|
|
105
|
-
--theme-button-tertiary-solid-hover-bg: var(--color-
|
|
106
|
-
--theme-button-tertiary-solid-pressed-bg: var(--color-
|
|
104
|
+
--theme-button-tertiary-solid-bg: var(--color-surface-neutral);
|
|
105
|
+
--theme-button-tertiary-solid-hover-bg: var(--color-surface-strong);
|
|
106
|
+
--theme-button-tertiary-solid-pressed-bg: var(--color-surface-strong);
|
|
107
107
|
--theme-button-tertiary-solid-foreground: var(--color-label-neutral);
|
|
108
108
|
--theme-button-secondary-solid-bg: var(--color-blue-95, #e5eeff);
|
|
109
109
|
--theme-button-secondary-solid-hover-bg: #dbe9ff;
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
--theme-button-color-cool-gray-90: var(--color-cool-gray-90);
|
|
112
112
|
--theme-button-color-cool-gray-95: var(--color-cool-gray-95);
|
|
113
113
|
--theme-button-color-cool-gray-10: var(--color-cool-gray-10);
|
|
114
|
-
--theme-button-color-bg-surface-standard: var(--color-
|
|
114
|
+
--theme-button-color-bg-surface-standard: var(--color-surface-standard);
|
|
115
115
|
--theme-button-color-bg-alternative-cool-gray: var(
|
|
116
116
|
--color-bg-alternative-cool-gray
|
|
117
117
|
);
|
|
118
|
-
--theme-button-color-bg-surface-strong: var(--color-
|
|
118
|
+
--theme-button-color-bg-surface-strong: var(--color-surface-strong);
|
|
119
119
|
--theme-button-color-label-disabled: var(--color-label-disabled);
|
|
120
120
|
|
|
121
121
|
/* overlays */
|
|
@@ -181,15 +181,15 @@ $button-priorities: (
|
|
|
181
181
|
tertiary: (
|
|
182
182
|
solid-bg: var(
|
|
183
183
|
--theme-button-tertiary-solid-bg,
|
|
184
|
-
var(--color-
|
|
184
|
+
var(--color-surface-neutral)
|
|
185
185
|
),
|
|
186
186
|
solid-hover: var(
|
|
187
187
|
--theme-button-tertiary-solid-hover-bg,
|
|
188
|
-
var(--color-
|
|
188
|
+
var(--color-surface-static-cool-gray)
|
|
189
189
|
),
|
|
190
190
|
solid-active: var(
|
|
191
191
|
--theme-button-tertiary-solid-pressed-bg,
|
|
192
|
-
var(--color-
|
|
192
|
+
var(--color-surface-strong)
|
|
193
193
|
),
|
|
194
194
|
solid-foreground: var(
|
|
195
195
|
--theme-button-tertiary-solid-foreground,
|
|
@@ -366,11 +366,11 @@ $button-priorities: (
|
|
|
366
366
|
&[aria-disabled="true"] {
|
|
367
367
|
background-color: var(
|
|
368
368
|
--theme-button-color-bg-surface-standard,
|
|
369
|
-
var(--color-
|
|
369
|
+
var(--color-surface-standard)
|
|
370
370
|
);
|
|
371
371
|
border-color: var(
|
|
372
372
|
--theme-button-color-bg-surface-standard,
|
|
373
|
-
var(--color-
|
|
373
|
+
var(--color-surface-standard)
|
|
374
374
|
);
|
|
375
375
|
color: var(
|
|
376
376
|
--theme-button-color-label-disabled,
|
|
@@ -400,11 +400,11 @@ $button-priorities: (
|
|
|
400
400
|
&[aria-disabled="true"] {
|
|
401
401
|
background-color: var(
|
|
402
402
|
--theme-button-color-bg-surface-standard,
|
|
403
|
-
var(--color-
|
|
403
|
+
var(--color-surface-standard)
|
|
404
404
|
);
|
|
405
405
|
border-color: var(
|
|
406
406
|
--theme-button-color-bg-surface-standard,
|
|
407
|
-
var(--color-
|
|
407
|
+
var(--color-surface-standard)
|
|
408
408
|
);
|
|
409
409
|
color: var(
|
|
410
410
|
--theme-button-color-label-disabled,
|
|
@@ -587,7 +587,7 @@ $button-size-map: (
|
|
|
587
587
|
@include button-overlay-state(
|
|
588
588
|
"solid",
|
|
589
589
|
"tertiary",
|
|
590
|
-
var(--color-border-
|
|
590
|
+
var(--color-border-strong, var(--color-surface-strong)),
|
|
591
591
|
0.68,
|
|
592
592
|
0.48,
|
|
593
593
|
priority-token(tertiary, solid-bg)
|
|
@@ -624,11 +624,11 @@ $button-size-map: (
|
|
|
624
624
|
:where(.button[aria-disabled="true"]) {
|
|
625
625
|
background-color: var(
|
|
626
626
|
--theme-button-color-bg-surface-standard,
|
|
627
|
-
var(--color-
|
|
627
|
+
var(--color-surface-standard)
|
|
628
628
|
);
|
|
629
629
|
border-color: var(
|
|
630
630
|
--theme-button-color-bg-surface-standard,
|
|
631
|
-
var(--color-
|
|
631
|
+
var(--color-surface-standard)
|
|
632
632
|
);
|
|
633
633
|
color: var(--theme-button-color-label-disabled, var(--color-label-disabled));
|
|
634
634
|
cursor: not-allowed;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--theme-checkbox-control-radius-medium: var(--theme-radius-xsmall-3, 3px);
|
|
7
7
|
--theme-checkbox-control-radius-large: var(--theme-radius-small-1, 4px);
|
|
8
8
|
--theme-checkbox-border-width: 1.4px;
|
|
9
|
-
--theme-checkbox-border-color: var(--color-border-
|
|
9
|
+
--theme-checkbox-border-color: var(--color-border-assistive);
|
|
10
10
|
--theme-checkbox-border-selected: var(--color-primary-default);
|
|
11
11
|
--theme-checkbox-surface: var(--color-common-100);
|
|
12
12
|
--theme-checkbox-surface-selected: var(--color-primary-default);
|
|
@@ -56,14 +56,14 @@ figure.chip {
|
|
|
56
56
|
|
|
57
57
|
.chip:where([data-kind="filter"]),
|
|
58
58
|
.chip:where([data-kind="filter-rounded"]) {
|
|
59
|
-
--chip-bg: var(--color-
|
|
59
|
+
--chip-bg: var(--color-surface-standard, #f2f2f3);
|
|
60
60
|
--chip-label-color: var(--color-label-neutral, #797e86);
|
|
61
61
|
--chip-border-color: transparent;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.chip:where([data-kind="filter"][data-selected="true"]),
|
|
65
65
|
.chip:where([data-kind="filter-rounded"][data-selected="true"]) {
|
|
66
|
-
--chip-bg: var(--color-
|
|
66
|
+
--chip-bg: var(--color-surface-heavy, #313235);
|
|
67
67
|
--chip-label-color: var(--color-common-100, #ffffff);
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -72,7 +72,7 @@ figure.chip {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.chip:where([data-kind="assist"]) {
|
|
75
|
-
--chip-bg: var(--color-
|
|
75
|
+
--chip-bg: var(--color-surface-static-neutral, #f2f2f2);
|
|
76
76
|
--chip-label-color: var(--color-label-strong, #18191b);
|
|
77
77
|
--chip-gap: var(--spacing-gap-2, 8px);
|
|
78
78
|
--chip-border-color: transparent;
|
|
@@ -86,7 +86,7 @@ figure.chip {
|
|
|
86
86
|
--chip-gap: var(--spacing-gap-1, 4px);
|
|
87
87
|
--chip-bg: var(--color-common-100, #ffffff);
|
|
88
88
|
--chip-label-color: var(--color-label-standard, #3d3f43);
|
|
89
|
-
--chip-border-color: var(--color-border-
|
|
89
|
+
--chip-border-color: var(--color-border-assistive, #e4e5e7);
|
|
90
90
|
padding-inline-start: var(--spacing-padding-4, 8px);
|
|
91
91
|
padding-inline-end: var(--spacing-padding-2, 4px);
|
|
92
92
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// Figma 기준 bottom sheet 여백/톤을 전역 변수로 정리한다.
|
|
3
3
|
--drawer-overlay-bg: rgba(0, 0, 0, 0.44);
|
|
4
|
-
--drawer-surface-bg: var(--color-
|
|
4
|
+
--drawer-surface-bg: var(--color-surface-static-white);
|
|
5
5
|
--drawer-radius-large: var(--theme-radius-large-2);
|
|
6
6
|
--drawer-radius-medium: var(--theme-radius-large-1);
|
|
7
7
|
--drawer-body-color: var(--color-label-standard);
|
|
@@ -26,9 +26,7 @@
|
|
|
26
26
|
// error 상태는 Figma 기준 44% alpha 레드 보더 사용
|
|
27
27
|
--theme-input-border-error: rgba(218, 29, 11, 0.44);
|
|
28
28
|
--theme-input-border-disabled: var(--color-border-standard-cool-gray);
|
|
29
|
-
--theme-input-border-underline-disabled: var(
|
|
30
|
-
--color-border-standard-assistive
|
|
31
|
-
);
|
|
29
|
+
--theme-input-border-underline-disabled: var(--color-border-assistive);
|
|
32
30
|
--theme-input-surface: var(--color-common-100);
|
|
33
31
|
--theme-input-surface-muted: var(--color-neutral-99);
|
|
34
32
|
--theme-input-surface-disabled: var(--color-neutral-95);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--theme-navigation-label-font-weight: 500;
|
|
11
11
|
--theme-navigation-label-letter-spacing: -0.12px;
|
|
12
12
|
--theme-navigation-bg: var(--color-common-100, #ffffff);
|
|
13
|
-
--theme-navigation-border: var(--color-border-
|
|
13
|
+
--theme-navigation-border: var(--color-border-assistive, #e4e5e7);
|
|
14
14
|
--theme-navigation-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
|
|
15
15
|
--theme-navigation-color: var(--color-label-strong, #3d3f43);
|
|
16
16
|
--theme-navigation-color-active: var(--color-primary-default, #0061ff);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--pagination-dot-bg: var(--color-cool-gray-85, #d2d3d7);
|
|
13
13
|
--pagination-dot-active-bg: var(--color-primary-default, #0061ff);
|
|
14
14
|
--pagination-dot-active-bg-secondary: var(
|
|
15
|
-
--color-
|
|
15
|
+
--color-surface-heavy,
|
|
16
16
|
#313235
|
|
17
17
|
); // semantic surface heavy
|
|
18
18
|
--pagination-carousel-height: 8px;
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
--theme-radio-indicator-border-width: 1.4px;
|
|
7
7
|
--theme-radio-indicator-border-width-selected-medium: 4px;
|
|
8
8
|
--theme-radio-indicator-border-width-selected-large: 6px;
|
|
9
|
-
--theme-radio-border-color: var(--color-border-
|
|
9
|
+
--theme-radio-border-color: var(--color-border-assistive);
|
|
10
10
|
--theme-radio-border-selected: var(--color-primary-default);
|
|
11
11
|
--theme-radio-surface-selected: var(--color-primary-default);
|
|
12
|
-
--theme-radio-surface-disabled: var(--color-border-
|
|
13
|
-
--theme-radio-border-disabled: var(--color-border-
|
|
12
|
+
--theme-radio-surface-disabled: var(--color-border-assistive);
|
|
13
|
+
--theme-radio-border-disabled: var(--color-border-assistive);
|
|
14
14
|
--theme-radio-disabled-selected-fill: var(--color-primary-default);
|
|
15
15
|
--theme-radio-label-color: var(--color-label-strong);
|
|
16
16
|
--theme-radio-label-disabled: var(--color-label-disabled);
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--theme-radio-card-background: var(--color-common-100);
|
|
20
20
|
--theme-radio-card-title-color: var(--color-label-strong);
|
|
21
21
|
--theme-radio-card-description-color: var(--color-label-neutral);
|
|
22
|
-
--theme-radio-card-badge-background: var(--color-
|
|
22
|
+
--theme-radio-card-badge-background: var(--color-surface-static-blue);
|
|
23
23
|
--theme-radio-card-badge-color: var(--color-primary-default);
|
|
24
24
|
--theme-radio-focus-ring: rgba(2, 84, 255, 0.32);
|
|
25
25
|
--theme-radio-disabled-selected-opacity: 0.28;
|