Skip to content

Commit 43a25cc

Browse files
fix: brand colors for TOC
Signed-off-by: rishabhsharma1997 <rishabhsharma19997@gmail.com>
1 parent 54cd1d7 commit 43a25cc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/custom/TOCChapter/style.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { styled } from '@mui/material';
2-
import { CARIBBEAN_GREEN } from '../../theme';
32

43
export const TOCWrapper = styled('div')(({ theme }) => ({
54
'.chapter-back': {
@@ -67,13 +66,13 @@ export const TOCWrapper = styled('div')(({ theme }) => ({
6766
},
6867
'&:hover': {
6968
'&::marker, & p, & a': {
70-
color: CARIBBEAN_GREEN
69+
color: theme.palette.background.brand?.default
7170
}
7271
}
7372
},
7473
'.active-link': {
7574
'&::marker, & p, & a': {
76-
color: CARIBBEAN_GREEN
75+
color: theme.palette.background.brand?.default
7776
}
7877
}
7978
}

0 commit comments

Comments
 (0)