well property

Style get well

A well sunk into the chrome, a background: text fields. background 0.12 of the way to black on a dark theme, 0.7 of the way to white on a light one; background where it is not RGB.

Implementation

Style get well =>
    _well ??
    _bg(
      _isDark
          ? mixRgb(background.bg, const Color.rgb(0, 0, 0), 0.12)
          : mixRgb(background.bg, const Color.rgb(0xff, 0xff, 0xff), 0.7),
      background,
    );