From c670778ecb36e9f965fd69fdde15136aca6c8caa Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:23:09 -0300 Subject: [PATCH] fix: toggle and row hover colors (#4169) * Fix toggle colors * Fix row hover color --- src/frontend/src/components/ui/switch.tsx | 7 +++---- src/frontend/src/style/ag-theme-shadcn.css | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/frontend/src/components/ui/switch.tsx b/src/frontend/src/components/ui/switch.tsx index 8b89baa50..a4067934c 100644 --- a/src/frontend/src/components/ui/switch.tsx +++ b/src/frontend/src/components/ui/switch.tsx @@ -1,8 +1,8 @@ "use client"; +import { cn } from "@/utils/utils"; import * as SwitchPrimitives from "@radix-ui/react-switch"; import * as React from "react"; -import { cn } from "../../utils/utils"; const Switch = React.forwardRef< React.ElementRef, @@ -10,16 +10,15 @@ const Switch = React.forwardRef< >(({ className, ...props }, ref) => ( diff --git a/src/frontend/src/style/ag-theme-shadcn.css b/src/frontend/src/style/ag-theme-shadcn.css index 1b1bd96a8..4fbed5c3d 100644 --- a/src/frontend/src/style/ag-theme-shadcn.css +++ b/src/frontend/src/style/ag-theme-shadcn.css @@ -12,7 +12,7 @@ --ag-selected-row-background-color: hsl(var(--accent)); --ag-menu-background-color: hsl(var(--accent)); --ag-panel-background-color: hsl(var(--accent)); - --ag-row-hover-color: hsl(var(--accent)); + --ag-row-hover-color: hsl(var(--primary-foreground)); --ag-header-height: 2.5rem; }