Skip to content

Commit

Permalink
fix: finishing touches on dark/light buf fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Oct 31, 2024
1 parent 1f33a10 commit 46a9f23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions playgrounds/app/src/components/ui/combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ComboboxItem = <T extends ValidComponent = 'li'>(
return (
<ComboboxPrimitive.Item
class={cn(
'relative flex cursor-default select-none items-center justify-between rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:opacity-50',
'relative flex cursor-default select-none items-center justify-between rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-100 data-[highlighted]:text-black data-[disabled]:opacity-50',
local.class,
)}
{...others}
Expand Down Expand Up @@ -49,7 +49,7 @@ const ComboboxItemIndicator = <T extends ValidComponent = 'div'>(
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-4 dark:text-black"
class="size-4"
>
<path d="M5 12l5 5l10 -10" />
</svg>
Expand Down
8 changes: 4 additions & 4 deletions playgrounds/app/src/components/ui/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const DropdownMenuItem = <T extends ValidComponent = 'div'>(
return (
<DropdownMenuPrimitive.Item
class={cn(
'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
props.class,
)}
{...rest}
Expand Down Expand Up @@ -103,7 +103,7 @@ const DropdownMenuSubTrigger = <T extends ValidComponent = 'div'>(
return (
<DropdownMenuPrimitive.SubTrigger
class={cn(
'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-white data-[state=open]:bg-accent',
'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-gray-100 data-[state=open]:bg-accent',
props.class,
)}
{...rest}
Expand Down Expand Up @@ -158,7 +158,7 @@ const DropdownMenuCheckboxItem = <T extends ValidComponent = 'div'>(
return (
<DropdownMenuPrimitive.CheckboxItem
class={cn(
'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
props.class,
)}
{...rest}
Expand Down Expand Up @@ -214,7 +214,7 @@ const DropdownMenuRadioItem = <T extends ValidComponent = 'div'>(
return (
<DropdownMenuPrimitive.RadioItem
class={cn(
'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
props.class,
)}
{...rest}
Expand Down

0 comments on commit 46a9f23

Please sign in to comment.