Skip to content

Commit

Permalink
fix: segmented-button getting red (#30) (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edsuns committed Jan 24, 2022
1 parent 4b870c7 commit 2f9ef20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/react/components/Segmented.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Segmented = forwardRef((props, ref) => {
dark('dark:bg-white dark:bg-opacity-10')
),
strongHighlight: cls(
'bg-red-500 absolute left-0.5 top-0.5 bottom-0.5 !ml-0 pointer-events-none duration-200',
'absolute left-0.5 top-0.5 bottom-0.5 !ml-0 pointer-events-none duration-200',
rounded ? 'rounded-full' : 'rounded',
`bg-white shadow`,
dark('dark:bg-opacity-15 dark:touch-ripple-white')
Expand Down
2 changes: 1 addition & 1 deletion src/vue/components/Segmented.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
useDarkClasses('dark:bg-white dark:bg-opacity-10')
),
strongHighlight: cls(
'bg-red-500 absolute left-0.5 top-0.5 bottom-0.5 !ml-0 pointer-events-none duration-200',
'absolute left-0.5 top-0.5 bottom-0.5 !ml-0 pointer-events-none duration-200',
props.rounded ? 'rounded-full' : 'rounded',
`bg-white shadow`,
useDarkClasses('dark:bg-opacity-15 dark:touch-ripple-white')
Expand Down

0 comments on commit 2f9ef20

Please sign in to comment.