55 ArrowLeftIcon ,
66 Trophy ,
77 Layout ,
8- Database ,
8+ DatabaseIcon ,
99 FilmStrip ,
1010 Warning ,
1111 Trash ,
@@ -158,7 +158,7 @@ const SettingsPage = () => {
158158
159159 { /* Client-Side Badge */ }
160160 < div className = "hidden md:flex items-center gap-2 px-4 py-2 rounded-full bg-gray-800/50 border border-gray-700 text-xs font-mono text-gray-400" >
161- < Database size = { 14 } />
161+ < DatabaseIcon size = { 14 } />
162162 < span > CLIENT-SIDE STORAGE ONLY</ span >
163163 </ div >
164164 </ div >
@@ -175,24 +175,36 @@ const SettingsPage = () => {
175175 label = "Enable System Animations"
176176 checked = { isAnimationEnabled }
177177 onChange = { toggleAnimation }
178+ colorTheme = "blue"
178179 />
179- </ div >
180180
181- < div className = { `pl-4 border-l-2 border-gray-700 space-y-4 transition-all duration-300 ${ ! isAnimationEnabled ? 'opacity-50 grayscale' : '' } ` } >
182- < CustomToggle
183- id = "show-animations-homepage"
184- label = "Show animations on Homepage"
185- checked = { showAnimationsHomepage }
186- onChange = { toggleShowAnimationsHomepage }
187- disabled = { ! isAnimationEnabled }
188- />
189- < CustomToggle
190- id = "show-animations-inner-pages"
191- label = "Show animations on Inner Pages"
192- checked = { showAnimationsInnerPages }
193- onChange = { toggleShowAnimationsInnerPages }
194- disabled = { ! isAnimationEnabled }
195- />
181+ < motion . div
182+ animate = { {
183+ height : isAnimationEnabled ? 'auto' : 0 ,
184+ opacity : isAnimationEnabled ? 1 : 0 ,
185+ } }
186+ className = "overflow-hidden"
187+ >
188+ < div className = "my-4 border-t border-white/5" > </ div >
189+ < div className = "space-y-4 pl-2" >
190+ < CustomToggle
191+ id = "show-animations-homepage"
192+ label = "Show animations on Homepage"
193+ checked = { showAnimationsHomepage }
194+ onChange = { toggleShowAnimationsHomepage }
195+ disabled = { ! isAnimationEnabled }
196+ colorTheme = "blue"
197+ />
198+ < CustomToggle
199+ id = "show-animations-inner-pages"
200+ label = "Show animations on Inner Pages"
201+ checked = { showAnimationsInnerPages }
202+ onChange = { toggleShowAnimationsInnerPages }
203+ disabled = { ! isAnimationEnabled }
204+ colorTheme = "blue"
205+ />
206+ </ div >
207+ </ motion . div >
196208 </ div >
197209
198210 { ! isAnimationEnabled && (
@@ -212,6 +224,7 @@ const SettingsPage = () => {
212224 label = "Show Achievement Popups"
213225 checked = { showAchievementToast }
214226 onChange = { toggleAchievementToast }
227+ colorTheme = "rose"
215228 />
216229 < p className = "mt-2 text-sm text-gray-400 ml-1" >
217230 When enabled, you'll receive a toast notification whenever you unlock a new achievement.
@@ -225,21 +238,21 @@ const SettingsPage = () => {
225238 Apply experimental visual filters to the entire application. Combine them at your own risk!
226239 </ p >
227240 < div className = "grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-4" >
228- < CustomToggle id = "fx-invert" label = "Invert Colors" checked = { isInverted } onChange = { toggleInvert } />
229- < CustomToggle id = "fx-retro" label = "Retro CRT" checked = { isRetro } onChange = { toggleRetro } />
230- < CustomToggle id = "fx-party" label = "Party Mode" checked = { isParty } onChange = { toggleParty } />
231- < CustomToggle id = "fx-mirror" label = "Mirror World" checked = { isMirror } onChange = { toggleMirror } />
232- < CustomToggle id = "fx-noir" label = "Film Noir" checked = { isNoir } onChange = { toggleNoir } />
233- < CustomToggle id = "fx-terminal" label = "Terminal Green" checked = { isTerminal } onChange = { toggleTerminal } />
234- < CustomToggle id = "fx-blueprint" label = "Blueprint" checked = { isBlueprint } onChange = { toggleBlueprint } />
235- < CustomToggle id = "fx-sepia" label = "Sepia Tone" checked = { isSepia } onChange = { toggleSepia } />
236- < CustomToggle id = "fx-vaporwave" label = "Vaporwave" checked = { isVaporwave } onChange = { toggleVaporwave } />
237- < CustomToggle id = "fx-cyberpunk" label = "Cyberpunk" checked = { isCyberpunk } onChange = { toggleCyberpunk } />
238- < CustomToggle id = "fx-gameboy" label = "Game Boy" checked = { isGameboy } onChange = { toggleGameboy } />
239- < CustomToggle id = "fx-comic" label = "Comic Book" checked = { isComic } onChange = { toggleComic } />
240- < CustomToggle id = "fx-sketchbook" label = "Sketchbook" checked = { isSketchbook } onChange = { toggleSketchbook } />
241- < CustomToggle id = "fx-hellenic" label = "Hellenic Statue" checked = { isHellenic } onChange = { toggleHellenic } />
242- < CustomToggle id = "fx-glitch" label = "System Glitch" checked = { isGlitch } onChange = { toggleGlitch } />
241+ < CustomToggle id = "fx-invert" label = "Invert Colors" checked = { isInverted } onChange = { toggleInvert } colorTheme = "purple" />
242+ < CustomToggle id = "fx-retro" label = "Retro CRT" checked = { isRetro } onChange = { toggleRetro } colorTheme = "amber" />
243+ < CustomToggle id = "fx-party" label = "Party Mode" checked = { isParty } onChange = { toggleParty } colorTheme = "rose" />
244+ < CustomToggle id = "fx-mirror" label = "Mirror World" checked = { isMirror } onChange = { toggleMirror } colorTheme = "cyan" />
245+ < CustomToggle id = "fx-noir" label = "Film Noir" checked = { isNoir } onChange = { toggleNoir } colorTheme = "indigo" />
246+ < CustomToggle id = "fx-terminal" label = "Terminal Green" checked = { isTerminal } onChange = { toggleTerminal } colorTheme = "green" />
247+ < CustomToggle id = "fx-blueprint" label = "Blueprint" checked = { isBlueprint } onChange = { toggleBlueprint } colorTheme = "blue" />
248+ < CustomToggle id = "fx-sepia" label = "Sepia Tone" checked = { isSepia } onChange = { toggleSepia } colorTheme = "amber" />
249+ < CustomToggle id = "fx-vaporwave" label = "Vaporwave" checked = { isVaporwave } onChange = { toggleVaporwave } colorTheme = "cyan" />
250+ < CustomToggle id = "fx-cyberpunk" label = "Cyberpunk" checked = { isCyberpunk } onChange = { toggleCyberpunk } colorTheme = "purple" />
251+ < CustomToggle id = "fx-gameboy" label = "Game Boy" checked = { isGameboy } onChange = { toggleGameboy } colorTheme = "green" />
252+ < CustomToggle id = "fx-comic" label = "Comic Book" checked = { isComic } onChange = { toggleComic } colorTheme = "amber" />
253+ < CustomToggle id = "fx-sketchbook" label = "Sketchbook" checked = { isSketchbook } onChange = { toggleSketchbook } colorTheme = "indigo" />
254+ < CustomToggle id = "fx-hellenic" label = "Hellenic Statue" checked = { isHellenic } onChange = { toggleHellenic } colorTheme = "blue" />
255+ < CustomToggle id = "fx-glitch" label = "System Glitch" checked = { isGlitch } onChange = { toggleGlitch } colorTheme = "rose" />
243256 </ div >
244257 </ Section >
245258
@@ -287,7 +300,7 @@ const SettingsPage = () => {
287300 </ Section >
288301
289302 { /* Data Zone */ }
290- < Section title = "Data Management" icon = { < Database /> } delay = { 0.5 } >
303+ < Section title = "Data Management" icon = { < DatabaseIcon /> } delay = { 0.5 } >
291304 < div className = "bg-red-900/10 border border-red-500/20 rounded-xl p-6" >
292305 < div className = "flex items-start gap-4" >
293306 < div className = "p-3 bg-red-500/10 rounded-full text-red-400 shrink-0" >
0 commit comments