Skip to content

Commit

Permalink
fix darkMode color
Browse files Browse the repository at this point in the history
  • Loading branch information
ergofriend committed Oct 15, 2024
1 parent 6599de7 commit cedba76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions components/organisms/custom-filter-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const CustomFilterConfig = () => {

const PreviewFilterConfig = () => {
return (
<div className="flex flex-col w-full bg-destructive-foreground p-4">
<div className="flex flex-col w-full text-primary dark:text-primary-foreground bg-destructive-foreground p-4">
<div className="flex gap-2 w-full pb-2">
<Label>
{browser.i18n.getMessage("common_sample_custom_filter_1")}
Expand Down Expand Up @@ -140,7 +140,10 @@ const UserFilterConfig = () => {

<div className="flex flex-col gap-4">
{state.current.custom_user_filters.map((filter, i) => (
<div key={filter.id} className="w-full bg-destructive-foreground p-4">
<div
key={filter.id}
className="w-full text-primary dark:text-primary-foreground bg-destructive-foreground p-4"
>
<div className="flex gap-2">
<div className="flex flex-col gap-2 justify-center">
<Button
Expand Down
2 changes: 1 addition & 1 deletion components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
<input
type={type}
className={cn(
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
"flex h-10 w-full rounded-md border border-input text-primary bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
ref={ref}
Expand Down

0 comments on commit cedba76

Please sign in to comment.