Skip to content

Commit

Permalink
fix: Tab button style (#10715)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch authored Jan 22, 2025
1 parent 001cf41 commit 216eb40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/components/Tab/Tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const Tab = forwardRef((props: Props, ref: Ref<HTMLButtonElement>) => {
return (
<button
className={cn(
'flex cursor-default select-none appearance-none items-center justify-center border-0 px-4 py-3 text-sm leading-5 text-grape-600 outline-0',
isActive ? 'text-grape-700' : 'cursor-pointer',
'flex cursor-default select-none appearance-none items-center justify-center border-0 bg-inherit px-4 py-3 text-sm leading-5 outline-0',
isActive ? 'text-grape-700' : 'cursor-pointer text-slate-600',
className
)}
onClick={onClick}
Expand Down
1 change: 1 addition & 0 deletions packages/client/tailwindTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default {
theme: {
colors: {
transparent: 'transparent',
inherit: 'inherit',
current: 'currentColor',
black: defaultColors.black,
white: defaultColors.white,
Expand Down

0 comments on commit 216eb40

Please sign in to comment.