themeAppRing property

DynamicColor get themeAppRing

Implementation

DynamicColor get themeAppRing => DynamicColor(
  name: "theme_app_ring",
  palette: (scheme) => scheme.primaryPalette,
  tone: (scheme) => switch (scheme.variant) {
    .tonalSpot || .expressive => _tMaxC(scheme.primaryPalette, 0.0, 70.0),
    .vibrant => _tMaxC(scheme.primaryPalette),
    _ => 70.0,
  },
  isBackground: true,
  background: (_) => _mMdc.surfaceContainerHigh,
  contrastCurve: (_) => const ContrastCurve(1.8, 1.8, 3.0, 4.5),
);