Oskar LabCore & Design
Oskar Lab · Living Documentation

Core & Design System

An automatically maintained reference for design, global components, and shared code.

2D Lab

A 2D mesh editor with shared vertices, edges and faces. Drag the common edge or either face to explore their shared topology.

Object originMesh

Wheel: zoom · Middle drag or Space + drag: pan · Right-click: actions · Ctrl-click: toggle selection · Selected: 1

Scale
Rotate
Object origin

Change the pivot without moving the geometry. Object position moves both.

Select and drag objects, points, edges or faces across the whole scene. The selection mode changes the targets, not the view. Escape cancels a drag.

RangeSlider

Range

Tabs

Underlined tabs switch locally between content panels without navigation.

Colors & Tokens

Rendered directly from packages/ui/src/styles/variables.css. Changes appear here immediately.

background--color-background
background-soft--color-background-soft
surface--color-surface
surface-elevated--color-surface-elevated
primary--color-primary
accent-purple--color-accent-purple
accent-blue--color-accent-blue
accent-cyan--color-accent-cyan
accent-green--color-accent-green
accent-yellow--color-accent-yellow
accent-orange--color-accent-orange
accent-red--color-accent-red

Typography

Heading One

Heading Two

Heading Three

A normal paragraph for longer content. Good readability, clear hierarchy, and calm contrast form the standard.

“A design system makes decisions visible and repeatable.”
const design = "consistent";

Forms

Lists, Tables & Status

Standard list

  • Project-neutral
  • Reusable
  • Documented

Status

InfoSuccessWarningError
ElementStatusArea
ButtonStableComponents
VectorTestedCore
InputDesign defaultUI