colors property

Map<String, dynamic> colors
getter/setter pair

A map of color schemes for different UI elements in light and dark modes.

Implementation

Map<String, dynamic> colors = {
  "AppBar": {
    "light": CustomColors.appBar,
    "dark": CustomColors.appBarDark,
  },
  "Background": {
    "light": CustomColors.background,
    "dark": CustomColors.backgroundDark,
  },
  "Dark": {
    "light": CustomColors.dark,
    "dark": CustomColors.darkDark,
  },
  "InvertedDark": {
    "light": CustomColors.dark,
    "dark": CustomColors.appBar,
  },
  "Light": {
    "light": CustomColors.light,
    "dark": CustomColors.lightDark,
  },
  "InvertedLight": {
    "light": CustomColors.lightDark,
    "dark": CustomColors.light,
  },
  "Text": {
    "light": CustomColors.text,
    "dark": CustomColors.invertedText,
  },
  "InvertedText": {
    "light": CustomColors.invertedText,
    "dark": CustomColors.text,
  },
  "Grey": {
    "light": CustomColors.grey,
    "dark": CustomColors.greyDark,
  },
};