File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -324,10 +324,4 @@ We can add a path like `/articles/pdf` or `/articles/deep-dive` for the long-for
324324
325325- Move the "What I Deliver" box from the Hero into the Backstage image. Move the Backstage image / video to the hero.
326326
327- ## Instructions for revamps
328-
329- All changes should look good on both light and dark theme, use our tailwind theme colors, and look good on mobile.
330-
331- "Condensed" or "Intro"
332-
333- Cursor on hovering a link
327+ - Focus-visible / active handling on ToC nav items
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const tocTree = buildTocTree(items)
7777 >
7878 { /* Desktop heading — hidden on mobile where the drawer header shows instead */ }
7979 <div class = " hidden lg:flex items-center justify-between gap-3" >
80- <h2 id = " toc-heading" class = " text-base font-semibold" >
80+ <h2 id = " toc-heading" class = " text-content text- base font-semibold" >
8181 Table of Contents
8282 </h2 >
8383 <span class = " text-xs font-medium uppercase tracking-wide text-content-active" >
@@ -95,7 +95,7 @@ const tocTree = buildTocTree(items)
9595 href = { ` #${node .slug } ` }
9696 data-toc-link
9797 data-toc-slug = { node .slug }
98- class = " block mb-2 text-sm sm:text-base text-content-offset transition-colors hover:text-content-active data-[current=true]:text-content no-underline hover:underline"
98+ class = " block mb-2 text-sm sm:text-base text-content transition-colors hover:text-content-active data-[current=true]:text-content no-underline hover:underline"
9999 >
100100 { node .text }
101101 </a >
You can’t perform that action at this time.
0 commit comments