chore: Adjust design

This commit is contained in:
Christian Pauly 2022-08-05 17:07:46 +02:00
parent 2c9d57bb64
commit 44446db5be
3 changed files with 7 additions and 4 deletions

View File

@ -58,8 +58,10 @@ abstract class FluffyThemes {
border: UnderlineInputBorder(borderSide: BorderSide(width: 1)), border: UnderlineInputBorder(borderSide: BorderSide(width: 1)),
filled: true, filled: true,
), ),
appBarTheme: const AppBarTheme( appBarTheme: AppBarTheme(
systemOverlayStyle: SystemUiOverlayStyle.dark, systemOverlayStyle: SystemUiOverlayStyle.dark,
surfaceTintColor: Colors.white,
shadowColor: Colors.black.withAlpha(64),
), ),
); );

View File

@ -164,7 +164,7 @@ class ChatView extends StatelessWidget {
builder: (BuildContext context, snapshot) { builder: (BuildContext context, snapshot) {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
elevation: 2, elevation: 3,
actionsIconTheme: IconThemeData( actionsIconTheme: IconThemeData(
color: controller.selectedEvents.isEmpty color: controller.selectedEvents.isEmpty
? null ? null
@ -193,7 +193,6 @@ class ChatView extends StatelessWidget {
), ),
) )
: null, : null,
backgroundColor: Theme.of(context).colorScheme.surface,
body: DropTarget( body: DropTarget(
onDragDone: controller.onDragDone, onDragDone: controller.onDragDone,
onDragEntered: controller.onDragEntered, onDragEntered: controller.onDragEntered,

View File

@ -1,3 +1,4 @@
import 'package:fluffychat/config/app_config.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart';
@ -47,7 +48,8 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
.withAlpha(128), .withAlpha(128),
border: UnderlineInputBorder( border: UnderlineInputBorder(
borderSide: BorderSide.none, borderSide: BorderSide.none,
borderRadius: BorderRadius.circular(90), borderRadius:
BorderRadius.circular(AppConfig.borderRadius),
), ),
hintText: controller.activeSpacesEntry.getName(context), hintText: controller.activeSpacesEntry.getName(context),
prefixIcon: Padding( prefixIcon: Padding(