forBrightness static method

M3EEmphasized forBrightness(
  1. Brightness b
)

M3E guidance: slightly heavier weights and tighter tracking for large roles.

Implementation

static M3EEmphasized forBrightness(Brightness b) {
  // You could vary by brightness if desired; values below are neutral.
  return const M3EEmphasized(
    display: TextStyle(
      fontWeight: FontWeight.w800,
      letterSpacing: -0.5, // subtle tightening on big sizes
    ),
    headline: TextStyle(
      fontWeight: FontWeight.w700,
      letterSpacing: -0.25,
    ),
    title: TextStyle(
      fontWeight: FontWeight.w700,
    ),
    label: TextStyle(
      fontWeight: FontWeight.w700,
    ),
  );
}