viewer: fixed slider theme
This commit is contained in:
parent
409b4125e7
commit
c0bb4ba2a8
1 changed files with 6 additions and 11 deletions
|
@ -10,7 +10,6 @@ class Themes {
|
|||
brightness: Brightness.dark,
|
||||
accentColor: _accentColor,
|
||||
scaffoldBackgroundColor: Colors.grey[900],
|
||||
buttonColor: _accentColor,
|
||||
dialogBackgroundColor: Colors.grey[850],
|
||||
toggleableActiveColor: _accentColor,
|
||||
tooltipTheme: TooltipThemeData(
|
||||
|
@ -25,6 +24,12 @@ class Themes {
|
|||
),
|
||||
),
|
||||
),
|
||||
colorScheme: ColorScheme.dark(
|
||||
primary: _accentColor,
|
||||
secondary: _accentColor,
|
||||
onPrimary: Colors.white,
|
||||
onSecondary: Colors.white,
|
||||
),
|
||||
snackBarTheme: SnackBarThemeData(
|
||||
backgroundColor: Colors.grey[800],
|
||||
contentTextStyle: TextStyle(
|
||||
|
@ -32,16 +37,6 @@ class Themes {
|
|||
),
|
||||
behavior: SnackBarBehavior.floating,
|
||||
),
|
||||
elevatedButtonTheme: ElevatedButtonThemeData(
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: _accentColor,
|
||||
),
|
||||
),
|
||||
outlinedButtonTheme: OutlinedButtonThemeData(
|
||||
style: OutlinedButton.styleFrom(
|
||||
primary: _accentColor,
|
||||
),
|
||||
),
|
||||
textButtonTheme: TextButtonThemeData(
|
||||
style: TextButton.styleFrom(
|
||||
primary: Colors.white,
|
||||
|
|
Loading…
Reference in a new issue