fluent2PlaceholderInk function

Color fluent2PlaceholderInk(
  1. Fluent2ThemeData t,
  2. Fluent2InputAppearance appearance
)

A field's placeholder ink: Fluent's neutralForeground4 on a field with a fill of its own, neutralForeground3 on the underline field, whose words stand on the page, and on the filled-darker field, whose grey is laid over the page (the fourth ink misses 4.5:1 on the light presets' ground and on that grey).

Implementation

Color fluent2PlaceholderInk(
  Fluent2ThemeData t,
  Fluent2InputAppearance appearance,
) =>
    appearance == Fluent2InputAppearance.underline ||
        appearance == Fluent2InputAppearance.filledDarker
    ? t.colors.neutralForeground3
    : t.colors.neutralForeground4;