mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-09-11 19:17:43 +03:00
chore: improve hover and text colors in dark mode (#5416)
This commit is contained in:
parent
8b6575d1ee
commit
083be32fa6
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user