Skip to content

Commit 703d8e1

Browse files
feat: enhance theme and language selection UI with improved styles
1 parent c64aeea commit 703d8e1

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

apps/web/app/settings/page.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,13 @@ export default function SettingsPage() {
195195
onClick={() => setTheme(option.value as "light" | "dark" | "system")}
196196
className={`flex flex-col items-center p-4 rounded-xl border-2 transition-all ${
197197
theme === option.value
198-
? "border-blue-500 bg-blue-50"
199-
: "border-gray-200 hover:border-gray-300"
198+
? "border-blue-500 bg-blue-50 text-blue-700"
199+
: "border-gray-200 hover:border-gray-300 text-gray-700 hover:text-gray-900"
200200
}`}
201201
>
202-
<IconComponent className="h-6 w-6 mb-2" />
202+
<IconComponent className={`h-6 w-6 mb-2 ${
203+
theme === option.value ? "text-blue-600" : "text-gray-600"
204+
}`} />
203205
<span className="text-sm font-medium">{option.label}</span>
204206
</button>
205207
);
@@ -212,12 +214,12 @@ export default function SettingsPage() {
212214
<select
213215
value={language}
214216
onChange={(e) => setLanguage(e.target.value)}
215-
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
217+
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 bg-white text-gray-900"
216218
>
217-
<option value="en">English</option>
218-
<option value="es">Español</option>
219-
<option value="fr">Français</option>
220-
<option value="de">Deutsch</option>
219+
<option value="en" className="text-gray-900">English</option>
220+
<option value="es" className="text-gray-900">Español</option>
221+
<option value="fr" className="text-gray-900">Français</option>
222+
<option value="de" className="text-gray-900">Deutsch</option>
221223
</select>
222224
</div>
223225

0 commit comments

Comments
 (0)