From 19816d9b5e19a40c7163c86250ed92dd76d333e7 Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Sat, 7 Dec 2024 18:15:17 -0500 Subject: [PATCH] Changed Colors --- app/components/ui/Settings.tsx | 20 ++++++++++++-------- app/components/ui/SettingsSlider.tsx | 4 ++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/app/components/ui/Settings.tsx b/app/components/ui/Settings.tsx index 5a94dd8..5c53c34 100644 --- a/app/components/ui/Settings.tsx +++ b/app/components/ui/Settings.tsx @@ -10,6 +10,7 @@ import { toast } from 'react-toastify'; import { useNavigate } from '@remix-run/react'; import commit from '~/commit.json'; import Cookies from 'js-cookie'; +import { SettingsSlider } from './SettingsSlider'; interface SettingsProps { open: boolean; @@ -217,7 +218,9 @@ export const Settings = ({ open, onClose }: SettingsProps) => { onClick={() => setActiveTab(tab.id)} className={classNames( 'w-full flex items-center gap-2 px-4 py-3 rounded-lg text-left text-sm transition-all mb-2', - activeTab === tab.id ? 'bg-blue-600 text-white' : 'bg-gray-600 text-gray-200 hover:bg-blue-500', + activeTab === tab.id + ? 'bg-gradient-to-r from-purple-500 to-blue-500 text-white' + : 'bg-gray-600 text-gray-200 hover:bg-gradient-to-r hover:from-purple-400 hover:to-blue-400', )} >
@@ -299,10 +302,10 @@ export const Settings = ({ open, onClose }: SettingsProps) => { checked={provider.isEnabled} onChange={() => handleToggleProvider(provider.name)} /> -
+
@@ -325,7 +328,8 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
)} {activeTab === 'features' && ( -
+
+

Feature Settings

Debug Info diff --git a/app/components/ui/SettingsSlider.tsx b/app/components/ui/SettingsSlider.tsx index 1a5d410..8de9136 100644 --- a/app/components/ui/SettingsSlider.tsx +++ b/app/components/ui/SettingsSlider.tsx @@ -25,8 +25,8 @@ export const SettingsSlider = memo(({ selected, options, setSelected }: Sett