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,
onTap: () {},
leftIcon: svgWidget("home/add"),
leftIcon: svgWidget(
"home/add",
color: theme.iconColor,
),
),
popupBuilder: (BuildContext popover) {
return OverlayContainer(

View File

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