From 69515eed7dee40ea5c8c10d03fda023fc3b885b5 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 15 Oct 2024 19:42:33 -0300 Subject: [PATCH 1/2] Fix toggle colors --- src/frontend/src/components/ui/switch.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/components/ui/switch.tsx b/src/frontend/src/components/ui/switch.tsx index 8b89baa50c8..a4067934c01 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) => ( From 2c8bedd209fd5876c1fb25eeee46960f807dde8c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 15 Oct 2024 19:42:42 -0300 Subject: [PATCH 2/2] Fix row hover color --- src/frontend/src/style/ag-theme-shadcn.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/style/ag-theme-shadcn.css b/src/frontend/src/style/ag-theme-shadcn.css index 1b1bd96a805..4fbed5c3dec 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; }