From cd1806b9197f780074abfa8c87cf3f443bfec7a0 Mon Sep 17 00:00:00 2001 From: Sean Edmunds Date: Thu, 2 Jan 2025 11:21:29 -0600 Subject: [PATCH] More theme styles --- src/pages/settings/components/ThemeCard.tsx | 26 ++++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/pages/settings/components/ThemeCard.tsx b/src/pages/settings/components/ThemeCard.tsx index 7fe8516..cde9d3d 100644 --- a/src/pages/settings/components/ThemeCard.tsx +++ b/src/pages/settings/components/ThemeCard.tsx @@ -1,5 +1,6 @@ -import { ActionIcon, Box, Button, Group, Stack, Text } from '@mantine/core'; -import { FiCheck, FiEdit, FiShuffle, FiTrash, FiX } from 'react-icons/fi'; +import { ActionIcon, Box, Button, Group, Overlay, Stack, Text } from '@mantine/core'; +import { useState } from 'react'; +import { FiEdit, FiShuffle, FiTrash, FiX } from 'react-icons/fi'; import { actionIconClasses } from 'styles'; function ThemeCard({ @@ -11,8 +12,17 @@ function ThemeCard({ setValue, createTheme, }: any) { + const [hover, setHover] = useState(false); return ( - + setHover(true)} + onMouseLeave={() => setHover(false)} + >