mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Fix colors
This commit is contained in:
parent
70eb088756
commit
05c806b358
@ -86,11 +86,12 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
|
|||||||
Color get _greyColor => Color(0xff8f8f8f);
|
Color get _greyColor => Color(0xff8f8f8f);
|
||||||
|
|
||||||
Color get _gradientColorStart =>
|
Color get _gradientColorStart =>
|
||||||
_conversation.color ?? (darkTheme() ? Color(0xff00b6f3) : Colors.green);
|
_conversation.color ??
|
||||||
|
(darkTheme() ? Color(0xff00b6f3) : Colors.blue.shade300);
|
||||||
|
|
||||||
Color get _gradientColorEnd =>
|
Color get _gradientColorEnd =>
|
||||||
_conversation.color?.withOpacity(0.7) ??
|
_conversation.color?.withOpacity(0.7) ??
|
||||||
(darkTheme() ? Color(0xff0184dc) : Colors.greenAccent);
|
(darkTheme() ? Color(0xff0184dc) : Colors.blueAccent.shade700);
|
||||||
|
|
||||||
Color get _separatorColor =>
|
Color get _separatorColor =>
|
||||||
darkTheme() ? Color(0xff272c35) : Color(0xffBEBEBE);
|
darkTheme() ? Color(0xff272c35) : Color(0xffBEBEBE);
|
||||||
@ -496,8 +497,8 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
|
|||||||
);
|
);
|
||||||
|
|
||||||
Widget _buildEmojiContainer() => EmojiPicker(
|
Widget _buildEmojiContainer() => EmojiPicker(
|
||||||
bgColor: _conversation.color ?? Colors.blue,
|
bgColor: _conversation.color ?? Colors.blue.shade900,
|
||||||
indicatorColor: _conversation.color ?? Colors.blue,
|
indicatorColor: _conversation.color ?? Colors.blue.shade900,
|
||||||
rows: 3,
|
rows: 3,
|
||||||
columns: 7,
|
columns: 7,
|
||||||
onEmojiSelected: (emoji, category) {
|
onEmojiSelected: (emoji, category) {
|
||||||
|
Loading…
Reference in New Issue
Block a user