mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-04-29 14:07:55 +02:00
chore: Adjust design
This commit is contained in:
parent
2c9d57bb64
commit
44446db5be
@ -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),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user