mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
fix: Dark theme
This commit is contained in:
parent
189f65a544
commit
0bd0e58b95
@ -66,7 +66,7 @@ abstract class FluffyThemes {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
static ThemeData dark = light.copyWith(
|
static ThemeData dark = ThemeData.dark().copyWith(
|
||||||
primaryColorDark: Color(0xff121212),
|
primaryColorDark: Color(0xff121212),
|
||||||
primaryColorLight: Colors.white,
|
primaryColorLight: Colors.white,
|
||||||
primaryColor: Color(0xFF8966CF),
|
primaryColor: Color(0xFF8966CF),
|
||||||
@ -76,6 +76,20 @@ abstract class FluffyThemes {
|
|||||||
accentColor: Color(0xFFF5B4D2),
|
accentColor: Color(0xFFF5B4D2),
|
||||||
secondaryHeaderColor: Color(0xff1D1D1D),
|
secondaryHeaderColor: Color(0xff1D1D1D),
|
||||||
textTheme: Typography.material2018().white.merge(fallback_text_theme),
|
textTheme: Typography.material2018().white.merge(fallback_text_theme),
|
||||||
|
dialogTheme: DialogTheme(
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(8.0),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
popupMenuTheme: PopupMenuThemeData(
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(8.0),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
floatingActionButtonTheme: FloatingActionButtonThemeData(
|
||||||
|
backgroundColor: AppConfig.primaryColor,
|
||||||
|
foregroundColor: Colors.white,
|
||||||
|
),
|
||||||
appBarTheme: AppBarTheme(
|
appBarTheme: AppBarTheme(
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
color: Color(0xff1D1D1D),
|
color: Color(0xff1D1D1D),
|
||||||
|
Loading…
Reference in New Issue
Block a user