chore: improve share button text color (#3868)

This commit is contained in:
Yijing Huang 2023-11-03 12:09:12 -07:00 committed by GitHub
parent 5f49c1748f
commit bc502c9c5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 11 deletions

View File

@ -216,13 +216,9 @@ class DatabasePluginWidgetBuilder extends PluginWidgetBuilder {
@override
Widget? get rightBarItem {
return Row(
children: [
DatabaseShareButton(
key: ValueKey(notifier.view.id),
view: notifier.view,
),
],
return DatabaseShareButton(
key: ValueKey(notifier.view.id),
view: notifier.view,
);
}
}

View File

@ -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(),
);
},

View File

@ -66,7 +66,7 @@ class DandelionColorScheme extends FlowyColorScheme {
input: _white,
hint: _lightShader3,
primary: _lightDandelionYellow,
onPrimary: _white,
onPrimary: _lightShader1,
// hover color in sidebar
hoverBG1: _lightDandelionYellow,
// tool bar hover color

View File

@ -64,7 +64,7 @@ class LavenderColorScheme extends FlowyColorScheme {
input: _white,
hint: _lightShader3,
primary: _lightMain1,
onPrimary: _white,
onPrimary: _lightShader1,
hoverBG1: _lightBg2,
hoverBG2: _lightHover,
hoverBG3: _lightShader6,

View File

@ -68,7 +68,7 @@ class LemonadeColorScheme extends FlowyColorScheme {
input: _white,
hint: _lightShader3,
primary: _lightDandelionYellow,
onPrimary: _white,
onPrimary: _lightShader1,
// hover color in sidebar
hoverBG1: _lightDandelionYellow,
// tool bar hover color