factory ThemeColors.of(String name, bool isDarkMode) { final x = ColorTheme._i?._colors[name]?.detect(isDarkMode); if (x != null) return x; return const ThemeColors(); }