Merge pull request #1288 from AkashJana18/tab-redesign

🚀 Feature: Tabs in settings redesign
This commit is contained in:
Alex
2024-10-10 18:13:46 +01:00
committed by GitHub

View File

@@ -71,9 +71,9 @@ const SettingsBar = ({ setActiveTab, activeTab }: SettingsBarProps) => {
<button <button
key={index} key={index}
onClick={() => setActiveTab(tab)} onClick={() => setActiveTab(tab)}
className={`snap-start h-9 rounded-3xl px-4 font-bold ${ className={`snap-start h-9 rounded-3xl px-4 font-bold hover:text-neutral-600 dark:hover:text-white/60 ${
activeTab === tab activeTab === tab
? 'bg-purple-3000 text-purple-30 dark:bg-dark-charcoal' ? 'bg-neutral-100 text-neutral-600 dark:bg-dark-charcoal dark:text-white/60'
: 'text-gray-6000' : 'text-gray-6000'
}`} }`}
> >