Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

buttonStyles.ts 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // @ts-ignore
  2. import BaseTheme from '../../../ui/components/BaseTheme.native';
  3. const BUTTON_HEIGHT = BaseTheme.spacing[7];
  4. const button = {
  5. borderRadius: BaseTheme.shape.borderRadius,
  6. height: BUTTON_HEIGHT
  7. };
  8. const buttonLabel = {
  9. ...BaseTheme.typography.bodyShortBold,
  10. padding: 6,
  11. textTransform: 'capitalize'
  12. };
  13. export default {
  14. button: {
  15. ...button
  16. },
  17. buttonLabel: {
  18. ...buttonLabel
  19. },
  20. buttonLabelDisabled: {
  21. ...buttonLabel,
  22. color: BaseTheme.palette.text03
  23. },
  24. buttonDisabled: {
  25. ...button,
  26. backgroundColor: BaseTheme.palette.actionDisabled
  27. },
  28. buttonLabelPrimary: {
  29. ...buttonLabel,
  30. color: BaseTheme.palette.text01
  31. },
  32. buttonLabelSecondary: {
  33. ...buttonLabel,
  34. color: BaseTheme.palette.text04
  35. },
  36. buttonLabelDestructive: {
  37. ...buttonLabel,
  38. color: BaseTheme.palette.text01
  39. },
  40. buttonLabelTertiary: {
  41. ...buttonLabel,
  42. color: BaseTheme.palette.text01
  43. }
  44. };