From a4d1aa987ceaf9b0eed586acdcb8c422a57c1cf1 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Sun, 19 May 2024 20:00:38 +0200 Subject: [PATCH] reaplced `SchemeTonalSpot` with `SchemeRainbow` --- lib/res/theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/res/theme.dart b/lib/res/theme.dart index bd8016d..5bd9b19 100644 --- a/lib/res/theme.dart +++ b/lib/res/theme.dart @@ -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,