mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Improve theme
This commit is contained in:
parent
44e6447fe8
commit
efb32a785a
3 changed files with 12 additions and 2 deletions
|
@ -125,9 +125,10 @@ ColorScheme _getColorScheme(
|
||||||
seedColor = defaultSeedColor;
|
seedColor = defaultSeedColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ColorScheme.fromSeed(
|
return SeedColorScheme.fromSeeds(
|
||||||
seedColor: seedColor,
|
|
||||||
brightness: brightness,
|
brightness: brightness,
|
||||||
|
primaryKey: seedColor,
|
||||||
|
tones: FlexTones.oneHue(brightness),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -454,6 +454,14 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.0"
|
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:
|
flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description: flutter
|
description: flutter
|
||||||
|
|
|
@ -59,6 +59,7 @@ dependencies:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/nc-photos/exifdart.git
|
url: https://gitlab.com/nc-photos/exifdart.git
|
||||||
ref: 1.3.0
|
ref: 1.3.0
|
||||||
|
flex_seed_scheme: ^1.3.0
|
||||||
fluttertoast: ^8.2.1
|
fluttertoast: ^8.2.1
|
||||||
flutter_background_service:
|
flutter_background_service:
|
||||||
git:
|
git:
|
||||||
|
|
Loading…
Reference in a new issue