mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: disable material3 (#4124)
This commit is contained in:
parent
e9a4efb67d
commit
7586930ef0
@ -51,6 +51,7 @@ class DesktopAppearance extends BaseAppearance {
|
|||||||
|
|
||||||
// Due to Desktop version has multiple themes, it relies on the current theme to build the ThemeData
|
// Due to Desktop version has multiple themes, it relies on the current theme to build the ThemeData
|
||||||
return ThemeData(
|
return ThemeData(
|
||||||
|
useMaterial3: false,
|
||||||
brightness: brightness,
|
brightness: brightness,
|
||||||
dialogBackgroundColor: theme.surface,
|
dialogBackgroundColor: theme.surface,
|
||||||
textTheme: getTextTheme(
|
textTheme: getTextTheme(
|
||||||
|
@ -84,6 +84,7 @@ class MobileAppearance extends BaseAppearance {
|
|||||||
|
|
||||||
return ThemeData(
|
return ThemeData(
|
||||||
// color
|
// color
|
||||||
|
useMaterial3: false,
|
||||||
primaryColor: colorTheme.primary, //primary 100
|
primaryColor: colorTheme.primary, //primary 100
|
||||||
primaryColorLight: const Color(0xFF57B5F8), //primary 80
|
primaryColorLight: const Color(0xFF57B5F8), //primary 80
|
||||||
dividerColor: colorTheme.outline, //caption
|
dividerColor: colorTheme.outline, //caption
|
||||||
|
Loading…
Reference in New Issue
Block a user