Added Material 3 colors to ColorScheme. (#93427)

* Added the new Material 3 colors to ColorScheme.

* Deprecated primaryVariant and secondaryVariant colors in the ColorScheme.

* Added a flutter fix for the deprecated colors.
This commit is contained in:
Darren Austin
2021-11-23 13:56:16 -08:00
committed by GitHub
parent d4f8ffeead
commit 128c723445
6 changed files with 933 additions and 286 deletions

View File

@@ -112,9 +112,7 @@ TextTheme _buildShrineTextTheme(TextTheme base) {
const ColorScheme kShrineColorScheme = ColorScheme(
primary: kShrinePink100,
primaryVariant: kShrineBrown900,
secondary: kShrinePink50,
secondaryVariant: kShrineBrown900,
surface: kShrineSurfaceWhite,
background: kShrineBackgroundWhite,
error: kShrineErrorRed,