mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-29 17:28:48 -04:00
Accessibility update
This commit is contained in:
parent
be8014c97a
commit
3b1cb53b8a
55 changed files with 1089 additions and 807 deletions
|
@ -308,6 +308,13 @@ ThemeData contrastGenerator({
|
|||
side: elementBorderWidgetStateProperty(),
|
||||
backgroundColor: elementBackgroundWidgetStateProperty()));
|
||||
|
||||
final sliderTheme = SliderThemeData.fromPrimaryColors(
|
||||
primaryColor: scheme.primaryScale.borderText,
|
||||
primaryColorDark: scheme.primaryScale.border,
|
||||
primaryColorLight: scheme.primaryScale.border,
|
||||
valueIndicatorTextStyle: textTheme.labelMedium!
|
||||
.copyWith(color: scheme.primaryScale.borderText));
|
||||
|
||||
final themeData = baseThemeData.copyWith(
|
||||
// chipTheme: baseThemeData.chipTheme.copyWith(
|
||||
// backgroundColor: scaleScheme.primaryScale.elementBackground,
|
||||
|
@ -316,6 +323,7 @@ ThemeData contrastGenerator({
|
|||
// checkmarkColor: scaleScheme.primaryScale.border,
|
||||
// side: BorderSide(color: scaleScheme.primaryScale.border)),
|
||||
elevatedButtonTheme: elevatedButtonTheme,
|
||||
sliderTheme: sliderTheme,
|
||||
textSelectionTheme: TextSelectionThemeData(
|
||||
cursorColor: scheme.primaryScale.appText,
|
||||
selectionColor: scheme.primaryScale.appText.withAlpha(0x7F),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue