clockHour property

DynamicColor get clockHour

Implementation

DynamicColor get clockHour => DynamicColor(
  name: "clock_hour",
  palette: (scheme) =>
      scheme.isDark ? scheme.primaryPalette : scheme.secondaryPalette,
  tone: (scheme) => scheme.isDark ? 80.0 : 30.0,
  isBackground: false,
  background: (_) => widgetBackground,
  contrastCurve: (_) => const ContrastCurve(4.0, 4.0, 5.0, 15.0),
  toneDeltaPair: (_) => ToneDeltaPair(
    roleA: clockHour,
    roleB: clockMinute,
    delta: 10.0,
    polarity: .darker,
    constraint: .farther,
  ),
);