2022-07-27 08:40:34 +00:00
|
|
|
import BaseTheme from '../../../ui/components/BaseTheme.native';
|
|
|
|
|
|
|
|
const BUTTON_HEIGHT = BaseTheme.spacing[7];
|
|
|
|
|
|
|
|
const button = {
|
|
|
|
borderRadius: BaseTheme.shape.borderRadius,
|
|
|
|
height: BUTTON_HEIGHT
|
|
|
|
};
|
|
|
|
|
|
|
|
const buttonLabel = {
|
|
|
|
...BaseTheme.typography.bodyShortBold,
|
|
|
|
padding: 6,
|
|
|
|
textTransform: 'capitalize'
|
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
|
|
|
button: {
|
|
|
|
...button
|
|
|
|
},
|
|
|
|
|
|
|
|
buttonLabel: {
|
|
|
|
...buttonLabel
|
|
|
|
},
|
|
|
|
|
|
|
|
buttonLabelDisabled: {
|
|
|
|
...buttonLabel,
|
|
|
|
color: BaseTheme.palette.text03
|
|
|
|
},
|
|
|
|
|
|
|
|
buttonDisabled: {
|
|
|
|
...button,
|
|
|
|
backgroundColor: BaseTheme.palette.actionDisabled
|
|
|
|
},
|
|
|
|
|
|
|
|
buttonLabelPrimary: {
|
|
|
|
...buttonLabel,
|
|
|
|
color: BaseTheme.palette.text01
|
|
|
|
},
|
|
|
|
|
|
|
|
buttonLabelSecondary: {
|
|
|
|
...buttonLabel,
|
2022-08-17 10:43:38 +00:00
|
|
|
color: BaseTheme.palette.text04
|
2022-07-27 08:40:34 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
buttonLabelDestructive: {
|
|
|
|
...buttonLabel,
|
|
|
|
color: BaseTheme.palette.text01
|
|
|
|
},
|
|
|
|
|
|
|
|
buttonLabelTertiary: {
|
|
|
|
...buttonLabel,
|
|
|
|
color: BaseTheme.palette.text01
|
|
|
|
}
|
|
|
|
};
|