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.
This commit is contained in:
Willie
2026-03-12 16:45:02 +08:00
parent acfbabd1b2
commit 7ade470557
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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
@@ -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
+1 -1
View File
@@ -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',
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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'] }) {