mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
change: Minor design colors
This commit is contained in:
parent
f5b1ae818d
commit
56edb77b68
@ -11,7 +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 const Color primaryColorLight = Color(0xFFCCBDEA);
|
||||
static String _privacyUrl = 'https://fluffychat.im/en/privacy.html';
|
||||
static String get privacyUrl => _privacyUrl;
|
||||
static const String appId = 'im.fluffychat.FluffyChat';
|
||||
|
@ -180,7 +180,7 @@ class ChatListItem extends StatelessWidget {
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: room.notificationCount > 0
|
||||
? Theme.of(context).primaryColor
|
||||
? Theme.of(context).accentColor
|
||||
: null,
|
||||
),
|
||||
),
|
||||
@ -200,7 +200,7 @@ class ChatListItem extends StatelessWidget {
|
||||
if (typingText.isNotEmpty) ...{
|
||||
Icon(
|
||||
Icons.edit_outlined,
|
||||
color: Theme.of(context).primaryColor,
|
||||
color: Theme.of(context).accentColor,
|
||||
size: 14,
|
||||
),
|
||||
SizedBox(width: 4),
|
||||
@ -210,7 +210,7 @@ class ChatListItem extends StatelessWidget {
|
||||
? Text(
|
||||
typingText,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).primaryColor,
|
||||
color: Theme.of(context).accentColor,
|
||||
),
|
||||
softWrap: false,
|
||||
)
|
||||
@ -218,7 +218,7 @@ class ChatListItem extends StatelessWidget {
|
||||
? Text(
|
||||
L10n.of(context).youAreInvitedToThisChat,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).primaryColor,
|
||||
color: Theme.of(context).accentColor,
|
||||
),
|
||||
softWrap: false,
|
||||
)
|
||||
@ -248,7 +248,7 @@ class ChatListItem extends StatelessWidget {
|
||||
child: Icon(
|
||||
Icons.push_pin_outlined,
|
||||
size: 20,
|
||||
color: Theme.of(context).primaryColor,
|
||||
color: Theme.of(context).accentColor,
|
||||
),
|
||||
),
|
||||
if (room.isUnread)
|
||||
|
@ -19,7 +19,7 @@ class StateMessage extends StatelessWidget {
|
||||
child: Container(
|
||||
padding: const EdgeInsets.all(8),
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).secondaryHeaderColor.withOpacity(0.9),
|
||||
color: Theme.of(context).secondaryHeaderColor,
|
||||
borderRadius: BorderRadius.circular(7),
|
||||
),
|
||||
child: Text(
|
||||
|
@ -34,7 +34,7 @@ abstract class FluffyThemes {
|
||||
primaryColor: AppConfig.primaryColor,
|
||||
accentColor: AppConfig.primaryColor,
|
||||
backgroundColor: Colors.white,
|
||||
secondaryHeaderColor: Color(0xFFECECF2),
|
||||
secondaryHeaderColor: AppConfig.primaryColor.withAlpha(16),
|
||||
scaffoldBackgroundColor: Colors.white,
|
||||
textTheme: Typography.material2018().black.merge(fallback_text_theme),
|
||||
snackBarTheme: SnackBarThemeData(
|
||||
@ -57,7 +57,7 @@ abstract class FluffyThemes {
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)),
|
||||
filled: true,
|
||||
fillColor: Color(0xFFECECF2),
|
||||
fillColor: AppConfig.primaryColor.withAlpha(16),
|
||||
),
|
||||
appBarTheme: AppBarTheme(
|
||||
brightness: Brightness.light,
|
||||
@ -80,7 +80,7 @@ abstract class FluffyThemes {
|
||||
backgroundColor: Colors.black,
|
||||
scaffoldBackgroundColor: Colors.black,
|
||||
accentColor: AppConfig.primaryColorLight,
|
||||
secondaryHeaderColor: Color(0xff2D2D2D),
|
||||
secondaryHeaderColor: AppConfig.primaryColorLight.withAlpha(32),
|
||||
textTheme: Typography.material2018().white.merge(fallback_text_theme),
|
||||
dialogTheme: DialogTheme(
|
||||
shape: RoundedRectangleBorder(
|
||||
@ -99,7 +99,7 @@ abstract class FluffyThemes {
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)),
|
||||
filled: true,
|
||||
fillColor: Color(0xff2D2D2D),
|
||||
fillColor: AppConfig.primaryColorLight.withAlpha(32),
|
||||
),
|
||||
appBarTheme: AppBarTheme(
|
||||
brightness: Brightness.dark,
|
||||
|
@ -707,8 +707,8 @@ class _ChatState extends State<Chat> {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.primaryColor,
|
||||
color:
|
||||
Theme.of(context).accentColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user