Skip to content

feat: adopt the Orbit design system - #2

Open
Me-Phew wants to merge 4 commits into
mainfrom
feat/orbit-design-system
Open

Me-Phew wants to merge 4 commits into
mainfrom
feat/orbit-design-system

Conversation

@Me-Phew

@Me-Phew Me-Phew commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

🎯 Purpose of this PR:

Moves the shared UI layer to Orbit, the direction chosen for the MoonBase Studio Design System (claude.ai artifact, tokens.json v2). The same values drive the Moonbase Commander 7" screen (electronics/moonbase-commander/docs/ekran-7.md §2, CMD-49).

Tokens and Tailwind

  • One dark theme: surface #050004, panel #121212, raised #1C1C1C, line #2A2A2A, accent = signal #22FF86, warning #E6A15C, error #E85D4C. Light and blue themes are removed.
  • Fonts: Space Grotesk 300/400/700 (UI), Space Mono (labels, upper case), Lalezar (wordmark only). Roboto and Inter are gone.
  • Orbit type scale (text-display, text-title, text-label, text-state, text-numeric-*), weights light/normal/bold, every radius token is 0, size tokens bar, control, row, bracket, key.
  • inspectorTypography keys are now title, valueLarge, value, body, label.

Components

  • New BaseFrame / BaseFrameBrackets (1px frame with signal corner brackets) and BaseStatusBadge (status dot plus a mono word).
  • Restyled base components: no hardcoded #050004/#22FF86, no color-mix, disabled state is dim text plus a dashed border instead of opacity.

Docs: .ai/docs/design-tokens.md and ui-design-rules.md describe Orbit.

⚠️ Breaking for consumers: removed font sizes (heading-*, special-*, standard-*), font families (roboto, inter, lalezar), weights medium/semibold and the old inspectorTypography keys. moonbase-studio-web is migrated in Moonbase-Systems/moonbase-studio-web on branch feat/orbit-design-system; merge this PR first, since production studio-web pulls the core layer from GitHub.

✅ Checks: nuxt typecheck, ESLint, Stylelint and Prettier pass (no unit tests in this repo). Verified in the running studio-web.

Mirror the MoonBase Studio Design System, direction Orbit (tokens.json v2).

One dark theme: surface #050004, panel, raised and line surfaces, signal
#22FF86 as the accent, warning and error from the Commander theme.
Space Grotesk 300/400/700 for the UI, Space Mono for labels, Lalezar
only for the wordmark. New type scale (display, title, label, state,
numeric-*), radius 0 everywhere, size tokens bar, control, row, bracket
and key. inspectorTypography now exposes title, valueLarge, value, body
and label.
BaseFrame is the Orbit block: a 1px line frame that gets signal corner
brackets when active. BaseFrameBrackets is exported for cards that draw
their own frame. BaseStatusBadge pairs the status dot with a mono state
word, so color never carries the state alone.
Drop hardcoded #050004, #22FF86, color-mix and opacity-based disabled
states. Fields become 1px line frames with mono labels, the property
card gets a thin white title and brackets, the toggle and color swatch
are square, popover and option group follow the frame pattern, and icon
buttons hover to the signal color.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant