fix: lemonade theme issues (#3686)

This commit is contained in:
Yijing Huang 2023-10-15 07:12:25 -07:00 committed by GitHub
parent bc758e0b06
commit 8699c9c125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 4 deletions

View File

@ -104,6 +104,7 @@ class DatabaseShareActionListState extends State<DatabaseShareActionList> {
buildChild: (controller) { buildChild: (controller) {
return RoundedTextButton( return RoundedTextButton(
title: LocaleKeys.shareAction_buttonText.tr(), title: LocaleKeys.shareAction_buttonText.tr(),
textColor: Theme.of(context).colorScheme.onSurface,
onPressed: () => controller.show(), onPressed: () => controller.show(),
); );
}, },

View File

@ -112,6 +112,7 @@ class ShareActionListState extends State<ShareActionList> {
return RoundedTextButton( return RoundedTextButton(
title: LocaleKeys.shareAction_buttonText.tr(), title: LocaleKeys.shareAction_buttonText.tr(),
onPressed: () => controller.show(), onPressed: () => controller.show(),
textColor: Theme.of(context).colorScheme.onSurface,
); );
}, },
onSelected: (action, controller) async { onSelected: (action, controller) async {

View File

@ -85,7 +85,7 @@ class DandelionColorScheme extends FlowyColorScheme {
: super( : super(
surface: const Color(0xff292929), surface: const Color(0xff292929),
hover: const Color(0xff1f1f1f), hover: const Color(0xff1f1f1f),
selector: const Color(0xff333333), selector: _darkShader2,
red: const Color(0xfffb006d), red: const Color(0xfffb006d),
yellow: const Color(0xffffd667), yellow: const Color(0xffffd667),
green: const Color(0xff66cf80), green: const Color(0xff66cf80),

View File

@ -81,7 +81,7 @@ class LavenderColorScheme extends FlowyColorScheme {
: super( : super(
surface: const Color(0xFF1B1A1D), surface: const Color(0xFF1B1A1D),
hover: _darkMain1, hover: _darkMain1,
selector: const Color(0xff333333), selector: _darkShader2,
red: const Color(0xfffb006d), red: const Color(0xfffb006d),
yellow: const Color(0xffffd667), yellow: const Color(0xffffd667),
green: const Color(0xff66cf80), green: const Color(0xff66cf80),

View File

@ -59,7 +59,7 @@ class LemonadeColorScheme extends FlowyColorScheme {
main1: _lightDandelionYellow, main1: _lightDandelionYellow,
// cursor color // cursor color
main2: _lightDandelionYellow, main2: _lightDandelionYellow,
shadow: _black, shadow: const Color.fromRGBO(0, 0, 0, 0.15),
sidebarBg: const Color(0xfffaf0c8), sidebarBg: const Color(0xfffaf0c8),
divider: _lightShader6, divider: _lightShader6,
topbarBg: _white, topbarBg: _white,
@ -87,7 +87,7 @@ class LemonadeColorScheme extends FlowyColorScheme {
: super( : super(
surface: const Color(0xff292929), surface: const Color(0xff292929),
hover: const Color(0xff1f1f1f), hover: const Color(0xff1f1f1f),
selector: const Color(0xff333333), selector: _darkShader2,
red: const Color(0xfffb006d), red: const Color(0xfffb006d),
yellow: const Color(0xffffd667), yellow: const Color(0xffffd667),
green: const Color(0xff66cf80), green: const Color(0xff66cf80),