mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-14 16:09:31 +01:00
fix: Dark mode fixes
This commit is contained in:
parent
aef809030d
commit
36746c86ac
@ -11,6 +11,7 @@ abstract class AppConfig {
|
||||
static const bool allowOtherHomeservers = true;
|
||||
static const bool enableRegistration = true;
|
||||
static const Color primaryColor = Color(0xFF5625BA);
|
||||
static const Color primaryColorLight = Color(0xFFF5B4D2);
|
||||
static String _privacyUrl = 'https://fluffychat.im/en/privacy.html';
|
||||
static String get privacyUrl => _privacyUrl;
|
||||
static const String appId = 'im.fluffychat.FluffyChat';
|
||||
|
@ -32,6 +32,7 @@ abstract class FluffyThemes {
|
||||
primaryColorLight: Color(0xff121212),
|
||||
brightness: Brightness.light,
|
||||
primaryColor: AppConfig.primaryColor,
|
||||
accentColor: AppConfig.primaryColor,
|
||||
backgroundColor: Colors.white,
|
||||
secondaryHeaderColor: Color(0xFFECECF2),
|
||||
scaffoldBackgroundColor: Colors.white,
|
||||
@ -74,12 +75,12 @@ abstract class FluffyThemes {
|
||||
static ThemeData dark = ThemeData.dark().copyWith(
|
||||
primaryColorDark: Color(0xff121212),
|
||||
primaryColorLight: Colors.white,
|
||||
primaryColor: Color(0xFF8966CF),
|
||||
primaryColor: AppConfig.primaryColor,
|
||||
errorColor: Color(0xFFCF6679),
|
||||
backgroundColor: Colors.black,
|
||||
scaffoldBackgroundColor: Colors.black,
|
||||
accentColor: Color(0xFFF5B4D2),
|
||||
secondaryHeaderColor: Color(0xff1D1D1D),
|
||||
accentColor: AppConfig.primaryColorLight,
|
||||
secondaryHeaderColor: Color(0xff2D2D2D),
|
||||
textTheme: Typography.material2018().white.merge(fallback_text_theme),
|
||||
dialogTheme: DialogTheme(
|
||||
shape: RoundedRectangleBorder(
|
||||
@ -95,6 +96,11 @@ abstract class FluffyThemes {
|
||||
backgroundColor: AppConfig.primaryColor,
|
||||
foregroundColor: Colors.white,
|
||||
),
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)),
|
||||
filled: true,
|
||||
fillColor: Color(0xff2D2D2D),
|
||||
),
|
||||
appBarTheme: AppBarTheme(
|
||||
brightness: Brightness.dark,
|
||||
color: Color(0xff1D1D1D),
|
||||
|
Loading…
Reference in New Issue
Block a user