-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCardList.Style.ts
More file actions
44 lines (37 loc) · 861 Bytes
/
CardList.Style.ts
File metadata and controls
44 lines (37 loc) · 861 Bytes
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
import styled from '@emotion/styled';
import { theme } from '@styles/themes';
const CardListContainer = styled.div({
display: 'flex',
flexDirection: 'column',
gap: '12px',
});
const CardListTitle = styled.div({
display: 'flex',
padding: '0px 20px',
gap: '6px',
alignItems: 'center',
['>p']: {
margin: '0px',
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
['&.title']: {
...theme.font.title20Semibold,
color: theme.colors.sub_gray2,
flexShrink: '0',
},
['&.update-time']: {
...theme.font.body14Regular,
color: theme.colors.sub_gray8,
marginLeft: 'auto',
},
},
['>svg']: {
width: '18px',
height: 'auto',
aspectRatio: '1 / 1',
fill: theme.colors.sub_gray6,
flexShrink: '0',
},
});
export { CardListContainer, CardListTitle };