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: some svgs do not have the correct color (#3221)

Alex Wallen1cc78b87ab82
diff --git a/frontend/appflowy_flutter/lib/user/presentation/sign_in_screen.dart b/frontend/appflowy_flutter/lib/user/presentation/sign_in_screen.dart
index 31d2ddc3bc..6f56f50836 100644
--- a/frontend/appflowy_flutter/lib/user/presentation/sign_in_screen.dart
+++ b/frontend/appflowy_flutter/lib/user/presentation/sign_in_screen.dart
@@ -371,6 +371,7 @@ class ThirdPartySignInButton extends StatelessWidget {
onPressed: onPressed,
icon: FlowySvg(
icon,
+ blendMode: null,
),
);
}
diff --git a/frontend/appflowy_flutter/lib/user/presentation/widgets/background.dart b/frontend/appflowy_flutter/lib/user/presentation/widgets/background.dart
index 17fcf0e370..f3362d5c5f 100644
--- a/frontend/appflowy_flutter/lib/user/presentation/widgets/background.dart
+++ b/frontend/appflowy_flutter/lib/user/presentation/widgets/background.dart
@@ -44,7 +44,10 @@ class FlowyLogoTitle extends StatelessWidget {
children: [
SizedBox.fromSize(
size: logoSize,
- child: const FlowySvg(FlowySvgs.flowy_logo_xl),
+ child: const FlowySvg(
+ FlowySvgs.flowy_logo_xl,
+ blendMode: null,
+ ),
),
const VSpace(40),
FlowyText.regular(
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_new_page_button.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_new_page_button.dart
index cec04264fe..c7d026fe35 100644
--- a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_new_page_button.dart
+++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_new_page_button.dart
@@ -28,7 +28,10 @@ class SidebarNewPageButton extends StatelessWidget {
shape: BoxShape.circle,
color: Theme.of(context).colorScheme.surface,
),
- child: const FlowySvg(FlowySvgs.new_app_s),
+ child: const FlowySvg(
+ FlowySvgs.new_app_s,
+ blendMode: null,
+ ),
),
padding: const EdgeInsets.all(0),
);
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_top_menu.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_top_menu.dart
index 22671f787b..09a30947f1 100644
--- a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_top_menu.dart
+++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar_top_menu.dart
@@ -46,12 +46,14 @@ class SidebarTopMenu extends StatelessWidget {
return const SizedBox.shrink();
}
- final name = Theme.of(context).brightness == Brightness.dark
+ final svgData = Theme.of(context).brightness == Brightness.dark
? FlowySvgs.flowy_logo_dark_mode_xl
: FlowySvgs.flowy_logo_text_xl;
+
return FlowySvg(
- name,
+ svgData,
size: const Size(92, 17),
+ blendMode: null,
);
}