-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtabs.ts
60 lines (59 loc) · 1.11 KB
/
tabs.ts
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
const style = {
baseStyle: {
tabpanel: {
padding: '0',
paddingTop: '6',
},
},
variants: {
brand: {
tablist: {
bg: 'rgba(26,26,26,1)',
px: '8',
justifyContent: 'center',
mt: '-14',
gap: '1rem',
width: 'fit-content',
mx: 'auto',
},
tab: {
fontWeight: '700',
color: 'whiteAlpha.600',
fontSize: 'lg',
_selected: {
color: 'white',
},
_focus: {
boxShadow: 'none',
outline: 'none',
},
},
tabpanel: {
pt: 0,
},
},
'soft-rounded': {
tablist: {
gap: '1rem',
},
tab: {
borderRadius: 'full',
fontWeight: '500',
color: 'white',
lineHeight: '1rem',
fontSize: 'sm',
border: '1px solid #303348',
_selected: {
borderColor: 'transparent',
color: 'brand.900',
bg: 'brand.500',
},
_focus: {
boxShadow: 'none',
outline: 'none',
},
},
},
},
}
export default style