Skip to content

willink_theme 1.5.0 — WillinkTheme.willinkDark()

Choose a tag to compare

@yutaro-shirai yutaro-shirai released this 11 Jun 01:40
· 84 commits to main since this release

willink_theme 1.5.0

Dark mode for Flutter — WillinkTheme.willinkDark() mirrors the web semantic flips (ADR-0013) onto a manual Brightness.dark ColorScheme (surface ladder from neutral-950/900/800/700, brand-600 invariant, containers brand-950/300, error red-500). A shared _base() builder structurally guarantees light/dark slot parity. All 9 components adapt with no changes — verified by tests rendering Button / SnackBar / TabBar under the dark theme (66/66).

MaterialApp(
  theme: WillinkTheme.willink(),
  darkTheme: WillinkTheme.willinkDark(),
  themeMode: ThemeMode.system,
)