ThemeColors.baseOf constructor
Implementation
factory ThemeColors.baseOf(bool isDarkMode, ThemeData theme) {
final x = _kDefault.detect(isDarkMode);
return ThemeColors.of(_kBase, isDarkMode).defaults(
primary: theme.colorScheme.primary,
secondary: theme.colorScheme.secondary,
tertiary: theme.colorScheme.tertiary,
light: x.light,
dark: x.dark,
mid: x.mid,
error: x.error,
);
}