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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user