You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that there are plans to deprecate the Scheme class soon in favor of DynamicScheme. However, since it is currently used in Flutter's ColorScheme.fromSeed implementation, it may be worth updating the implementation to match the specification.
The content you are editing has changed. Please copy your edits and refresh the page.
The Dart implementation of the
Scheme
class'sdarkFromCorePalette
method assigns an incorrect color tone to theonErrorContainer
property:palette.error.get(80)
instead ofpalette.error.get(90)
.https://github.com/material-foundation/material-color-utilities/blob/45798afb18dbe09ce948b765b375f064099f944f/dart/lib/scheme/scheme.dart#L126C2-L142C49
It appears that there are plans to deprecate the
Scheme
class soon in favor ofDynamicScheme
. However, since it is currently used in Flutter'sColorScheme.fromSeed
implementation, it may be worth updating the implementation to match the specification.Tasks
The text was updated successfully, but these errors were encountered: