(fix:ui) minor color perfections

This commit is contained in:
ManishMadan2882
2025-03-01 20:15:10 +05:30
parent f66ef05f2a
commit 63ba005f4d
4 changed files with 11 additions and 11 deletions

View File

@@ -77,8 +77,8 @@ const SettingsBar = ({ setActiveTab, activeTab }: SettingsBarProps) => {
onClick={() => setActiveTab(tab)}
className={`snap-start h-9 rounded-3xl px-4 font-bold transition-colors ${
activeTab === tab
? 'bg-neutral-200 text-neutral-900 dark:bg-dark-charcoal dark:text-white'
: 'text-neutral-700 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-white'
? 'bg-[#F4F4F5] text-neutral-900 dark:bg-dark-charcoal dark:text-white'
: 'text-neutral-700 hover:text-neutral-900 dark:text-neutral-300 dark:hover:text-white'
}`}
role="tab"
aria-selected={activeTab === tab}

View File

@@ -69,7 +69,7 @@ const ToggleSwitch: React.FC<ToggleSwitchProps> = ({
}`}
></div>
<div
className={`absolute ${toggle} flex items-center justify-center rounded-full transition bg-white ${
className={`absolute ${toggle} flex items-center justify-center rounded-full transition bg-white opacity-80 ${
checked ? `${translate} bg-silver` : ''
}`}
></div>