Browse Source

fix: lemonade theme issues (#3686)

Yijing Huang 1 year ago
parent
commit
8699c9c125

+ 1 - 0
frontend/appflowy_flutter/lib/plugins/database_view/widgets/share_button.dart

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

+ 1 - 0
frontend/appflowy_flutter/lib/plugins/document/presentation/share/share_button.dart

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

+ 1 - 1
frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/dandelion.dart

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

+ 1 - 1
frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lavender.dart

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

+ 2 - 2
frontend/appflowy_flutter/packages/flowy_infra/lib/colorscheme/lemonade.dart

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