Skip to content

Commit 12a2312

Browse files
authored
fix(Input,Picker): BACKGROUNDの間違った使い方を修正 (#6259)
1 parent d29ad9b commit 12a2312

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/smarthr-ui/src/components/Input/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const wrapperClassNameGenerator = tv({
6060
true: 'shr-pointer-events-none shr-bg-white-darken [&&&]:shr-border-default/50',
6161
},
6262
readOnly: {
63-
true: '[&&&]:shr-border-[theme(backgroundColor.background)] [&&&]:shr-bg-background',
63+
true: '[&&&]:shr-border-[theme(backgroundColor.column)] [&&&]:shr-bg-column',
6464
},
6565
},
6666
})

packages/smarthr-ui/src/components/Picker/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const classNameGenerator = (componentType: keyof typeof MIN_WIDTH) =>
2222
'focus-within:shr-focus-indicator',
2323
'has-[[aria-invalid]]:shr-border-danger',
2424
'has-[:disabled]:shr-pointer-events-none has-[:disabled]:shr-bg-white-darken has-[:disabled]:[&&&]:shr-border-default/50',
25-
'has-[[readonly]]:shr-border-[theme(backgroundColor.background)] has-[[readonly]]:shr-bg-background',
25+
'has-[[readonly]]:shr-border-[theme(backgroundColor.column)] has-[[readonly]]:shr-bg-column',
2626
],
2727
inner: [
2828
'shr-h-[theme(fontSize.base)] shr-border-none shr-bg-transparent shr-p-[unset] shr-py-0.75 shr-text-base shr-tabular-nums shr-text-black shr-outline-none shr-outline-0',

0 commit comments

Comments
 (0)