chore: improve hover and text colors in dark mode (#5416)

This commit is contained in:
Lucas.Xu 2024-05-27 15:36:45 +08:00 committed by GitHub
parent 8b6575d1ee
commit 083be32fa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -273,7 +273,7 @@ class HomeTopBar extends StatelessWidget {
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.onSecondaryContainer,
color: Theme.of(context).colorScheme.surface,
),
height: HomeSizes.topBarHeight + HomeInsets.topBarTitleVerticalPadding,
child: Padding(

View File

@ -22,9 +22,9 @@ class SidebarNewPageButton extends StatelessWidget {
height: HomeSizes.newPageSectionHeight,
child: FlowyButton(
onTap: () async => _createNewPage(context),
leftIcon: FlowySvg(
leftIcon: const FlowySvg(
FlowySvgs.new_app_s,
color: Theme.of(context).colorScheme.primary,
blendMode: null,
),
iconPadding: 10.0,
text: SizedBox(

View File

@ -13,12 +13,12 @@ const _lightShader5 = Color(0xFFe0e0e0);
const _lightShader6 = Color(0xFFf2f2f2);
const _lightMain1 = Color(0xFF00bcf0);
const _lightTint9 = Color(0xFFe1fbFF);
const _darkShader1 = Color(0xFF131720);
const _darkShader1 = Color(0xE5FFFFFF);
const _darkShader2 = Color(0xFF1A202C);
const _darkShader3 = Color(0xFF363D49);
const _darkShader5 = Color(0xFFBBC3CD);
const _darkShader6 = Color(0xFFF2F2F2);
const _darkMain1 = Color(0xFF00BCF0);
const _darkMain1 = Color(0x19FFFFFF);
const _darkInput = Color(0xFF282E3A);
class DefaultColorScheme extends FlowyColorScheme {