Skip to content

Commit 0ebebb3

Browse files
committed
style: Update form theme colors for light mode
This commit refines the visual styling of form components by adjusting the light mode color palette for `SliderTheme` and `SwitchTheme` in `lib/screens/widgets/overrides/form_themes.dart`. ### Key Changes: * **SliderTheme Adjustments:** * Updated `trackColor` from gray to `blue[200]` in light mode. * Updated `valueColor` and `thumbColor` from gray to `blue[900]` in light mode. * **SwitchTheme Adjustments:** * Updated `inactiveThumbColor` from `blue[400]` to `blue[900]` in light mode to ensure consistency across form controls.
1 parent dab4043 commit 0ebebb3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/screens/widgets/overrides/form_themes.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ class FormThemes extends StatelessWidget {
3333
),
3434
child: ComponentTheme(
3535
data: SliderTheme(
36-
trackColor: isDark ? Colors.gray[500] : Colors.gray[500],
37-
valueColor: isDark ? Colors.gray[100] : Colors.gray[100],
38-
thumbColor: isDark ? Colors.gray[100] : Colors.gray[100],
36+
trackColor: isDark ? Colors.gray[500] : Colors.blue[200],
37+
valueColor: isDark ? Colors.gray[100] : Colors.blue[900],
38+
thumbColor: isDark ? Colors.gray[100] : Colors.blue[900],
3939
thumbBorderColor: isDark ? Colors.blue[900] : Colors.blue[900],
4040
),
4141
child: ComponentTheme(
4242
data: SwitchTheme(
4343
activeColor: isDark ? Colors.blue[400] : Colors.blue[300],
4444
activeThumbColor: isDark ? Colors.blue[900] : Colors.blue[900],
4545
inactiveColor: isDark ? Colors.gray[500] : Colors.gray[200],
46-
inactiveThumbColor: isDark ? Colors.gray[200] : Colors.blue[400],
46+
inactiveThumbColor: isDark ? Colors.gray[200] : Colors.blue[900],
4747
),
4848
child: child,
4949
),

0 commit comments

Comments
 (0)