contentColor constant

Map<CButtonKind, Map<CWidgetState, Color>> const contentColor

Implementation

static const Map<CButtonKind, Map<CWidgetState, Color>> contentColor = {
  CButtonKind.primary: {
    CWidgetState.enabled: CColors.white0,
    CWidgetState.focused: CColors.white0,
    CWidgetState.disabled: CColors.gray60,
  },
  CButtonKind.secondary: {
    CWidgetState.enabled: CColors.white0,
    CWidgetState.focused: CColors.white0,
    CWidgetState.disabled: CColors.gray60,
  },
  CButtonKind.danger: {
    CWidgetState.enabled: CColors.white0,
    CWidgetState.focused: CColors.white0,
    CWidgetState.disabled: CColors.gray60,
  },
  CButtonKind.tertiary: {
    CWidgetState.enabled: CColors.white0,
    CWidgetState.focused: CColors.gray100,
    CWidgetState.disabled: CColors.gray70,
  },
  CButtonKind.ghost: {
    CWidgetState.enabled: CColors.blue40,
    CWidgetState.focused: CColors.blue40,
    CWidgetState.disabled: CColors.gray70,
  },
};