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

inputStyles.ts 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // @ts-ignore
  2. import BaseTheme from '../../../ui/components/BaseTheme.native';
  3. export default {
  4. inputContainer: {
  5. display: 'flex',
  6. flexDirection: 'column'
  7. },
  8. label: {
  9. ...BaseTheme.typography.bodyShortRegularLarge,
  10. lineHeight: 0,
  11. color: BaseTheme.palette.text01,
  12. marginBottom: 8
  13. },
  14. fieldContainer: {
  15. position: 'relative'
  16. },
  17. icon: {
  18. position: 'absolute',
  19. zIndex: 1,
  20. top: 13,
  21. left: 16
  22. },
  23. input: {
  24. ...BaseTheme.typography.bodyShortRegularLarge,
  25. backgroundColor: BaseTheme.palette.ui03,
  26. borderColor: BaseTheme.palette.ui03,
  27. borderRadius: BaseTheme.shape.borderRadius,
  28. borderWidth: 2,
  29. color: BaseTheme.palette.text01,
  30. paddingHorizontal: BaseTheme.spacing[3],
  31. height: 48
  32. },
  33. inputDisabled: {
  34. color: BaseTheme.palette.text03
  35. },
  36. inputFocused: {
  37. borderColor: BaseTheme.palette.focus01
  38. },
  39. inputError: {
  40. borderColor: BaseTheme.palette.textError
  41. },
  42. iconInput: {
  43. paddingLeft: BaseTheme.spacing[6]
  44. },
  45. clearableInput: {
  46. paddingRight: BaseTheme.spacing[6]
  47. },
  48. clearButton: {
  49. backgroundColor: 'transparent',
  50. borderWidth: 0,
  51. position: 'absolute',
  52. right: 0,
  53. top: 13,
  54. width: 40,
  55. height: 48
  56. },
  57. clearIcon: {
  58. color: BaseTheme.palette.icon01
  59. }
  60. };