MenuColors.light constructor

MenuColors.light()

Implementation

MenuColors.light() {
  if (Platform.I.isDesktop) {
    backgroundColor = const Color(0xFFf6f5f3);
    searchBarBackgroundColor = Colors.white;
    searchBarBorderColor = const Color(0xFFe6e5e2);
    searchBarEnabledColor = backgroundColor;
    searchBarFocusedColor = const Color(0xFF00a884);
    buttonColor = const Color(0xFF909090);
    iconHoveredBackgroundColor = const Color.fromARGB(255, 224, 224, 224);
    menuSelectedIconColor = Color.fromARGB(255, 42, 219, 187);
    indicatorColor = Colors.transparent;
  } else {
    backgroundColor = const Color(0xFFe9edf0);
    searchBarBackgroundColor = const Color(0xFFf7f8fa);
    searchBarBorderColor = Colors.transparent;
    searchBarEnabledColor = Colors.transparent;
    searchBarFocusedColor = Colors.transparent;
    buttonColor = const Color(0xFF758288);
    iconHoveredBackgroundColor = Colors.transparent;
    menuSelectedIconColor = Colors.black;
    indicatorColor = const Color(0xFF037e69);
  }
}