color method
Helper to get the MediaQueryData.
Implementation
BaseColorStyles color({String? themeId}) {
Nylo nylo = Backpack.instance.read('nylo');
BaseThemeConfig baseThemeConfig = nylo.appThemes.firstWhere(
(theme) => theme.id == (themeId ?? getEnv('LIGHT_THEME_ID')),
orElse: () => nylo.appThemes.first);
return baseThemeConfig.colors;
}