mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 07:50:42 +00:00
reaplced SchemeTonalSpot
with SchemeRainbow
This commit is contained in:
parent
61fc90cecb
commit
a4d1aa987c
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) {
|
|||
}
|
||||
|
||||
ColorScheme _colorSchemeFromColor(Color primaryColor, Brightness brightness) {
|
||||
final scheme = SchemeTonalSpot(
|
||||
final scheme = SchemeRainbow(
|
||||
sourceColorHct: Hct.fromInt(primaryColor.value),
|
||||
isDark: brightness == Brightness.dark,
|
||||
contrastLevel: 0.0,
|
||||
|
|
Loading…
Reference in a new issue