Skip to content

Commit

Permalink
Merge pull request layer5io#692 from rishabhsharma1997/master
Browse files Browse the repository at this point in the history
fix: brand colors for TOC
  • Loading branch information
captain-Akshay authored Jul 26, 2024
2 parents a56184b + 43a25cc commit b18a230
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 b18a230

Please sign in to comment.