mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 22:51:00 -04:00
Accessibility update
This commit is contained in:
parent
be8014c97a
commit
3b1cb53b8a
55 changed files with 1089 additions and 807 deletions
|
@ -132,6 +132,13 @@ class ScaleTheme extends ThemeExtension<ScaleTheme> {
|
|||
iconColor: elementColorWidgetStateProperty(),
|
||||
));
|
||||
|
||||
final sliderTheme = SliderThemeData.fromPrimaryColors(
|
||||
primaryColor: scheme.primaryScale.hoverBorder,
|
||||
primaryColorDark: scheme.primaryScale.border,
|
||||
primaryColorLight: scheme.primaryScale.border,
|
||||
valueIndicatorTextStyle: textTheme.labelMedium!
|
||||
.copyWith(color: scheme.primaryScale.borderText));
|
||||
|
||||
final themeData = baseThemeData.copyWith(
|
||||
scrollbarTheme: baseThemeData.scrollbarTheme.copyWith(
|
||||
thumbColor: WidgetStateProperty.resolveWith((states) {
|
||||
|
@ -183,6 +190,7 @@ class ScaleTheme extends ThemeExtension<ScaleTheme> {
|
|||
elevatedButtonTheme: elevatedButtonTheme,
|
||||
inputDecorationTheme:
|
||||
ScaleInputDecoratorTheme(scheme, config, textTheme),
|
||||
sliderTheme: sliderTheme,
|
||||
extensions: <ThemeExtension<dynamic>>[scheme, config, this]);
|
||||
|
||||
return themeData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue