Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/propel/src/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const TabsTrigger = React.forwardRef(function TabsTrigger(
data-slot="tabs-trigger"
className={cn(
"flex items-center justify-center p-1 min-w-fit w-full font-medium text-primary outline-none focus:outline-none cursor-pointer transition-all duration-200 ease-in-out rounded-sm",
"data-[selected]:bg-surface-1 data-[selected]:text-primary data-[selected]:shadow-sm",
"text-placeholder hover:text-tertiary hover:bg-layer-1/60",
"data-[selected]:bg-layer-transparent-active data-[selected]:text-primary data-[selected]:shadow-sm",
"text-placeholder hover:text-tertiary hover:bg-layer-transparent-hover",
"disabled:text-placeholder disabled:cursor-not-allowed",
{
"text-11": size === "sm",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/tabs/tab-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export function TabList({
cn(
"flex items-center justify-center p-1 min-w-fit w-full font-medium text-primary outline-none focus:outline-none cursor-pointer transition-all rounded-sm",
(selectedTab ? selectedTab === tab.key : selected)
? "bg-surface-1 text-primary shadow-sm"
? "bg-layer-transparent-active text-primary shadow-sm"
: tab.disabled
? "text-placeholder cursor-not-allowed"
: "text-placeholder hover:text-tertiary hover:bg-layer-1/60",
: "text-placeholder hover:text-tertiary hover:bg-layer-transparent-hover",
{
"text-11": size === "sm",
"text-13": size === "md",
Expand Down