mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 22:39:34 +00:00
fix: 增加排序
This commit is contained in:
parent
eef72c6aa6
commit
03cec3f4b6
13 changed files with 1151 additions and 925 deletions
|
|
@ -140,17 +140,26 @@ FutureOr<(ColorScheme light, ColorScheme dark)?> systemTheme(
|
|||
colorScheme: lightColorScheme.harmonized(),
|
||||
fontFamily: fontFamilyPlatform,
|
||||
textTheme: textTheme,
|
||||
// iconTheme: IconThemeData(size: 24),
|
||||
);
|
||||
final appThemeDark = ThemeData(
|
||||
useMaterial3: true,
|
||||
colorScheme: darkColorScheme.harmonized(),
|
||||
fontFamily: fontFamilyPlatform,
|
||||
textTheme: textTheme,
|
||||
// iconTheme: IconThemeData(size: 24),
|
||||
brightness: Brightness.dark,
|
||||
// TODO bottom sheet theme is not working
|
||||
bottomSheetTheme: BottomSheetThemeData(
|
||||
backgroundColor: darkColorScheme.surface,
|
||||
),
|
||||
);
|
||||
return (appThemeLight, appThemeDark);
|
||||
return (
|
||||
appThemeLight.copyWith(
|
||||
// iconTheme: appThemeLight.iconTheme.copyWith(size: 24),
|
||||
),
|
||||
appThemeDark.copyWith(
|
||||
// iconTheme: appThemeLight.iconTheme.copyWith(size: 24),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue