Skip to content

Commit 622539c

Browse files
authored
Merge pull request #406 from GeekyAnts/fix/tabs-style-changes
changes width color in tabs component
2 parents 3248aae + 73b5b78 commit 622539c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/Tabs/Tabs.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ export const DocTabs = ({ children, values, defaultValue }: any) => {
2020
<Pressable
2121
key={"Tab-" + index}
2222
_hover={{
23-
_light: { bg: "coolGray.400:alpha.40" },
24-
_dark: { bg: "coolGray.700:alpha.40" },
23+
_light: { bg: "inactiveSidebarItemHoverBackgroundLight" },
24+
_dark: { bg: "inactiveSidebarItemHoverBackgroundDark" },
2525
}}
2626
onPress={() => onPressHandler(index)}
2727
justifyContent={"center"}
2828
alignItems="center"
2929
py="4"
3030
px="5"
31-
roundedTop="6"
32-
borderBottomWidth={2}
31+
roundedTop="8"
32+
borderBottomWidth={4}
3333
borderColor={
3434
selected !== values[index].value
3535
? "transparent"
36-
: "SelectedTabBorderColor"
36+
: "primary.500"
3737
}
3838
>
3939
<Text
4040
color={
4141
selected !== values[index].value
4242
? textColor
43-
: "SelectedTabTextColor"
43+
: "primary.500"
4444
}
4545
>
4646
{value.label}

0 commit comments

Comments
 (0)