Merge pull request #1041 from ChiragKr04/fix/set-icon-theme-for-setting-add-icon

fix: Icon theme on setting and new column icon
This commit is contained in:
Nathan.fooo 2022-09-14 11:03:23 +08:00 committed by GitHub
commit 988e8db798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -186,7 +186,10 @@ class CreateFieldButton extends StatelessWidget {
), ),
hoverColor: theme.shader6, hoverColor: theme.shader6,
onTap: () {}, onTap: () {},
leftIcon: svgWidget("home/add"), leftIcon: svgWidget(
"home/add",
color: theme.iconColor,
),
), ),
popupBuilder: (BuildContext popover) { popupBuilder: (BuildContext popover) {
return OverlayContainer( return OverlayContainer(

View File

@ -59,8 +59,10 @@ class _SettingButton extends StatelessWidget {
child: FlowyIconButton( child: FlowyIconButton(
width: 22, width: 22,
hoverColor: theme.hover, hoverColor: theme.hover,
icon: svgWidget("grid/setting/setting") icon: svgWidget(
.padding(horizontal: 3, vertical: 3), "grid/setting/setting",
color: theme.iconColor,
).padding(horizontal: 3, vertical: 3),
), ),
popupBuilder: (BuildContext context) { popupBuilder: (BuildContext context) {
return _GridSettingListPopover(settingContext: settingContext); return _GridSettingListPopover(settingContext: settingContext);