mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 17:35:18 +00:00
chore: Adjust some colors
This commit is contained in:
parent
06c8e45e79
commit
41f2d23951
3 changed files with 8 additions and 2 deletions
|
@ -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…
Reference in a new issue