colors property

ZetaColors get colors

Provides the color set based on the current theme mode.

It determines the appropriate color set (light or dark) based on the theme mode and system brightness.

Implementation

ZetaColors get colors {
  if (themeMode == ThemeMode.system) {
    return _mediaBrightness == Brightness.light ? themeData.colorsLight : themeData.colorsDark;
  } else if (themeMode == ThemeMode.light) {
    return themeData.colorsLight;
  } else {
    return themeData.colorsDark;
  }
}