chore: adjust ui color

This commit is contained in:
appflowy 2022-05-31 16:22:20 +08:00
parent ab896cbc8f
commit 3d41cb0cec
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,8 @@ class _GridHeaderCellContainer extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final theme = context.watch<AppTheme>(); final theme = context.watch<AppTheme>();
final borderSide = BorderSide(color: theme.shader4, width: 0.4); final borderSide = BorderSide(color: theme.shader5, width: 1.0);
final decoration = BoxDecoration( final decoration = BoxDecoration(
border: Border( border: Border(
top: borderSide, top: borderSide,
@ -126,7 +127,7 @@ class _DragToExpandLine extends StatelessWidget {
borderRadius: BorderRadius.zero, borderRadius: BorderRadius.zero,
contentMargin: const EdgeInsets.only(left: 6), contentMargin: const EdgeInsets.only(left: 6),
), ),
child: const SizedBox(width: 2), child: const SizedBox(width: 4),
), ),
), ),
); );

View File

@ -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/hover.dart';
import 'package:flowy_infra_ui/style_widget/text.dart'; import 'package:flowy_infra_ui/style_widget/text.dart';
import 'package:flowy_infra_ui/widget/spacing.dart'; import 'package:flowy_infra_ui/widget/spacing.dart';
@ -28,7 +27,7 @@ class FlowyButton extends StatelessWidget {
return InkWell( return InkWell(
onTap: onTap, onTap: onTap,
child: FlowyHover( child: FlowyHover(
style: HoverStyle(borderRadius: Corners.s6Border, hoverColor: hoverColor), style: HoverStyle(borderRadius: BorderRadius.zero, hoverColor: hoverColor),
setSelected: () => isSelected, setSelected: () => isSelected,
builder: (context, onHover) => _render(), builder: (context, onHover) => _render(),
), ),