Skip to content

Commit

Permalink
fix: 強制カラーモードの際にハイライトされない問題の修正(再修正)
Browse files Browse the repository at this point in the history
  • Loading branch information
misako0927 committed Jun 14, 2024
1 parent 2700fc3 commit 0b80b1f
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions packages/smarthr-ui/src/components/Button/ButtonWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ const button = tv({
'aria-disabled:shr-border-main/50',
'aria-disabled:shr-bg-main/50',
'aria-disabled:shr-text-white/50',
'aria-disabled:forced-colors:shr-border-main/50',
'aria-disabled:forced-colors:shr-bg-main/50',
'aria-disabled:forced-colors:shr-text-white/50',
'aria-disabled:forced-colors:shr-border-[GrayText]',
'aria-disabled:forced-colors:shr-text-[GrayText]',
],
},
{
Expand Down Expand Up @@ -234,9 +233,8 @@ const button = tv({
'aria-disabled:shr-border-disabled',
'aria-disabled:shr-bg-white-darken',
'aria-disabled:shr-text-disabled',
'aria-disabled:forced-colors:shr-border-disabled',
'aria-disabled:forced-colors:shr-bg-white-darken',
'aria-disabled:forced-colors:shr-text-disabled',
'aria-disabled:forced-colors:shr-border-[GrayText]',
'aria-disabled:forced-colors:shr-text-[GrayText]',
],
},
{
Expand Down Expand Up @@ -268,9 +266,8 @@ const button = tv({
'aria-disabled:shr-border-danger/50',
'aria-disabled:shr-bg-danger/50',
'aria-disabled:shr-text-white/50',
'aria-disabled:forced-colors:shr-border-danger/50',
'aria-disabled:forced-colors:shr-bg-danger/50',
'aria-disabled:forced-colors:shr-text-white/50',
'aria-disabled:forced-colors:shr-border-[GrayText]',
'aria-disabled:forced-colors:shr-text-[GrayText]',
],
},
{
Expand Down Expand Up @@ -304,9 +301,8 @@ const button = tv({
'aria-disabled:shr-border-white/50',
'aria-disabled:shr-bg-transparent',
'aria-disabled:shr-text-white/50',
'aria-disabled:forced-colors:shr-border-white/50',
'aria-disabled:forced-colors:shr-bg-transparent',
'aria-disabled:forced-colors:shr-text-white/50',
'aria-disabled:forced-colors:shr-border-[GrayText]',
'aria-disabled:forced-colors:shr-text-[GrayText]',
],
},
{
Expand Down Expand Up @@ -336,9 +332,8 @@ const button = tv({
'aria-disabled:shr-border-transparent',
'aria-disabled:shr-bg-transparent',
'aria-disabled:shr-text-disabled',
'aria-disabled:forced-colors:shr-border-transparent',
'aria-disabled:forced-colors:shr-bg-transparent',
'aria-disabled:forced-colors:shr-text-disabled',
'aria-disabled:forced-colors:shr-border-[GrayText]',
'aria-disabled:forced-colors:shr-text-[GrayText]',
],
},
{
Expand Down

0 comments on commit 0b80b1f

Please sign in to comment.