From 19b67204fb80b7a7c233c967e4cf3aed73810f80 Mon Sep 17 00:00:00 2001 From: shadcn Date: Fri, 21 Aug 2026 10:11:48 +0400 Subject: [PATCH 1/3] fix(docs): exclude accordion from typeset styles (#11579) Typeset was restyling the accordion header (h3) and content paragraphs on /docs/introduction, breaking trigger alignment and content spacing. Co-authored-by: Cursor Agent Co-authored-by: shadcn --- apps/v4/content/docs/(root)/index.mdx | 4 ++-- apps/v4/mdx-components.tsx | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/v4/content/docs/(root)/index.mdx b/apps/v4/content/docs/(root)/index.mdx index a7eb63e7c42..d48fb6988dc 100644 --- a/apps/v4/content/docs/(root)/index.mdx +++ b/apps/v4/content/docs/(root)/index.mdx @@ -32,13 +32,13 @@ _In a typical library, if you need to change a button’s behavior, you have to How do I pull upstream updates in an Open Code approach? - +

shadcn/ui follows a headless component architecture. This means the core of your app can receive fixes by updating your dependencies, for instance, @base-ui/react or input-otp.

-

+

The topmost layer, i.e., the one closest to your design system, is not coupled with the implementation of the library. It stays open for modification. diff --git a/apps/v4/mdx-components.tsx b/apps/v4/mdx-components.tsx index 402f320abbe..7c315a270e0 100644 --- a/apps/v4/mdx-components.tsx +++ b/apps/v4/mdx-components.tsx @@ -330,7 +330,12 @@ export const mdxComponents = {