-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.styled.ts
More file actions
52 lines (45 loc) ยท 1.03 KB
/
Copy pathindex.styled.ts
File metadata and controls
52 lines (45 loc) ยท 1.03 KB
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
import styled from '@emotion/styled';
export const UserInfoWrapper = styled.div(({ theme }) => ({
boxSizing: 'border-box',
width: '48rem',
display: 'flex',
flexDirection: 'column',
gap: '30px',
borderBottom: `1px solid ${theme.colors.gray200}`,
paddingBottom: '3rem',
'@media (max-width: 48rem)': {
width: '100%',
},
}));
export const FormField = styled.div({
display: 'flex',
flexDirection: 'column',
gap: '10px',
});
export const FormRow = styled.div({
display: 'flex',
flexDirection: 'row',
gap: '2.5rem',
width: '100%',
'& > *': {
flex: '1 1 0',
minWidth: 0,
},
});
export const Label = styled.label(({ theme }) => ({
display: 'flex',
alignItems: 'center',
gap: '4px',
fontWeight: theme.font.weight.medium,
}));
export const FormContainer = styled.main({
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: '3rem',
});
export const ErrorMessage = styled.span(({ theme }) => ({
color: theme.colors.warning,
fontSize: theme.font.size.xs,
padding: 0,
}));