fix: fixed hover color #685

This commit is contained in:
Nikunj 2022-08-12 22:10:15 +05:30
parent 61114f2726
commit 022997e6ff
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class GridAddRowButton extends StatelessWidget {
final theme = context.watch<AppTheme>(); final theme = context.watch<AppTheme>();
return FlowyButton( return FlowyButton(
text: const FlowyText.medium('New row', fontSize: 12), text: const FlowyText.medium('New row', fontSize: 12),
hoverColor: theme.hover, hoverColor: theme.shader6,
onTap: () => context.read<GridBloc>().add(const GridEvent.createRow()), onTap: () => context.read<GridBloc>().add(const GridEvent.createRow()),
leftIcon: svgWidget("home/add"), leftIcon: svgWidget("home/add"),
); );

View File

@ -156,7 +156,7 @@ class CreateFieldButton extends StatelessWidget {
return FlowyButton( return FlowyButton(
text: const FlowyText.medium('New column', fontSize: 12), text: const FlowyText.medium('New column', fontSize: 12),
hoverColor: theme.hover, hoverColor: theme.shader6,
onTap: () => FieldEditor( onTap: () => FieldEditor(
gridId: gridId, gridId: gridId,
fieldName: "", fieldName: "",