material-foundation / material-color-utilities

Color libraries for Material You
Apache License 2.0
1.57k stars 134 forks source link

Surface and background colors don't match spec #122

Open anthonymoretti opened 8 months ago

anthonymoretti commented 8 months ago

In scheme.dart the tone values don't match the spec.

Expected

background: palette.neutral.get(98),
surface: palette.neutral.get(98),
background: palette.neutral.get(6),
surface: palette.neutral.get(6),

Actual

background: palette.neutral.get(99),
surface: palette.neutral.get(99),
background: palette.neutral.get(10),
surface: palette.neutral.get(10),
MrEbbinghaus commented 8 months ago

Reference: https://github.com/material-foundation/material-color-utilities/issues/114#issuecomment-1755766834