flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
161.86k stars 26.57k forks source link

Material Design Color System Guidance Bug #69051

Open feinstein opened 3 years ago

feinstein commented 3 years ago

While I was updating my App with the latest buttons and color schemes I found an inconsistency in the Material Design Specs.

Looking at the ColorScheme.light constructor, it creates a ColorScheme with 100% black text. It follows the recommendations here.

But, the recommendations here are that black text should have an opacity of 87%, which makes both specs contradict one another.

This was already reported to the Material Design Team in private messages and they confirmed it's a bug on the Color System Guidance.

I am opening this issue here so we can track the changes into the ColorScheme class to reflect the Color System Guidance fixes.

cc @willlarche

Awaisoop commented 3 years ago

share the code please with snap

TahaTesser commented 3 years ago

Related https://github.com/flutter/flutter/issues/65782