Skip to content

Commit

Permalink
change the table of content fonts from bold to medium (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjagm authored May 29, 2024
1 parent 1a84301 commit d3321b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/StyledMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='block cursor-pointer mb-3 max-sm:text-sm text-slate-600 dark:text-slate-300 leading-4 ml-[-0.40rem] font-bold'
className='block cursor-pointer mb-3 max-sm:text-sm text-slate-600 dark:text-slate-300 leading-4 ml-[-0.40rem] font-medium'
>
<span className='mr-1 text-blue-400 text-[1.5em]'>
&#9679;
Expand All @@ -546,7 +546,7 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='block cursor-pointer mb-3 max-sm:text-sm text-slate-600 dark:text-slate-300 leading-4 -ml-[9px] max-sm:-ml-[7px] font-bold'
className='block cursor-pointer mb-3 max-sm:text-sm text-slate-600 dark:text-slate-300 leading-4 -ml-[9px] max-sm:-ml-[7px] font-medium'
>
<span className='mr-1 text-blue-400 text-[1em]'>&#9679;</span>
{children}
Expand Down

0 comments on commit d3321b7

Please sign in to comment.