backgroundColor constant
Implementation
static const Map<CButtonKind, Map<CWidgetState, Color>> backgroundColor = {
CButtonKind.primary: {
CWidgetState.enabled: CColors.blue60,
CWidgetState.focused: CColors.blue70,
CWidgetState.disabled: CColors.gray70,
},
CButtonKind.secondary: {
CWidgetState.enabled: CColors.gray60,
CWidgetState.focused: CColors.gray70,
CWidgetState.disabled: CColors.gray70,
},
CButtonKind.danger: {
CWidgetState.enabled: CColors.red60,
CWidgetState.focused: CColors.red70,
CWidgetState.disabled: CColors.gray70,
},
CButtonKind.tertiary: {
CWidgetState.enabled: CColors.gray100,
CWidgetState.focused: CColors.gray10,
CWidgetState.disabled: CColors.gray100,
},
CButtonKind.ghost: {
CWidgetState.enabled: CColors.transparent,
CWidgetState.focused: CColors.gray80,
CWidgetState.disabled: CColors.gray100,
},
};