surfaceDim property
Get DynamicColor for surfaceDim.
Implementation
static DynamicColor surfaceDim = DynamicColor.fromPalette(
name: 'surface_dim',
palette: (DynamicScheme s) => s.neutralPalette,
tone: (DynamicScheme s) =>
s.isDark ? 6 : ContrastCurve(87, 87, 80, 75).get(s.contrastLevel),
isBackground: true,
);