fix: AudioPlayer color and remove web workaround
This commit is contained in:
parent
abde6febe3
commit
fa66da8494
3 changed files with 7 additions and 30 deletions
|
|
@ -13,6 +13,7 @@ abstract class AppConfig {
|
|||
static const bool enableRegistration = true;
|
||||
static const Color primaryColor = Color(0xFF5625BA);
|
||||
static const Color primaryColorLight = Color(0xFFCCBDEA);
|
||||
static const Color secondaryColor = Color(0xFF41a2bc);
|
||||
static String _privacyUrl = 'https://fluffychat.im/en/privacy.html';
|
||||
static String get privacyUrl => _privacyUrl;
|
||||
static const String appId = 'im.fluffychat.FluffyChat';
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ abstract class FluffyThemes {
|
|||
colorScheme: ThemeData.light().colorScheme.copyWith(
|
||||
primary: AppConfig.primaryColor,
|
||||
secondary: AppConfig.primaryColor,
|
||||
secondaryVariant: AppConfig.secondaryColor,
|
||||
),
|
||||
backgroundColor: Colors.white,
|
||||
secondaryHeaderColor: lighten(AppConfig.primaryColor, .51),
|
||||
|
|
@ -121,6 +122,7 @@ abstract class FluffyThemes {
|
|||
colorScheme: ThemeData.dark().colorScheme.copyWith(
|
||||
primary: AppConfig.primaryColorLight,
|
||||
secondary: AppConfig.primaryColorLight,
|
||||
secondaryVariant: AppConfig.secondaryColor,
|
||||
),
|
||||
secondaryHeaderColor: FluffyThemes.darken(AppConfig.primaryColorLight, .65),
|
||||
textTheme: Typography.material2018().white.merge(fallback_text_theme),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue