Merge pull request #842 from Nike682631/fix-highlighted-box-color-issue-685

fix: fixed hover color #685
This commit is contained in:
Nathan.fooo 2022-08-14 15:33:58 +08:00 committed by GitHub
commit 3f584c7463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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