colors property
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": Colors.black,
"dark": Colors.white,
},
"InvertedText": {
"light": Colors.white,
"dark": Colors.black,
},
"Grey": {
"light": CustomColors.grey,
"dark": CustomColors.greyDark,
},
};