Skip to content

Commit

Permalink
fix: InputとStatusLabelコンポーネントに白背景を追加 (#4138)
Browse files Browse the repository at this point in the history
  • Loading branch information
atzzCokeK committed Dec 22, 2023
1 parent b3b48c3 commit adc78fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
Expand Down
12 changes: 6 additions & 6 deletions src/components/StatusLabel/StatusLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit adc78fe

Please sign in to comment.