You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

inputStyles.ts 1.4KB

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