colorOf static method
Color of a source id for brightness; unknown ids get a stable
fallback. Every color except direct is the same in dark mode.
Implementation
static Color colorOf(String id, {Brightness brightness = Brightness.light}) =>
id == direct && brightness == Brightness.dark ? directDark : colors[id] ?? const Color(0xFF8A97A3);