mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00: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) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Theme.of(context).colorScheme.onSecondaryContainer,
|
color: Theme.of(context).colorScheme.surface,
|
||||||
),
|
),
|
||||||
height: HomeSizes.topBarHeight + HomeInsets.topBarTitleVerticalPadding,
|
height: HomeSizes.topBarHeight + HomeInsets.topBarTitleVerticalPadding,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
@ -22,9 +22,9 @@ class SidebarNewPageButton extends StatelessWidget {
|
|||||||
height: HomeSizes.newPageSectionHeight,
|
height: HomeSizes.newPageSectionHeight,
|
||||||
child: FlowyButton(
|
child: FlowyButton(
|
||||||
onTap: () async => _createNewPage(context),
|
onTap: () async => _createNewPage(context),
|
||||||
leftIcon: FlowySvg(
|
leftIcon: const FlowySvg(
|
||||||
FlowySvgs.new_app_s,
|
FlowySvgs.new_app_s,
|
||||||
color: Theme.of(context).colorScheme.primary,
|
blendMode: null,
|
||||||
),
|
),
|
||||||
iconPadding: 10.0,
|
iconPadding: 10.0,
|
||||||
text: SizedBox(
|
text: SizedBox(
|
||||||
|
@ -13,12 +13,12 @@ const _lightShader5 = Color(0xFFe0e0e0);
|
|||||||
const _lightShader6 = Color(0xFFf2f2f2);
|
const _lightShader6 = Color(0xFFf2f2f2);
|
||||||
const _lightMain1 = Color(0xFF00bcf0);
|
const _lightMain1 = Color(0xFF00bcf0);
|
||||||
const _lightTint9 = Color(0xFFe1fbFF);
|
const _lightTint9 = Color(0xFFe1fbFF);
|
||||||
const _darkShader1 = Color(0xFF131720);
|
const _darkShader1 = Color(0xE5FFFFFF);
|
||||||
const _darkShader2 = Color(0xFF1A202C);
|
const _darkShader2 = Color(0xFF1A202C);
|
||||||
const _darkShader3 = Color(0xFF363D49);
|
const _darkShader3 = Color(0xFF363D49);
|
||||||
const _darkShader5 = Color(0xFFBBC3CD);
|
const _darkShader5 = Color(0xFFBBC3CD);
|
||||||
const _darkShader6 = Color(0xFFF2F2F2);
|
const _darkShader6 = Color(0xFFF2F2F2);
|
||||||
const _darkMain1 = Color(0xFF00BCF0);
|
const _darkMain1 = Color(0x19FFFFFF);
|
||||||
const _darkInput = Color(0xFF282E3A);
|
const _darkInput = Color(0xFF282E3A);
|
||||||
|
|
||||||
class DefaultColorScheme extends FlowyColorScheme {
|
class DefaultColorScheme extends FlowyColorScheme {
|
||||||
|
Loading…
Reference in New Issue
Block a user