From 0534b642353c0961194d7069329f731f0388a782 Mon Sep 17 00:00:00 2001 From: waleed Date: Sun, 28 Jun 2026 14:16:55 -0700 Subject: [PATCH 1/3] improvement(docs): flatten the academy learn/chapters panels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "What you will learn" and "Chapters" panels were filled, bordered cards — the only boxed elements on the page. The docs design system is explicitly flat: global.css strips fumadocs cards/callouts/card-grids to transparent/divider-based, and the right-rail "On this page" TOC is small, muted, and borderless. - WhatYouWillLearn (inline): flat divider list like the FAQ, with a small panel label at the app's text scale instead of a page-h2-scale title - VideoChapters (right rail): borderless, matching the TOC — small muted label + flat hover rows, no card chrome --- apps/docs/components/ui/video-chapters.tsx | 16 +++++-------- .../components/ui/what-you-will-learn.tsx | 23 ++++++++----------- 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/apps/docs/components/ui/video-chapters.tsx b/apps/docs/components/ui/video-chapters.tsx index 9a9ce3fba58..ff678fb62ba 100644 --- a/apps/docs/components/ui/video-chapters.tsx +++ b/apps/docs/components/ui/video-chapters.tsx @@ -26,9 +26,10 @@ interface VideoChaptersProps { } /** - * Right-rail panel listing the current video's chapters, styled to match the - * Academy's course panels. Rows are skip-to controls; they activate once the - * lesson's video is recorded. + * Right-rail list of the current video's chapters — flat and borderless to + * match the docs' "On this page" TOC (small muted label, hover-highlighted + * rows). Rows are skip-to controls; they activate once the lesson's video is + * recorded. */ export function VideoChapters({ title = 'Chapters', chapters, className }: VideoChaptersProps) { // Chapters only seek when a VideoPlaceholder with a real video is on the page. @@ -42,13 +43,8 @@ export function VideoChapters({ title = 'Chapters', chapters, className }: Video }, []) return ( -