From 3d41cb0cec9a6482af751a805ddf9b4bb1d0e234 Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 31 May 2022 16:22:20 +0800 Subject: [PATCH] chore: adjust ui color --- .../plugins/grid/src/widgets/header/field_cell.dart | 5 +++-- .../packages/flowy_infra_ui/lib/style_widget/button.dart | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/field_cell.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/field_cell.dart index 7e04bdbc4c..21172b38d9 100755 --- a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/field_cell.dart +++ b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/header/field_cell.dart @@ -85,7 +85,8 @@ class _GridHeaderCellContainer extends StatelessWidget { @override Widget build(BuildContext context) { final theme = context.watch(); - final borderSide = BorderSide(color: theme.shader4, width: 0.4); + final borderSide = BorderSide(color: theme.shader5, width: 1.0); + final decoration = BoxDecoration( border: Border( top: borderSide, @@ -126,7 +127,7 @@ class _DragToExpandLine extends StatelessWidget { borderRadius: BorderRadius.zero, contentMargin: const EdgeInsets.only(left: 6), ), - child: const SizedBox(width: 2), + child: const SizedBox(width: 4), ), ), ); diff --git a/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart index 9a7407f9bb..046ee8a0c1 100644 --- a/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart +++ b/frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart @@ -1,4 +1,3 @@ -import 'package:flowy_infra/size.dart'; import 'package:flowy_infra_ui/style_widget/hover.dart'; import 'package:flowy_infra_ui/style_widget/text.dart'; import 'package:flowy_infra_ui/widget/spacing.dart'; @@ -28,7 +27,7 @@ class FlowyButton extends StatelessWidget { return InkWell( onTap: onTap, child: FlowyHover( - style: HoverStyle(borderRadius: Corners.s6Border, hoverColor: hoverColor), + style: HoverStyle(borderRadius: BorderRadius.zero, hoverColor: hoverColor), setSelected: () => isSelected, builder: (context, onHover) => _render(), ),