From adc78feb5e35c363c94ab14776c5c310944f28d4 Mon Sep 17 00:00:00 2001 From: "Atsushi Kawamura (atzz/a2c)" Date: Fri, 22 Dec 2023 11:00:56 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Input=E3=81=A8StatusLabel=E3=82=B3?= =?UTF-8?q?=E3=83=B3=E3=83=9D=E3=83=BC=E3=83=8D=E3=83=B3=E3=83=88=E3=81=AB?= =?UTF-8?q?=E7=99=BD=E8=83=8C=E6=99=AF=E3=82=92=E8=BF=BD=E5=8A=A0=20(#4138?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Input/Input.tsx | 2 +- src/components/StatusLabel/StatusLabel.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx index 93188a02d1..a8c668d6f3 100644 --- a/src/components/Input/Input.tsx +++ b/src/components/Input/Input.tsx @@ -48,7 +48,7 @@ const bgColors = { const wrapper = tv({ base: [ 'smarthr-ui-Input', - 'shr-box-border shr-inline-flex shr-cursor-text shr-items-center shr-gap-0.5 shr-rounded-m shr-border shr-border-solid shr-border-default shr-px-0.5', + 'shr-box-border shr-inline-flex shr-cursor-text shr-items-center shr-gap-0.5 shr-rounded-m shr-border shr-border-solid shr-border-default shr-bg-white shr-px-0.5', 'contrast-more:shr-border-high-contrast', 'focus-within:shr-focus-indicator', ], diff --git a/src/components/StatusLabel/StatusLabel.tsx b/src/components/StatusLabel/StatusLabel.tsx index ce5d2973ea..181a1d21cf 100644 --- a/src/components/StatusLabel/StatusLabel.tsx +++ b/src/components/StatusLabel/StatusLabel.tsx @@ -42,15 +42,15 @@ const statusLabel = tv({ bold: false, className: ['shr-border-current'], }, + { + type: ['grey', 'blue', 'green', 'red'], + bold: false, + className: ['shr-bg-white'], + }, { type: 'grey', bold: false, - class: [ - 'shr-bg-white', - 'shr-border-grey-20', - 'shr-text-grey', - 'contrast-more:shr-border-high-contrast', - ], + class: ['shr-border-grey-20', 'shr-text-grey', 'contrast-more:shr-border-high-contrast'], }, { type: 'blue',