Add support for fixed accent colors #137683
Labels
c: new feature
Nothing broken; request for a new capability
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Is there an existing issue for this?
Use case
[Part of #91605 ]
Material 3 has introduced a set of new color roles that retain the same color in the light and dark themes collectively referred to as fixed accent colors See: https://m3.material.io/styles/color/the-color-system/color-roles#232e7275-6ef2-4b93-afa6-c5f76e378ced
New surface color roles have also been added: (See #137679)
These changes appear to be part of a wider set of updates to the color system, see this.
Color Roles
Fixed Accent Colors
See: https://m3.material.io/styles/color/the-color-system/color-roles#232e7275-6ef2-4b93-afa6-c5f76e378ced
On Fixed Accent Colors
See: https://m3.material.io/styles/color/the-color-system/color-roles#6a242aff-e606-43d5-a7de-988facc90968
Proposal
Update
ColorScheme
to include the above roles. The currentColorScheme.fromSeed
implementation uses theScheme
class underneath which is planned to be deprecated. For more info, see #137679.The text was updated successfully, but these errors were encountered: