diff --git a/apps/web/src/components/skills/SkillsPage.tsx b/apps/web/src/components/skills/SkillsPage.tsx index a7f3f2a2d..88ec65f9c 100644 --- a/apps/web/src/components/skills/SkillsPage.tsx +++ b/apps/web/src/components/skills/SkillsPage.tsx @@ -138,30 +138,53 @@ function SkillDetailDialog(props: { const mutable = isCatalog ? !skill.immutable && skill.installed : skill.mutable; const pathValue = skill.path; const slashName = isCatalog ? skill.name.toLowerCase().replace(/\s+/g, "-") : skill.name; + const tags = "tags" in skill ? skill.tags : []; + const Icon = skillIcon("icon" in skill ? skill.icon : "file"); return ( - {skill.name} - {skill.description} - - -
- {("tags" in skill ? skill.tags : []).map((tag) => ( - - {tag} - - ))} +
+
+ +
+
+ {skill.name} + {skill.description} +
+ {tags.length > 0 && ( +
+ {tags.map((tag) => ( + + {tag} + + ))} +
+ )} + +
-

Slash commands

-

/{slashName}

-

/skill read {slashName}

+

+ Slash commands +

+
+

+ /{slashName} +

+

+ /skill read {slashName} +

+
{pathValue ? (
-

Path

-

{pathValue}

+

+ Installed path +

+

+ {pathValue} +

) : null}
@@ -422,7 +445,7 @@ export function SkillsPage(props: {
-
+
diff --git a/apps/web/src/components/ui/dialog.tsx b/apps/web/src/components/ui/dialog.tsx index 774047fee..73ae52e11 100644 --- a/apps/web/src/components/ui/dialog.tsx +++ b/apps/web/src/components/ui/dialog.tsx @@ -90,7 +90,13 @@ function DialogHeader({ className, ...props }: React.ComponentProps<"div">) { } function DialogPanel({ className, ...props }: React.ComponentProps<"div">) { - return
; + return ( +
+ ); } function DialogFooter({ diff --git a/apps/web/src/hooks/useTheme.ts b/apps/web/src/hooks/useTheme.ts index 327dabcfa..053eecd63 100644 --- a/apps/web/src/hooks/useTheme.ts +++ b/apps/web/src/hooks/useTheme.ts @@ -6,7 +6,6 @@ type ColorTheme = | "default" | "iridescent-void" | "solar-witch" - | "midnight-clarity" | "carbon" | "vapor" | "cathedral-circuit" @@ -25,7 +24,6 @@ export const COLOR_THEMES: { id: ColorTheme; label: string }[] = [ { id: "default", label: "Default" }, { id: "iridescent-void", label: "Iridescent Void" }, { id: "solar-witch", label: "Solar Witch" }, - { id: "midnight-clarity", label: "Midnight Clarity" }, { id: "carbon", label: "Carbon" }, { id: "vapor", label: "Vapor" }, { id: "cathedral-circuit", label: "Cathedral Circuit" }, @@ -66,7 +64,6 @@ function getStoredColorTheme(): ColorTheme { raw === "default" || raw === "iridescent-void" || raw === "solar-witch" || - raw === "midnight-clarity" || raw === "carbon" || raw === "vapor" || raw === "cathedral-circuit" || diff --git a/apps/web/src/themes.css b/apps/web/src/themes.css index eff0af130..9ee918e37 100644 --- a/apps/web/src/themes.css +++ b/apps/web/src/themes.css @@ -123,66 +123,6 @@ --warning-foreground: #f1a10d; } -/* ─── Midnight Clarity ─── clean, intelligent, trustworthy (OpenAI-inspired) ─── */ - -:root.theme-midnight-clarity { - color-scheme: light; - --background: #ffffff; - --foreground: #0d0d0d; - --card: #f7f7f8; - --card-foreground: #0d0d0d; - --popover: #f7f7f8; - --popover-foreground: #0d0d0d; - --primary: oklch(0.59 0.14 168); - --primary-foreground: #ffffff; - --secondary: rgba(0, 0, 0, 0.04); - --secondary-foreground: #0d0d0d; - --muted: rgba(0, 0, 0, 0.04); - --muted-foreground: #6e6e80; - --accent: rgba(0, 0, 0, 0.05); - --accent-foreground: #0d0d0d; - --destructive: #ef4444; - --destructive-foreground: #dc2626; - --border: rgba(0, 0, 0, 0.08); - --input: rgba(0, 0, 0, 0.1); - --ring: oklch(0.59 0.14 168); - --info: #0ea5e9; - --info-foreground: #0284c7; - --success: #10a37f; - --success-foreground: #0d8a6a; - --warning: #f59e0b; - --warning-foreground: #b45309; -} - -:root.theme-midnight-clarity.dark { - color-scheme: dark; - --background: #212121; - --foreground: #ececec; - --card: #2f2f2f; - --card-foreground: #ececec; - --popover: #2f2f2f; - --popover-foreground: #ececec; - --primary: oklch(0.72 0.14 168); - --primary-foreground: #0d0d0d; - --secondary: rgba(255, 255, 255, 0.05); - --secondary-foreground: #ececec; - --muted: rgba(255, 255, 255, 0.05); - --muted-foreground: #9a9a9a; - --accent: rgba(255, 255, 255, 0.06); - --accent-foreground: #ececec; - --destructive: #f87171; - --destructive-foreground: #fca5a5; - --border: rgba(255, 255, 255, 0.08); - --input: rgba(255, 255, 255, 0.1); - --ring: oklch(0.72 0.14 168); - --info: #38bdf8; - --info-foreground: #7dd3fc; - --success: #34d399; - --success-foreground: #6ee7b7; - --warning: #fbbf24; - --warning-foreground: #fcd34d; -} - /* ─── Carbon ─── stark, modern, performance-focused (Vercel-inspired) ─── */ :root.theme-carbon {