-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingScreen.style.tsx
60 lines (47 loc) · 1.1 KB
/
SettingScreen.style.tsx
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
57
58
59
60
import styled from '@emotion/native';
import {Switch, Text} from 'react-native-paper';
const Container = styled.View`
flex: 1;
`;
const SettingItemList = styled.View`
display: flex;
flex-direction: column;
`;
const SettingItemTitle = styled(Text)`
${({theme}) => theme.fonts.subtitle1};
padding: 8px 16px;
`;
const SettingItem = styled.View`
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding: 8px 16px;
border-bottom-width: 1px;
border-bottom-color: #eaeaea;
`;
const SettingItemDescriptionContainer = styled.View`
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
`;
const SettingItemDescriptionTitle = styled(Text)`
${({theme}) => theme.fonts.default};
`;
const SettingItemDescription = styled(Text)`
${({theme}) => theme.fonts.subtitle2};
`;
const SwitchButton = styled(Switch)``;
const S = {
Container,
SwitchButton,
SettingItemList,
SettingItemTitle,
SettingItem,
SettingItemDescriptionContainer,
SettingItemDescriptionTitle,
SettingItemDescription,
};
export default S;