Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: wrong icon color for grid and board plugin (#1862)

Lucas.Xu2f9823d12a6a
diff --git a/frontend/app_flowy/lib/plugins/document/presentation/plugins/base/built_in_page_widget.dart b/frontend/app_flowy/lib/plugins/document/presentation/plugins/base/built_in_page_widget.dart
index 6bb5a4f659..cdbfe7b6ad 100644
--- a/frontend/app_flowy/lib/plugins/document/presentation/plugins/base/built_in_page_widget.dart
+++ b/frontend/app_flowy/lib/plugins/document/presentation/plugins/base/built_in_page_widget.dart
@@ -117,7 +117,10 @@ class _BuiltInPageWidgetState extends State<BuiltInPageWidget> {
width: 24,
height: 24,
iconPadding: const EdgeInsets.all(3),
- icon: svgWidget('common/information'),
+ icon: svgWidget(
+ 'common/information',
+ color: Theme.of(context).colorScheme.onSurface,
+ ),
),
// Name
const Space(7, 0),
@@ -138,7 +141,10 @@ class _BuiltInPageWidgetState extends State<BuiltInPageWidget> {
width: 24,
height: 24,
iconPadding: const EdgeInsets.all(3),
- icon: svgWidget('common/settings'),
+ icon: svgWidget(
+ 'common/settings',
+ color: Theme.of(context).colorScheme.onSurface,
+ ),
onPressed: () => controller.show(),
);
},