From b9a4ff211878671bb7c3f7eca4f3c5cd443bdbb7 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Thu, 15 Jan 2026 12:21:43 +0100 Subject: [PATCH] fix: improve playground templates layout and typography MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add font-family: system-ui, sans-serif to all template bodies - Wrap pricing cards in .pricing flex container - Wrap animation boxes in .animation-demo flex container - Wrap flexbox layout in .layout container - Simplify navigation (fewer links to fit preview) - Reduce sizes to better fit preview area 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- src/config/playground-templates.js | 233 ++++++++++++++++------------- 1 file changed, 126 insertions(+), 107 deletions(-) diff --git a/src/config/playground-templates.js b/src/config/playground-templates.js index 2c68451..1e107a1 100644 --- a/src/config/playground-templates.js +++ b/src/config/playground-templates.js @@ -7,6 +7,12 @@ export const playgroundTemplates = [ { name: "Card Component", code: ` @@ -96,7 +108,6 @@ export const playgroundTemplates = [ @@ -106,6 +117,7 @@ export const playgroundTemplates = [ name: "Profile Card", code: ` @@ -183,11 +195,11 @@ export const playgroundTemplates = [ name: "Button Styles", code: ` -
-
Basic
-
$9
-
per month
- -
- - - -
-
Team
-
$99
-
per month
- +
+
+
Basic
+
$9
+
per month
+ +
+ +
+
Team
+
$99
+
per month
+ +
` }, { name: "Form Layout", code: ` @@ -452,17 +471,17 @@ export const playgroundTemplates = [

Fast

-

Lightning quick performance for all your needs.

+

Lightning quick performance.

Secure

-

Enterprise-grade security built in from day one.

+

Enterprise-grade security.

Simple

-

Intuitive interface that anyone can master.

+

Intuitive interface.

` }, @@ -470,11 +489,11 @@ export const playgroundTemplates = [ name: "Badge Collection", code: ` -
-
-
-
` +
+
+
+
+
+
` }, { name: "Flexbox Layout", code: ` -
-
- -
-

Main Content

-

Flexible width - grows to fill space

-
-
-

Card 1

-

Equal flex

-
-
-

Card 2

-

Equal flex

-
-
-

Card 3

-

Equal flex

-
+
+ +
+

Main Content

+

Flexible width

+
+
+

Card 1

+

Equal

-
-
+
+

Card 2

+

Equal

+
+
+

Card 3

+

Equal

+
+
+
` } ];