mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() This PR is to introduce 19 new color roles and deprecate 3 color roles in `ColorScheme`. **Tone-based surface colors** (7 colors): * surfaceBright * surfaceDim * surfaceContainer * surfaceContainerLowest * surfaceContainerLow * surfaceContainerHigh * surfaceContainerHighest **Accent color add-ons** (12 colors): * primary/secondary/tertiary-Fixed * primary/secondary/tertiary-FixedDim * onPrimary/onSecondary/onTertiary-Fixed * onPrimary/onSecondary/onTertiary-FixedVariant **Deprecated colors**: * background -> replaced with surface * onBackground -> replaced with onSurface * surfaceVariant -> replaced with surfaceContainerHighest Please checkout this [design doc](https://docs.google.com/document/d/1ODqivpM_6c490T4j5XIiWCDKo5YqHy78YEFqDm4S8h4/edit?usp=sharing) for more information:)  |
||
---|---|---|
.. | ||
bin | ||
gen_defaults | ||
gen_keycodes | ||
localization | ||
test | ||
vitool | ||
.gitignore | ||
create_api_docs.dart | ||
dartdoc_checker.dart | ||
examples_smoke_test.dart | ||
find_engine_commit.dart | ||
mega_gallery.dart | ||
pubspec.yaml | ||
repackage_gradle_wrapper.sh | ||
update_icons.dart |