Skip to content

Commit

Permalink
fix: brand colors for TOC
Browse files Browse the repository at this point in the history
Signed-off-by: rishabhsharma1997 <[email protected]>
  • Loading branch information
rishabhsharma1997 committed Jul 26, 2024
1 parent 54cd1d7 commit 43a25cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/custom/TOCChapter/style.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { styled } from '@mui/material';
import { CARIBBEAN_GREEN } from '../../theme';

export const TOCWrapper = styled('div')(({ theme }) => ({
'.chapter-back': {
Expand Down Expand Up @@ -67,13 +66,13 @@ export const TOCWrapper = styled('div')(({ theme }) => ({
},
'&:hover': {
'&::marker, & p, & a': {
color: CARIBBEAN_GREEN
color: theme.palette.background.brand?.default
}
}
},
'.active-link': {
'&::marker, & p, & a': {
color: CARIBBEAN_GREEN
color: theme.palette.background.brand?.default
}
}
}
Expand Down

0 comments on commit 43a25cc

Please sign in to comment.