Skip to content

Commit a55f049

Browse files
authored
apply style updates to tabs component (#542)
apply style updates to tabs component (#542)
1 parent abcebe2 commit a55f049

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/components/Tabs/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ const Tabs = ({ tabs, onTabChange, activeTab }: TabsProps): JSX.Element => {
2525
const { isMobile } = useDeviceInfo();
2626

2727
const tabStyles = {
28-
fontSize: '14px',
28+
color: '#7F775B',
29+
fontSize: '16px',
30+
fontWeight: 600,
2931
padding: theme.spacing(1, 2),
3032
minHeight: theme.spacing(4.5),
3133
textTransform: 'capitalize',
34+
'&:hover': {
35+
backgroundColor: theme.palette.TwClrBgHover as string,
36+
},
3237
'&.Mui-selected': {
3338
color: theme.palette.TwClrTxtBrand as string,
34-
fontWeight: 500,
3539
},
3640
'&.MuiTab-labelIcon': {
3741
display: 'flex',
@@ -83,7 +87,6 @@ const Tabs = ({ tabs, onTabChange, activeTab }: TabsProps): JSX.Element => {
8387
style: {
8488
background: theme.palette.TwClrBgBrand,
8589
height: '4px',
86-
borderRadius: '4px 4px 0 0',
8790
},
8891
}}
8992
>

0 commit comments

Comments
 (0)