diff --git a/app/[workspace]/project/[projectId]/design/page.tsx b/app/[workspace]/project/[projectId]/design/page.tsx index 03e2882..3153078 100644 --- a/app/[workspace]/project/[projectId]/design/page.tsx +++ b/app/[workspace]/project/[projectId]/design/page.tsx @@ -357,9 +357,9 @@ const LIBRARY_STYLE_OPTIONS: Record = { function ConfigRow({ label, children }: { label: string; children: React.ReactNode }) { return ( -
- {label} -
+
+ {label} +
{children}
@@ -612,95 +612,77 @@ function SurfaceSection({ background: "#fff", overflow: "auto", display: "flex", flexDirection: "column", gap: 0, }}> -
+
- {/* Library capability cards β€” 2-col grid */} -
- {surface.themes.map(theme => { - const isActive = theme.id === previewId; - const isThisLocked = theme.id === lockedThemeId; - const dimmed = isLocked && !isThisLocked; - return ( - + ) : ( + + )} + {activeTheme && ( + (e.currentTarget.style.color = "#1a1a1a")} + onMouseLeave={e => (e.currentTarget.style.color = "#b5b0a6")} + >Docs β†— + )} +
+ + {/* Library β€” simple name buttons */} +
+ Library +
+ {surface.themes.map(theme => { + const isActive = theme.id === previewId; + const isThisLocked = theme.id === lockedThemeId; + const dimmed = isLocked && !isThisLocked; + return ( +
- - {/* Best for */} - {theme.bestFor && ( -

- Best for: {theme.bestFor} -

- )} - - {/* Highlights */} - {theme.highlights && theme.highlights.length > 0 && ( -
- {theme.highlights.map((h, i) => ( -
- β†’ - {h} -
- ))} -
- )} - - {/* Tags */} -
- {theme.tags.map(t => ( - {t} - ))} -
- - {/* Active indicator */} - {isActive && !isThisLocked && ( -
βœ“
- )} - - ); - })} + {theme.name} + + ); + })} +
{/* Design configurator β€” mode, background, nav, header, sections, font */} @@ -741,55 +723,6 @@ function SurfaceSection({
)} - {/* Docs link + lock action bar */} -
- {activeTheme && ( - <> - (e.currentTarget.style.color = "#1a1a1a")} - onMouseLeave={e => (e.currentTarget.style.color = "#a09a90")} - > - {activeTheme.name} docs β†— - -
- - )} - {isLocked ? ( - - ) : ( - - )} -
{/* end inner padding div */}
{/* end right panel */}