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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: improve share button text color (#3868)
Yijing Huangbc502c9c5b02
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/tar_bar/tab_bar_view.dart b/frontend/appflowy_flutter/lib/plugins/database_view/tar_bar/tab_bar_view.dartindex a32e706bf6..54d244dc2a 100644--- a/frontend/appflowy_flutter/lib/plugins/database_view/tar_bar/tab_bar_view.dart+++ b/frontend/appflowy_flutter/lib/plugins/database_view/tar_bar/tab_bar_view.dart@@ -216,13 +216,9 @@ class DatabasePluginWidgetBuilder extends PluginWidgetBuilder {@overrideWidget? get rightBarItem {- return Row(- children: [- DatabaseShareButton(- key: ValueKey(notifier.view.id),- view: notifier.view,- ),- ],+ return DatabaseShareButton(+ key: ValueKey(notifier.view.id),+ view: notifier.view,);}}diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/share_button.dart b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/share_button.dartindex 28ccc7fa69..a334838c5c 100644--- a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/share_button.dart+++ b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/share_button.dart@@ -104,7 +104,7 @@ class DatabaseShareActionListState extends State<DatabaseShareActionList> {buildChild: (controller) {return RoundedTextButton(title: LocaleKeys.shareAction_buttonText.tr(),- textColor: Theme.of(context).colorScheme.onSurface,+ textColor: Theme.of(context).colorScheme.onPrimary,onPressed: () => controller.show(),);},diff --git a/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/dandelion.dart b/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/dandelion.dartindex e577e098e5..684e876704 100644--- a/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/dandelion.dart+++ b/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/dandelion.dart@@ -66,7 +66,7 @@ class DandelionColorScheme extends FlowyColorScheme {input: _white,hint: _lightShader3,primary: _lightDandelionYellow,- onPrimary: _white,+ onPrimary: _lightShader1,// hover color in sidebarhoverBG1: _lightDandelionYellow,// tool bar hover colordiff --git a/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lavender.dart b/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lavender.dartindex 23ba06198e..894fc4c4b2 100644--- a/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lavender.dart+++ b/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lavender.dart@@ -64,7 +64,7 @@ class LavenderColorScheme extends FlowyColorScheme {input: _white,hint: _lightShader3,primary: _lightMain1,- onPrimary: _white,+ onPrimary: _lightShader1,hoverBG1: _lightBg2,hoverBG2: _lightHover,hoverBG3: _lightShader6,diff --git a/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lemonade.dart b/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lemonade.dartindex 7a1bd38f36..86a548059e 100644--- a/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lemonade.dart+++ b/frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lemonade.dart@@ -68,7 +68,7 @@ class LemonadeColorScheme extends FlowyColorScheme {input: _white,hint: _lightShader3,primary: _lightDandelionYellow,- onPrimary: _white,+ onPrimary: _lightShader1,// hover color in sidebarhoverBG1: _lightDandelionYellow,// tool bar hover color