Spaces:
Configuration error
Configuration error
File size: 1,407 Bytes
7bbd534 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
import { mode } from '@chakra-ui/theme-tools';
export const textareaStyles = {
components: {
Textarea: {
baseStyle: {
field: {
fontWeight: 400,
borderRadius: '8px',
},
},
variants: {
main: (props: any) => ({
field: {
bg: mode('transparent', 'navy.800')(props),
border: '1px solid !important',
color: mode('navy.700', 'white')(props),
borderColor: mode('gray.200', 'whiteAlpha.100')(props),
borderRadius: '16px',
fontSize: 'sm',
p: '20px',
_placeholder: { color: 'navy.700' },
},
}),
auth: () => ({
field: {
bg: 'white',
border: '1px solid',
borderColor: 'gray.200',
borderRadius: '16px',
_placeholder: { color: 'gray.500' },
},
}),
authSecondary: () => ({
field: {
bg: 'white',
border: '1px solid',
borderColor: 'gray.200',
borderRadius: '16px',
_placeholder: { color: 'navy.700' },
},
}),
search: () => ({
field: {
border: 'none',
py: '11px',
borderRadius: 'inherit',
_placeholder: { color: 'navy.700' },
},
}),
},
},
},
};
|