Improve theme

This commit is contained in:
Ming Ming 2024-04-13 19:45:55 +08:00
parent 44e6447fe8
commit efb32a785a
3 changed files with 12 additions and 2 deletions

View file

@ -125,9 +125,10 @@ ColorScheme _getColorScheme(
seedColor = defaultSeedColor;
}
}
return ColorScheme.fromSeed(
seedColor: seedColor,
return SeedColorScheme.fromSeeds(
brightness: brightness,
primaryKey: seedColor,
tones: FlexTones.oneHue(brightness),
);
}

View file

@ -454,6 +454,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
flex_seed_scheme:
dependency: "direct main"
description:
name: flex_seed_scheme
sha256: e4168a6fc88a3e5bc3d6b7a748c6a6083eedc193d343ddc26bbad7fb1b258555
url: "https://pub.dev"
source: hosted
version: "1.3.0"
flutter:
dependency: "direct main"
description: flutter

View file

@ -59,6 +59,7 @@ dependencies:
git:
url: https://gitlab.com/nc-photos/exifdart.git
ref: 1.3.0
flex_seed_scheme: ^1.3.0
fluttertoast: ^8.2.1
flutter_background_service:
git: