From 7ade4705570d8e0c3fcbb784a2d1b93a74222d67 Mon Sep 17 00:00:00 2001 From: Willie Date: Wed, 11 Mar 2026 23:22:57 +0800 Subject: [PATCH] refactor(ui): rename oMLX references to skillshare-inspired Remove external brand references from code comments, design tokens, and style guide. The design philosophy is our own. --- .skillshare/skills/ui-website-style/SKILL.md | 4 ++-- .skillshare/skills/ui-website-style/references/STYLE_GUIDE.md | 2 +- ui/src/design.ts | 2 +- ui/src/index.css | 2 +- ui/src/pages/AuditPage.tsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.skillshare/skills/ui-website-style/SKILL.md b/.skillshare/skills/ui-website-style/SKILL.md index fa973860d..96ad2f16e 100644 --- a/.skillshare/skills/ui-website-style/SKILL.md +++ b/.skillshare/skills/ui-website-style/SKILL.md @@ -28,7 +28,7 @@ The project has **two distinct design systems** sharing semantic color names but | Border-radius | Clean: `4px`/`8px`/`12px`/pill | Wobbly: `255px 15px 225px 15px / ...` | | Shadows | Subtle blur: `0 1px 3px rgba(...)` | Hard offset: `4px 4px 0px 0px #2d2d2d` | | Background | Flat `#f7f6f3` | Dot grid on `#fdfbf7` | -| Philosophy | oMLX.ai-inspired minimal | Hand-drawn sketchy organic | +| Philosophy | skillshare-inspired minimal | Hand-drawn sketchy organic | --- @@ -49,7 +49,7 @@ import { radius, shadows, palette } from '../design'; radius.sm // '4px' — badges, chips radius.md // '8px' — cards, containers radius.lg // '12px' — modals, panels -radius.btn // '9999px' — pill buttons (oMLX style) +radius.btn // '9999px' — pill buttons (skillshare style) radius.full // '9999px' — avatars shadows.sm / .md / .lg / .hover / .active / .accent / .blue diff --git a/.skillshare/skills/ui-website-style/references/STYLE_GUIDE.md b/.skillshare/skills/ui-website-style/references/STYLE_GUIDE.md index 757e5fe8b..51d216dae 100644 --- a/.skillshare/skills/ui-website-style/references/STYLE_GUIDE.md +++ b/.skillshare/skills/ui-website-style/references/STYLE_GUIDE.md @@ -6,7 +6,7 @@ Reference implementation: `src/pages/LogPage.tsx` ## 1. Design Philosophy -- **omlx.ai-inspired**: whitespace over decoration, typography hierarchy over color coding +- **skillshare-inspired**: whitespace over decoration, typography hierarchy over color coding - **"Less is more"**: every visual element must earn its place — if removing it doesn't hurt comprehension, remove it - LogPage redesign is the canonical reference: clean summary text, dashed separators, minimal color, monospace where data demands it diff --git a/ui/src/design.ts b/ui/src/design.ts index d6ef6ba76..c6ede1be2 100644 --- a/ui/src/design.ts +++ b/ui/src/design.ts @@ -13,7 +13,7 @@ export const radius = { md: '8px', /** Large elements — modals, panels */ lg: '12px', - /** Buttons — pill shape like oMLX */ + /** Buttons — pill shape */ btn: '9999px', /** Full round — avatars, pills */ full: '9999px', diff --git a/ui/src/index.css b/ui/src/index.css index 0b783b2b3..9eece93bb 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -230,7 +230,7 @@ body { animation: flow 0.6s linear infinite; } -/* Subtle underline link — border-bottom style like oMLX */ +/* Subtle underline link — border-bottom style */ .link-subtle { color: var(--color-pencil-light); border-bottom: 1px solid var(--color-muted); diff --git a/ui/src/pages/AuditPage.tsx b/ui/src/pages/AuditPage.tsx index d56df6eef..df8dd8d59 100644 --- a/ui/src/pages/AuditPage.tsx +++ b/ui/src/pages/AuditPage.tsx @@ -253,7 +253,7 @@ export default function AuditPage() { } /* ────────────────────────────────────────────────────────────────────── - * AuditSummaryLine — compact inline summary (omlx.ai style) + * AuditSummaryLine — compact inline summary * ────────────────────────────────────────────────────────────────────── */ function AuditSummaryLine({ summary }: { summary: AuditAllResponse['summary'] }) {