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.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: BaseTheme.spacing[2]
  12. },
  13. fieldContainer: {
  14. position: 'relative'
  15. },
  16. icon: {
  17. position: 'absolute',
  18. zIndex: 1,
  19. top: 14,
  20. left: 14
  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: BaseTheme.spacing[7],
  31. lineHeight: 20
  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. inputMultiline: {
  46. height: BaseTheme.spacing[10],
  47. paddingTop: BaseTheme.spacing[2]
  48. },
  49. clearableInput: {
  50. paddingRight: BaseTheme.spacing[6]
  51. },
  52. clearButton: {
  53. backgroundColor: 'transparent',
  54. borderWidth: 0,
  55. position: 'absolute',
  56. right: 0,
  57. top: 14,
  58. width: BaseTheme.spacing[6],
  59. height: BaseTheme.spacing[7]
  60. },
  61. clearIcon: {
  62. color: BaseTheme.palette.icon01
  63. }
  64. };