From cc50da553f48f11e39a706af1172a7faadeaa932 Mon Sep 17 00:00:00 2001 From: Ronan Berder Date: Fri, 26 Jun 2026 14:35:20 +0800 Subject: [PATCH] Use card surfaces for scroll area examples --- CHANGELOG.md | 4 ++ docs/src/components/scroll-area.mdx | 106 +++++++++++++++------------- 2 files changed, 61 insertions(+), 49 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c804051..a245ae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - Narrowed dark-mode generated selectors to `html.dark` to reduce broad style recalculation work. +### Fixed + +- Updated Scroll Area examples to use Card surfaces so framed examples inherit style-pack radius and border treatment. + ## [1.0.0-beta.7] - 2026-06-25 ### Added diff --git a/docs/src/components/scroll-area.mdx b/docs/src/components/scroll-area.mdx index f812aed..2524737 100644 --- a/docs/src/components/scroll-area.mdx +++ b/docs/src/components/scroll-area.mdx @@ -1,23 +1,25 @@ # Scroll Area -
-
-

Tags

-
-
v1.2.0-beta.50
-
v1.2.0-beta.49
-
v1.2.0-beta.48
-
v1.2.0-beta.47
-
v1.2.0-beta.46
-
v1.2.0-beta.45
-
v1.2.0-beta.44
-
v1.2.0-beta.43
-
v1.2.0-beta.42
-
v1.2.0-beta.41
-
v1.2.0-beta.40
-
v1.2.0-beta.39
-
v1.2.0-beta.38
+
+
+
+

Tags

+
+
v1.2.0-beta.50
+
v1.2.0-beta.49
+
v1.2.0-beta.48
+
v1.2.0-beta.47
+
v1.2.0-beta.46
+
v1.2.0-beta.45
+
v1.2.0-beta.44
+
v1.2.0-beta.43
+
v1.2.0-beta.42
+
v1.2.0-beta.41
+
v1.2.0-beta.40
+
v1.2.0-beta.39
+
v1.2.0-beta.38
+
@@ -67,25 +69,29 @@ The utility augments native scrolling for cross-browser styling. It does not wra ## Examples +These examples use Card as the framed surface so border and radius come from the active style pack. + ### Horizontal Use `scrollbar` with `overflow-x-auto` for horizontal scrolling. -
-
-
-
-
Photo by Ornella Binni
-
-
-
-
Photo by Tom Byrom
-
-
-
-
Photo by Vladimir Malyavko
-
+
+
+
+
+
+
Photo by Ornella Binni
+
+
+
+
Photo by Tom Byrom
+
+
+
+
Photo by Vladimir Malyavko
+
+
@@ -95,7 +101,7 @@ Use `scrollbar` with `overflow-x-auto` for horizontal scrolling. Use `scrollbar-sm` for compact scrollable regions like menus, listboxes, sidebars, and command results. -
+
Recent files