mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-17 14:30:40 +01:00
chore: Adjust some colors
This commit is contained in:
parent
68dfc8ee3a
commit
161791a07d
@ -281,6 +281,12 @@ class ChatView extends StatelessWidget {
|
|||||||
: controller.canLoadMore
|
: controller.canLoadMore
|
||||||
? Center(
|
? Center(
|
||||||
child: OutlinedButton(
|
child: OutlinedButton(
|
||||||
|
style:
|
||||||
|
OutlinedButton.styleFrom(
|
||||||
|
backgroundColor: Theme.of(
|
||||||
|
context)
|
||||||
|
.scaffoldBackgroundColor,
|
||||||
|
),
|
||||||
onPressed:
|
onPressed:
|
||||||
controller.requestHistory,
|
controller.requestHistory,
|
||||||
child: Text(L10n.of(context)
|
child: Text(L10n.of(context)
|
||||||
|
@ -101,7 +101,7 @@ class _Reaction extends StatelessWidget {
|
|||||||
final textColor = Theme.of(context).brightness == Brightness.dark
|
final textColor = Theme.of(context).brightness == Brightness.dark
|
||||||
? Colors.white
|
? Colors.white
|
||||||
: Colors.black;
|
: Colors.black;
|
||||||
final color = Theme.of(context).secondaryHeaderColor;
|
final color = Theme.of(context).scaffoldBackgroundColor;
|
||||||
final fontSize = DefaultTextStyle.of(context).style.fontSize;
|
final fontSize = DefaultTextStyle.of(context).style.fontSize;
|
||||||
final padding = fontSize / 5;
|
final padding = fontSize / 5;
|
||||||
Widget content;
|
Widget content;
|
||||||
|
@ -30,7 +30,7 @@ class StateMessage extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.all(8),
|
padding: const EdgeInsets.all(8),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
border: Border.all(
|
border: Border.all(
|
||||||
color: Theme.of(context).dividerColor,
|
color: Theme.of(context).secondaryHeaderColor,
|
||||||
),
|
),
|
||||||
color: Theme.of(context).scaffoldBackgroundColor,
|
color: Theme.of(context).scaffoldBackgroundColor,
|
||||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user