mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 14:29:35 +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),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ class _SystemThemeProviderElement
|
|||
bool get highContrast => (origin as SystemThemeProvider).highContrast;
|
||||
}
|
||||
|
||||
String _$currentThemeHash() => r'0e62a7f1b62c6ad73a3769909607407d41eb0338';
|
||||
String _$currentThemeHash() => r'90abeb0e647e2a0e0c5c6edf4223003500dce431';
|
||||
|
||||
/// See also [currentTheme].
|
||||
@ProviderFor(currentTheme)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue