Skip to content

Self-improving AI Employees for everyone

docs(design-system): the bundle describes the three themes left

trohitg9ca0a2eb2355
diff --git a/CLAUDE.md b/CLAUDE.md
index f6e9ea2d..689a3133 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -18,7 +18,7 @@ This is a React Flow-based workflow automation platform implementing n8n-inspire
| **[Normal Mode (Home)](./docs-internal/normal_mode.md)** | The owner-facing landing screen: describe a job, an LLM on the server drafts a setup screen (a JSON UI spec the client parses, normalises and renders from a fixed catalogue), and Hire builds, validates, saves and starts one workflow per AI employee (`services/employees/`, graph built from `config/employee_apps.json` plus the owner's skill library and a Canvas node, and checked against `node_allowlist.json` `enabled_nodes`). Covers the screen switch (`app/`, `shellMode` / `ui_shell_mode`, `VITE_NORMAL_MODE=false` kill switch, the same three themes and theme button as the editor), the employee page (the shared chat, `features/chat`, with the employee named in the header beside New conversation; Stop is in the Workspace header), deleting an employee from the team sidebar (stopped through Reset first, then gone from every tab), the live Ask first rule (`workflow_rules`, the chat's Ask first chip via `set_ask_first`; app replies wait in `approvalGate`, sending tool calls are held as drafts by `services/approvals/tool_calls.py` and sent after a 5 s Undo window by `ApprovedToolCallWorkflow`; cards in the chat; builder v3 gates every app reply, attaches every app tool and gives the talk agent `chatUi` and the registry's `talk_send` tools, with instructions identical whatever the rule; older employees are upgraded on Apply / Turn on Talk / Start by `services/employees/upgrade.py`), run records for "done today" (`machina-run-record-v1`), automatic-pause reasons, Settings (Profile fields; usage-only Billing via `get_employee_usage`; Skills, the user-skills library each new hire copies onto a Skills node; consumer Connectors with `publisher` / `verified`; Plugins, the starter bundles in `hire/starters.json`; the last three share one catalog page), the Workspace dock (an employee's Canvas board, named by the summary's `canvas_node_id`; a live Browser tab with user takeover, shared with Dev mode; Mobile shows the managed local Android phone; a footer timeline of the employee's steps from the step log `services/workspace_steps.py`, read with `workspace_steps_list` and again on `workspace_step`, and Take over, which takes the screen and stops the employee until Hand back), the "Web browser" app (attached whole, each call read-only while the owner asks first through its approval spec's `restrict_while_asking`; while the agent waits in `request_user` the summary's `browser_request` shows Needs you and Help in browser), Talk on the employee page (a thread over the chat session whose id is the workflow id, rows written through `services/chat_thread.py` and, for the owner's messages and their chat runs, `services/chat/ledger.py` (see [Chat Protocol](./docs-internal/chat_protocol.md)); the talk line is chatTrigger → an agent → `chatReply` "Reply in Chat": a chat hire's own agent is its talk agent, other hires get a "Talk with {name}" agent sharing the worker's tools and skills with its own Context, and schedule hires also "Post to Talk"), Turn on Talk (for talk `off`) and Apply (while the summary's `pending_changes` is true) via `enable_employee_talk` / `apply_employee_changes`, each a restart on the saved graph through `services/deployment/restart.py`, self-extension from Talk through the Agent Builder within the Hire rule (`services/employees/policy.py`), the 3D orb, the wire contract and the `employee_lifecycle` / `approval_lifecycle` / `chat.updated` / `workspace_step` broadcasts. |
| **[Chat Protocol](./docs-internal/chat_protocol.md)** | The wire contract between the chat runtime (`server/services/chat/`) and the shared chat UI: AG-UI's event model on the existing WebSocket, snake_case, in the CloudEvents envelope. A message a deployed chat trigger will answer starts a **chat run** admitted with it in one reserved write transaction (`Database.reserved_session`, SQLite `BEGIN IMMEDIATE`): one live run per session (the lane, also a partial unique index; a second send answers `run_in_progress`), idempotent `client_message_id`, claimed and finished by the MachinaWorkflow that answers it behind `machina-chat-run-v1` (the run id is trusted only from an event whose source is `opencompany://services/chat`; `run_scope` rides every node context; only the claimant finishes), the reply saved as `a_<run id>` by `chatReply`, every message appended after the session's active leaf (`chat_threads`) so concurrent writes never fork the thread. `chat_run_event` frames reach only sockets that passed `chat_subscribe`'s owner check (`services/chat/hub.py`: per-run `seq`, `hub_epoch`, bounded per-socket queues with a resync), never the status broadcast; a standalone worker sends its run events, `chat.updated` and `approval_lifecycle` to the backend over `/ws/internal` (`services/chat/relay.py`, `chat_run_publish`, ordered, dropped events resynced). A watchdog (`services/chat/watchdog.py`, started by `main.py`) ends runs nothing will finish (`not_delivered`, `timed_out`, `interrupted`). The agent wired into Reply in Chat (`answers_chat_run`) streams its answer as `text.*` events (`services/chat/stream.py`, activity input only, no workflow patch), its tool calls show as steps (`services/chat/steps.py`; label from the plugin's `chat_step`), and `stop_chat_run` stops a run cooperatively: its LLM step polls the run and returns what was shown, unstarted tools are skipped, the reply is saved `stopped`, and the watchdog cancels a run still stopping after `runs.stop_grace_s`. Generated UI: the `show_ui` tool (`chatUi`) is checked against `config/chat_genui_catalog.json` (`services/genui/spec.py`; refused with every reason so the model retries), saved as a run part, streamed as `activity.*` RFC 6902 patches and sealed into the reply (`services/chat/parts.py`); `chat_ui_state` keeps what the owner set, and a button press comes back as `send_chat_message{ui_event}` -> a `[ui-event]` turn. The answering agent's system prompt ends with a fixed guide (`services/chat/guide.py`), what the owner set reaches its next turn as a `[ui-state]` note (`chat_notes`, `services/chat/notes.py`: claimed by the payload, told when the run answered), a trailing `<followups>` block becomes `parts.followups`, and a `chat_sources` tool's results are numbered per conversation for `[n]` citations (`services/chat/sources.py`). Approvals (`services/approvals/`, its own section): a plugin's `approval` spec marks a tool call that sends; while the workflow asks first it is held as a `tool_call` draft, shown as a card on the reply that made it, sent once after the Undo window by `ApprovedToolCallWorkflow`, with the outcome told to the employee as an `[update]` note. Branches (`services/chat/branches.py`): `get_chat_messages` returns the path to the thread's active leaf, each message with its versions (`siblings`), `editable` and the owner's rating; `edit_chat_message` / `regenerate_chat_reply` / `switch_chat_branch` move the path in one reserved transaction under the conversation store's lock, taking each agent's stored conversation back to the cursor its run recorded at `prepare_payload` (`chat_runs.context_cursors`) or restoring the branch's kept copy (`chat_branch_snapshots`), refused on `revision_conflict`, `run_in_progress`, `cannot_rewind`, `branch_unavailable` or `older_generation`; `set_chat_feedback` keeps a rating and tells the next turn (`[feedback]` note). Attachments (`services/chat/attachments.py`): the chat uploads files under `uploads/` and sends only their paths, the server rebuilds each reference from the file (refusing anything else, at most six), the answering agent reads an `[attachments]` line and images ride the opening user message for a provider with `vision.user_images`; `options.web: false` drops the `search` tools for that run; Home's model picker (`services/chat/choice.py`, `get_chat_models`) sends `options.model` / `options.effort`, resolved at admission (Auto = the owner's default model; refused with `model_unavailable`, never swapped) and applied only to the answering agent, effort only to a provider's `effort_models`; `get_chat_context` gives slash commands (generic plus the apps' `commands`) and capabilities; dictation is the speech plugin's `dictation_status` / `transcribe_audio`. Lists every event, handler, part and error code (among them `engine_unavailable`: with Temporal not connected a workflow's chat saves nothing, since nothing could deliver it). |
| **[Theme System](./docs-internal/theme_system.md)** | Three themes — the base `light` and `dark` plus one stylized skin, `atomic` (the design handoff's nine other skins were removed on 2026-10-12) — driven by `<html data-theme>` + per-theme CSS files in `client/src/themes/`. Home, the editor and the sign-in screen all show the chosen theme, and one theme button ([components/ui/ThemeButton.tsx](./client/src/components/ui/ThemeButton.tsx)) in the Home header, the editor's toolbar and the sign-in screen steps Light → Dark → Atomic (`cycleTheme`; every theme name comes from `THEME_LABEL` in `ThemeContext.tsx`). Token taxonomy (surface / fg / border / accent / typography / motion) in **hex + `color-mix()`**; `@theme inline` bridge maps `--color-X: var(--X)` (no `hsl()` wrapper); per-theme files own the colour hex, base.css owns the shared `--tint-*` alpha scale; action role tokens (incl. `-ink` readable text), **per-theme `--code-*` syntax tokens** (tier 6 — the code editor, console/output JSON viewers, and chat code blocks paint in each theme's own palette: keyword→trigger, string→success, number→agent, function→model, on an adaptive dark/light code surface; replaced the global dracula `--prism-*` block + dead `getPrismTokenCSS`; the `OutputPanel` JSON viewer reads the same vars), the `--pulse-keyframe` animation system + `.opencompany-*` helpers in `animations.css`, per-component decoration hooks (`.canvas-host`, `.toolbar`, `.sq-node`, …; Atomic's panel edges, starburst canvas and node styling), **canvas-node visual contract via `--node-color` CSS custom property** (no inline `background` / `border` on node components — base.css + per-theme CSS owns visuals; `NodeStyle` helper type at [types/NodeTypes.ts](./client/src/types/NodeTypes.ts) makes the inline custom-prop typecheck-clean), **`--node-pulse-color` separate from `--node-color`** so executing-node glow uses each theme's highest-contrast accent regardless of plugin accent, **`data-page-hidden` animation pause** (set by `app/usePageActivitySync.ts`, mounted in `App.tsx` above the sign-in gate so it covers every screen, while the page is hidden per the Page Visibility API, never merely because the window lost focus; base.css declares `html[data-page-hidden] *, *::before, *::after { animation-play-state: paused !important }` to prevent compositor stall on tab return), **per-theme icon glyphs** (Atomic's 29 inline SVG glyphs in [themedGlyphs.ts](./client/src/assets/icons/themedGlyphs.ts), read by theme-aware [NodeIcon.tsx](./client/src/assets/icons/NodeIcon.tsx)), **per-theme canvas-grid + custom cursors** via `--canvas-grid` / `--cursor-default` slots, **parameter panel migrated to Tailwind tokens** (no `useAppTheme()` reads; section headers carry the display-typography triplet; raw `<Button>` swapped to `<ActionButton intent>`), scrollbars from the global token rules plus Atomic's own, 9-event WebAudio sound system (3 packs — parchment, terminal, vibraphone — via `--sound-pack` token + `useSound()` hook + global hover delegate + sonner toast monkey-patch + `withSound()` HOC + `Sounds.unlock()` gesture-unlock for AudioContext autoplay-policy compliance), `@media (prefers-reduced-motion: reduce)` accessibility, 30 ms throttle on `type` / `hover`, migration recipe, anti-patterns. Read this before adding a new theme, migrating a component to the new contract, or adding a canvas-node component. |
-| **[Design System Bundle](./docs-internal/design-system/IMPLEMENTATION.md)** | Canonical, vendored design-system reference (extracted from this repo; see its `IMPLEMENTATION.md` for the contract). Tokens are **hex + `color-mix()`** (`tokens/{colors,typography,spacing,motion,fonts,base}.css`) — the format the live codebase standardizes on. Includes 34 reference components (`components/`, inline-style reference only — recreate in Tailwind/shadcn idioms), full-app UI kit (`ui_kits/opencompany/index.html`), 12-theme docs (`guidelines/THEMES.md`), **the merged handoff brief (`HANDOFF.md` — glow-ladder traps, step-edge contract, toolbar layout traps, canvas-layer asymmetries, plus the recorded product amendments)**, and **the panel×theme fidelity target (`reference-mockup/Panel Theme Matrix.dc.html` — 17 panels × 12 themes, open in a browser)**. `reference/themes/` no longer vendors CSS snapshots — it points at the authoritative [client/src/themes/](./client/src/themes/). Copy token values verbatim; do not re-derive by eye. Pairs with [Theme System](./docs-internal/theme_system.md). |
+| **[Design System Bundle](./docs-internal/design-system/IMPLEMENTATION.md)** | Canonical, vendored design-system reference (extracted from this repo; see its `IMPLEMENTATION.md` for the contract). Tokens are **hex + `color-mix()`** (`tokens/{colors,typography,spacing,motion,fonts,base}.css`) — the format the live codebase standardizes on. Includes 34 reference components (`components/`, inline-style reference only — recreate in Tailwind/shadcn idioms), full-app UI kit (`ui_kits/opencompany/index.html`), theme docs (`guidelines/THEMES.md`), **the merged handoff brief (`HANDOFF.md` — glow-ladder traps, step-edge contract, toolbar layout traps, canvas-layer asymmetries, plus the recorded product amendments)**, and **the panel×theme fidelity target (`reference-mockup/Panel Theme Matrix.dc.html` — 17 panels × 3 themes, open in a browser)**. `reference/themes/` no longer vendors CSS snapshots — it points at the authoritative [client/src/themes/](./client/src/themes/). Copy token values verbatim; do not re-derive by eye. Pairs with [Theme System](./docs-internal/theme_system.md). |
| **[Schema Source of Truth RFC](./docs-internal/ARCHIVE/schema_source_of_truth_rfc.md)** | *Archived — shipped.* Backend is SSOT for node schemas, visual metadata, handlers, palette metadata, icons; `VITE_NODESPEC_BACKEND` defaults on and the frontend node definitions are gone. Plugin pattern: one `BaseNode` subclass in `server/nodes/<group>/<plugin>/__init__.py`. Wire format: `asset:<key>` / `<lib>:<brand>` / URL / emoji. Endpoint: `/api/schemas/nodes/{type}/spec.json`. Current reference: [Plugin System](./docs-internal/plugin_system.md). |
| **[Plugin System (Wave 11)](./docs-internal/plugin_system.md)** | Class-based plugin-first architecture. `BaseNode` / `ActionNode` / `TriggerNode` / `ToolNode` + `@Operation` decorator. Pydantic `Params`/`Output`. Declarative `Routing` DSL + `Connection` facade (Nango pattern; `request()` supports `json` / `data` / `files` — the last for multipart uploads, threaded through the auth-retry rebuild). `Credential` subclasses live in each node folder's `_credentials.py` (or inline for single-use); live count via `len(services.plugin.credential.CREDENTIAL_REGISTRY)` — do not hand-maintain a number here. `TaskQueue` constants route to Temporal worker pools. Plugins live across 9 queues (live plugin count via `len(services.node_registry.NODE_METADATA)`; a bare `__init__.py` glob overcounts by also matching group packages); handler bodies fully inlined (`services/handlers/` shrank 12.8K → 1.1K LOC across 16 → 4 files; only cross-cutting orchestration remains: `tools.py` AI-tool dispatch + agent delegation, `triggers.py` generic trigger-node handler, `todo.py` writeTodos shim — `google_auth.py` was retired into `nodes/google/_auth_helper.py`). **Wave 11.H added "self-contained plugin folders"** — generic registries (live list via `grep -rn '^def register_' server/services server/core`; the plugin-facing ones are `ws_handler_registry.{register_ws_handlers,register_router,register_option_loader,register_oauth_callback_path}`, `event_waiter.{register_filter_builder,register_trigger_precheck}`, `status_broadcaster.register_service_refresh`, `node_output_schemas.register_output_schema`, `edge_walker.{register_agent_context_builder,register_master_skill_expander}`, `register_webhook_source`, `register_canary_trigger_type`, `register_poll_coroutine_factory`, `register_social_send_handler`, `register_shutdown_hook`, `register_service_factory`, `register_log_source_tag`, `register_conversation_listener`) so rich plugins like telegram own their entire surface area without core-services edits. |
| **[Nodes Cookbook](./server/nodes/README.md)** | 5-minute recipe + folder map + shared helpers (`_base.py` / `_inline.py` per domain) + shared credentials + **canonical folder-per-plugin shape (telegram is the reference implementation)** + contract invariants + common pitfalls. Lives next to the plugin files. |
diff --git a/docs-internal/design-system/CLAUDE.md b/docs-internal/design-system/CLAUDE.md
index c1ab840e..c6e8c4a6 100644
--- a/docs-internal/design-system/CLAUDE.md
+++ b/docs-internal/design-system/CLAUDE.md
@@ -1,4 +1,4 @@
# Project instructions
-- Use properly readable fonts in all designs. Decorative/display theme fonts (UnifrakturCook, Pirata One, Major Mono Display, IM Fell English SC, etc.) may appear only as small specimens when documenting a theme — never on UI copy, buttons, labels, headings, or body text. UI copy always uses the readable stack: Geist for words, JetBrains Mono for machine voice, or each theme's readable body font.
+- Use properly readable fonts in all designs. Decorative/display theme fonts (blackletter, stencil or pixel faces, for example) may appear only as small specimens when documenting a theme — never on UI copy, buttons, labels, headings, or body text. UI copy always uses the readable stack: Geist for words, JetBrains Mono for machine voice, or each theme's readable body font.
- Avoid hard-to-read styles generally: no extreme letter-spacing on long text, no low-contrast text on tinted fills.
diff --git a/docs-internal/design-system/HANDOFF.md b/docs-internal/design-system/HANDOFF.md
index 2c3e6138..5bf2d6f2 100644
--- a/docs-internal/design-system/HANDOFF.md
+++ b/docs-internal/design-system/HANDOFF.md
@@ -1,4 +1,4 @@
-# Handoff: OpenCompany Theme System (12 themes × 17 panels)
+# Handoff: OpenCompany Theme System (3 themes × 17 panels)
> **Merged copy (2026-08)** — this is the handoff brief from the external
> `design_handoff_theme_system/` bundle, merged into
@@ -24,9 +24,9 @@
> `--pulse-duration` token drives both node families (the mockup's
> synthesized 1.5s square-node duration and its `--accent-text-mix`
> variable are mockup-only inventions, not product tokens).
-> 2. **Fonts: legibility substitutions ADOPTED.** Cyber ships Space Mono
-> and Plague ships Cinzel as their display faces (see §Legibility note
-> below — the recommendation was taken).
+> 2. **Fonts: legibility substitutions ADOPTED.** Cyber shipped Space Mono
+> and Plague shipped Cinzel as their display faces. No longer applies:
+> both skins were removed (amendment 7).
> 3. **Toolbar: the one shrinkable group is the workflow-name chip.**
> The live toolbar has no wordmark; long workflow names are the real
> overflow source, so the name chip carries `min-w-0 flex-1 truncate`
@@ -45,14 +45,20 @@
> greek, edo, steampunk, atomic, wasteland, rot, plague, surveillance);
> only Light and Dark fall through to lucide. The "eight themes" claim
> later in this brief is stale.
+> 7. **Nine skins removed (2026-10-12).** The product ships Light, Dark and
+> Atomic only; Renaissance, Greek, Edo, Steampunk, Cyber, Wasteland, Rot,
+> Plague and Surveillance were removed, with their glyph sets (only
+> Atomic's remain of amendment 6). Home, the editor and the sign-in screen
+> all show the chosen theme. The theme lists below are trimmed to the
+> three; the rest of the brief is unchanged.
## Overview
-OpenCompany is a desktop workflow canvas for building agent workflows. It ships **12 complete visual themes** — two neutral base themes plus ten "world" skins (Renaissance, Greek, Edo, Steampunk, Atomic, Cyber, Wasteland, Rot, Plague, Surveillance). Every theme reskins the *entire* application: surfaces, type (a different display/body/mono trio per theme), radii, iconography, canvas background texture, and motion.
+OpenCompany is a desktop workflow canvas for building agent workflows. It ships **3 visual themes** — two neutral base themes plus one "world" skin, Atomic (the brief was written for twelve; see amendment 7). Every theme reskins the *entire* application: surfaces, type (a different display/body/mono trio per theme), radii, iconography, canvas background texture, and motion.
This bundle contains the design system's real source files plus a working reference mockup that renders **every panel in every theme on one canvas**, so you can diff your implementation against the intended result panel-by-panel.
-The theming architecture is the whole point: a component is written **once**, against tokens, and picks up all 12 skins for free. If you find yourself writing `if (theme === 'cyber')` in a component, the token layer is missing something — add the token instead.
+The theming architecture is the whole point: a component is written **once**, against tokens, and picks up every theme for free. If you find yourself writing `if (theme === 'atomic')` in a component, the token layer is missing something — add the token instead.
## About the Design Files
@@ -94,7 +100,7 @@ design_handoff_theme_system/
token usage — worth wiring into CI).
```
-**Read in this order:** `tokens/*.css` → `guidelines/THEMES.md` → `themes/base.css` → one theme file (`themes/cyber.css` is the most extreme) → `components/*/**.prompt.md` for whatever you're building.
+**Read in this order:** `tokens/*.css` → `guidelines/THEMES.md` → `themes/base.css` → one theme file (`themes/atomic.css`, the one skin) → `components/*/**.prompt.md` for whatever you're building.
---
@@ -104,7 +110,7 @@ design_handoff_theme_system/
2. **`themes/base.css`** — the structural contract every theme must satisfy: which tokens exist, the node glow ladder, the canvas layer stack, motion defaults.
3. **`themes/<name>.css`** — one theme = one `[data-theme="x"]` block that re-declares the token set. Themes may add signature keyframes and ornament layers, but must not restyle components directly.
-Theme switching is a single attribute on `<html>`: `data-theme="cyber"`. Nothing else changes.
+Theme switching is a single attribute on `<html>`: `data-theme="atomic"`. Nothing else changes.
---
@@ -167,34 +173,23 @@ Every theme re-declares all five. A heading is written once as `font-family: var
### Spacing, radii, chrome
Space scale 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 (`--space-1`…`--space-8`).
-Radii `--radius-sm` 4 · `--radius-md` 6 · `--radius-lg` 8 · `--radius-xl` 12 · `--radius-node` 10 · `--radius-pill` 999. In the live app each theme overrides `--radius-sm/md/lg/pill` (Edo, Cyber, Wasteland, Plague and Surveillance go to 0; Greek keeps a 2px `--radius-lg`), but no theme overrides `--radius`, `--radius-xl` or `--radius-node`. The Tailwind `rounded-sm/md/lg/xl` utilities are computed from `--radius` in `index.css`, so they stay 4/6/8/12px in every theme; a skin's radii reach `rounded-pill`, the Home radii (`--radius-row|card|panel|draft|composer`) and any CSS that reads `var(--radius-*)` directly.
+Radii `--radius-sm` 4 · `--radius-md` 6 · `--radius-lg` 8 · `--radius-xl` 12 · `--radius-node` 10 · `--radius-pill` 999. In the live app each theme overrides `--radius-sm/md/lg/pill` (Atomic: 0 / 2 / 4px, pill 999), but no theme overrides `--radius`, `--radius-xl` or `--radius-node`. The Tailwind `rounded-sm/md/lg/xl` utilities are computed from `--radius` in `index.css`, so they stay 4/6/8/12px in every theme; a skin's radii reach `rounded-pill`, the Home radii (`--radius-row|card|panel|draft|composer`) and any CSS that reads `var(--radius-*)` directly.
Fixed chrome: `--h-toolbar` 48 · `--h-statusbar` 24 · `--h-control` 32 · `--w-sidebar` 280 · `--w-palette` 320.
### Shadows & motion
`--shadow-card`, `--shadow-card-hover`, `--shadow-modal` (all darker in dark mode).
`--dur-fast` 90ms · `--dur-default` 180ms · `--dur-slow` 320ms · `--ease-default` `cubic-bezier(.2,.7,.3,1)` · `--ease-emphasis` `cubic-bezier(.6,-.05,.3,1.4)`.
-**Themes override durations and easing, not just colors** — Cyber runs 60/120/240 with `steps()` glitch easing, Rot drifts at 140/320/680. Personality lives in the curve. See `guidelines/ANIMATIONS.md`.
+**Themes override durations and easing, not just colors** — Atomic runs 100/200/380 on a bouncy 1.6-overshoot curve. Personality lives in the curve. See `guidelines/ANIMATIONS.md`.
---
-## The 12 themes
+## The themes
| Theme | Family | Character | Display / Body / Mono |
|---|---|---|---|
| Light | base | grey-blue paper workspace | Geist / Geist / JetBrains Mono |
| Dark | base | neutral slate + Dracula neon | Geist / Geist / JetBrains Mono |
-| Renaissance | utopian | illuminated codex, gilded | Cinzel / Cormorant Garamond / IM Fell English |
-| Greek | utopian | sun-bleached marble agora | Cinzel / Cormorant Garamond / Courier Prime |
-| Edo | utopian | washi paper + sumi-e ink | Shippori Mincho ×2 / JetBrains Mono |
-| Steampunk | utopian | brass, copper, riveted leather | IM Fell English SC / IM Fell English / Special Elite |
-| Atomic | utopian | 1962 Eames optimism | Bevan / Lato / Space Mono |
-| Cyber | dystopian | Neuromancer night market | *see note* / JetBrains Mono ×2 |
-| Wasteland | dystopian | irradiated scrap metal | Special Elite ×2 / VT323 |
-| Rot | dystopian | moss-overgrown crypt | Pirata One / EB Garamond / JetBrains Mono |
-| Plague | dystopian | 1349 quarantine broadsheet | *see note* / EB Garamond / Special Elite |
-| Surveillance | dystopian | 1970s panopticon control room | Anonymous Pro / IBM Plex Mono ×2 |
-
-**Legibility note (a recommendation, not a spec change):** Cyber ships **Major Mono Display** and Plague ships **UnifrakturCook** as their display faces. Both are effectively unreadable at UI sizes — Major Mono renders lowercase as sparse scattered fragments at 13px, and blackletter under `uppercase` + `.06em` tracking is close to unparseable. The reference mockup substitutes **Space Mono** and **Cinzel** respectively, which hold the same voice and stay legible. Decide whether to carry that substitution into the product; if you keep the originals, restrict them to large headings only.
+| Atomic | skin | 1962 Eames optimism | Bevan / Lato / Space Mono |
---
@@ -216,7 +211,7 @@ Three traps, all of which I hit:
2. **A `box-shadow` keyframe overwrites any static `box-shadow` every frame.** So a `.node.selected` ring is invisible on an executing node. Don't combine the two states; pick one.
3. **An author `!important` hover shadow outranks a running animation and freezes the pulse.** Animated nodes must get **transform-only** hover; only static nodes get the hover shadow.
-Also: `--node-pulse-color` — not the node's own accent — drives the pulse, so it stays legible on Renaissance vellum and Cyber's near-black void alike. Status pips follow `data-status`: executing/waiting take the node color + a 6px halo and blink; success/error take their semantic token.
+Also: `--node-pulse-color` — not the node's own accent — drives the pulse, so it stays legible on every theme's canvas, light or dark. Status pips follow `data-status`: executing/waiting take the node color + a 6px halo and blink; success/error take their semantic token.
---
@@ -225,18 +220,14 @@ Also: `--node-pulse-color` — not the node's own accent — drives the pulse, s
Three stacked layers, bottom to top:
1. **`--bg-canvas`** — the base fill.
-2. **The `.canvas` gradient stack** — per-theme atmosphere (Renaissance's darkening vignette, Edo's sumi-e wash at 80%/90%, Atomic's five confetti dots, Steampunk's copper rivet-heads, Rot's two amber decay pools).
-3. **`--canvas-grid`** — the pattern. **Eight of the ten skins define this as an SVG data-url, not a gradient:** Greek's key meander (80px tile), Steampunk's rivets, Wasteland's cracks (200px), Renaissance's fleur-de-lis, Plague's quarantine X's (240px), Rot's lattice, Atomic's starburst (160px), Surveillance's CCTV corner brackets + centre reticle.
-
-Two asymmetries worth knowing, because they look like bugs: **Edo has no `--canvas-grid` at all** (only the wash), and **Greek, Plague, Wasteland and Surveillance have no gradient stack** (pattern straight over `--bg-canvas`). Don't invent the missing layer for symmetry.
-
-Cyber additionally overlays CRT scanlines and a rolling scan band; Surveillance's reticle arrives *inside* its grid SVG — don't draw a second one.
+2. **The `.canvas` gradient stack** — per-theme atmosphere (Atomic's five confetti dots).
+3. **`--canvas-grid`** — the pattern. Atomic defines it as an SVG data-url, not a gradient: its starburst (160px tile).
---
## Panels to implement (17)
-Each is in the reference mockup, rendered in all 12 themes.
+Each is in the reference mockup, rendered in all three themes.
| # | Panel | Size | Source |
|---|---|---|---|
@@ -266,12 +257,12 @@ Each is in the reference mockup, rendered in all 12 themes.
## Layout traps under themed typography
-The skins that use `uppercase` + wide tracking (Cyber at `.18em`, Greek at `.18em`, Renaissance/Steampunk/Wasteland/Surveillance at `.10em`) make **every label substantially wider** than in Light/Dark. Two consequences:
+Atomic's `uppercase` + `.06em` tracking makes **every label wider** than in Light/Dark. Two consequences:
-- **Pin your toolbar clusters.** The wordmark, workflow-name chip, mode toggle and action cluster all need `flex: none`; leave exactly one group (File/Edit/View) shrinkable. Without this the mode toggle collapses to a sliver in Cyber and Atomic.
-- **Test the widest theme, not the default.** Anything that fits in Light will overflow somewhere. Cyber and Greek are the stress cases.
+- **Pin your toolbar clusters.** The wordmark, workflow-name chip, mode toggle and action cluster all need `flex: none`; leave exactly one group (File/Edit/View) shrinkable. Without this the mode toggle collapses to a sliver in Atomic.
+- **Test the widest theme, not the default.** Anything that fits in Light can overflow in Atomic, the stress case.
-Also: canvas node icons are **36px** everywhere, and the size is a token, not a class — `theme.nodeSize.squareIcon` in `client/src/styles/theme.ts` (0.5625 x the 64px `nodeSize.square` box), passed to `NodeIcon` as `size=`; non-canvas surfaces use the `theme.iconSize.*` scale the same way. `NodeIcon` applies that one token as the box's width, height AND font size, so SVG, library and emoji icons all draw at the same edge. Never size an icon with Tailwind `h-*`/`text-*` classes: the theme type scale maps `text-3xl` to 44px, which is how emoji nodes once painted half again larger than every SVG-backed node beside them. Ten themes ship their own glyph set; only Light and Dark fall through to lucide.
+Also: canvas node icons are **36px** everywhere, and the size is a token, not a class — `theme.nodeSize.squareIcon` in `client/src/styles/theme.ts` (0.5625 x the 64px `nodeSize.square` box), passed to `NodeIcon` as `size=`; non-canvas surfaces use the `theme.iconSize.*` scale the same way. `NodeIcon` applies that one token as the box's width, height AND font size, so SVG, library and emoji icons all draw at the same edge. Never size an icon with Tailwind `h-*`/`text-*` classes: the theme type scale maps `text-3xl` to 44px, which is how emoji nodes once painted half again larger than every SVG-backed node beside them. Atomic ships its own glyph set; Light and Dark fall through to lucide.
---
@@ -291,11 +282,10 @@ Also: canvas node icons are **36px** everywhere, and the size is a token, not a
## Suggested implementation order
1. Wire the token layer + `themes/base.css`, get Light and Dark correct. **Do not move on until a component has zero hardcoded colors.**
-2. Add one extreme skin (Cyber) — it will expose every missing token, especially in type and radii.
+2. Add the skin (Atomic) — it will expose missing tokens, especially in type and radii.
3. Build the panels against tokens, checking each against the reference mockup.
4. Add the canvas: node glow ladder first, then step edges, then the background stack.
-5. Layer in the remaining nine themes — mostly declarative once steps 1–3 are honest.
-6. Wire `_source_docs/_adherence.oxlintrc.json` into CI to keep hardcoded values from creeping back.
+5. Wire `_source_docs/_adherence.oxlintrc.json` into CI to keep hardcoded values from creeping back.
## Assets
@@ -304,5 +294,5 @@ Also: canvas node icons are **36px** everywhere, and the size is a token, not a
## Files
-- `reference-mockup/Panel Theme Matrix.dc.html` — open in a browser. Left rail picks the panel; header filters by theme family (All 12 / Base 2 / Utopian 5 / Dystopian 5), zooms, and toggles motion. Interactions are shared across themes on purpose: type in one palette search or toggle one switch and all 12 respond, so you can compare the same state across skins.
+- `reference-mockup/Panel Theme Matrix.dc.html` — open in a browser. Left rail picks the panel; header zooms and toggles motion. Interactions are shared across themes on purpose: type in one palette search or toggle one switch and all three respond, so you can compare the same state across skins.
- `reference-mockup/support.js` — runtime for the above; keep it beside the HTML.
diff --git a/docs-internal/design-system/IMPLEMENTATION.md b/docs-internal/design-system/IMPLEMENTATION.md
index 6306e1ae..d47df35e 100644
--- a/docs-internal/design-system/IMPLEMENTATION.md
+++ b/docs-internal/design-system/IMPLEMENTATION.md
@@ -80,7 +80,7 @@ color: var(--action-run-ink); /* readable accent */
```
### Type
-`--font-display` / `--font-body` are `'Geist Variable'` on light and dark (display = body; `index.css` also fixes `--font-sans` to the same stack) · `--font-mono` (counts, state, timestamps — the "machine voice"): the live light / dark themes use the system mono stack `ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace` (`client/src/themes/light.css`, `dark.css`). JetBrains Mono appears only in skins: it is the mono font of Cyber, Edo and Rot, Cyber's body font, and the fallback after Space Mono in Atomic's mono and Cyber's display stacks. This bundle's `tokens/typography.css` still leads with `'JetBrains Mono'` — the live theme files win.
+`--font-display` / `--font-body` are `'Geist Variable'` on light and dark (display = body; `index.css` also fixes `--font-sans` to the same stack) · `--font-mono` (counts, state, timestamps — the "machine voice"): the live light / dark themes use the system mono stack `ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace` (`client/src/themes/light.css`, `dark.css`). JetBrains Mono appears only as the fallback after Space Mono in Atomic's mono stack (the app no longer loads it). This bundle's `tokens/typography.css` still leads with `'JetBrains Mono'` — the live theme files win.
Scale (14px base, dense desktop): `--text-2xs 11` `--text-xs 12` `--text-sm 13` `--text-base 14` `--text-md 16` `--text-lg 18` `--text-xl 24` `--text-2xl 32` `--text-3xl 44`.
Weights: 400 body / 500 UI labels / 600 headings & buttons. Sentence case; uppercase + `--tracking-label .04em` only in the status bar and micro-labels.
@@ -94,7 +94,7 @@ Fixed chrome: `--h-toolbar 48` `--h-statusbar 24` `--h-control 32` `--w-sidebar
`--dur-fast 90ms` `--dur-default 180ms` `--dur-slow 320ms` · `--ease-default cubic-bezier(.2,.7,.3,1)` · `--ease-emphasis cubic-bezier(.6,-.05,.3,1.4)`. Hover lifts -1px; press translates +1px; disabled opacity .5. Honor `prefers-reduced-motion`.
### Motion / animation (`tokens/animations.css` — see §6)
-Motion is theme-scoped: each `[data-theme]` overrides `--dur-*`, `--ease-default`, a named `--motion-style`, and which executing-pulse keyframe it uses. The glow color is **`--node-pulse-color`** — a theme-chosen contrast accent, never the node's own fill. Signature keyframes: `node-pulse` (default 3-layer glow), `trigger-listening` (armed heartbeat), `cyber-*` (steps strobe + CRT + scanline), `surv-*`, `ren-pulse-exec`. Helper classes: `.opencompany-pulse`, `.opencompany-trigger-armed`, `.opencompany-bolt`, `.opencompany-crt`, `.opencompany-scanline`.
+Motion is theme-scoped: each `[data-theme]` overrides `--dur-*`, `--ease-default`, a named `--motion-style`, and which executing-pulse keyframe it uses. The glow color is **`--node-pulse-color`** — a theme-chosen contrast accent, never the node's own fill. Signature keyframes: `node-pulse` (default 3-layer glow) and `trigger-listening` (armed heartbeat). Helper classes: `.opencompany-pulse`, `.opencompany-trigger-armed`, `.opencompany-bolt`.
---
@@ -136,17 +136,16 @@ Layout contract: fixed 48px toolbar + 24px status bar top/bottom; 280px sidebar
## 5. Theming beyond light/dark
-The real app ships **12 themes** (light, dark + 10 "skins": Renaissance, Greek, Edo, Steampunk, Atomic, Cyber, Wasteland, Rot, Plague, Surveillance). Only light/dark are encoded as live token scopes here. The architecture, per-theme token tables, and porting recipe are in `guidelines/THEMES.md`; the authoritative theme CSS lives in `client/src/themes/` (the `reference/themes/` snapshots were retired — see its README). To add a skin: copy its token block into a `[data-theme="X"]` scope, map its accents onto the action/node role triplets, and load its fonts. **Readability rule:** decorative display faces (blackletter, Major Mono, etc.) are documentation specimens only — UI copy always uses a readable body font; the product ships Space Mono (Cyber) and Cinzel (Plague) as display faces per the HANDOFF.md legibility substitutions.
+The real app ships **3 themes**: light, dark and one "skin", Atomic (the other nine skins — Renaissance, Greek, Edo, Steampunk, Cyber, Wasteland, Rot, Plague, Surveillance — were removed on 2026-10-12). Only light/dark are encoded as live token scopes here. The architecture, per-theme token tables, and porting recipe are in `guidelines/THEMES.md`; the authoritative theme CSS lives in `client/src/themes/` (the `reference/themes/` snapshots were retired — see its README). To add a skin: copy its token block into a `[data-theme="X"]` scope, map its accents onto the action/node role triplets, and load its fonts. **Readability rule:** decorative display faces are documentation specimens only — UI copy always uses a readable body font.
-Visual verification pages (open in a browser): `guidelines/theme-comparison-full.html` (full screen ×12), `guidelines/panels-all-themes.html` (every panel — chrome + overlays — ×12), `guidelines/theme-matrix.html` (token matrix), `guidelines/animations-all-themes.html` (live motion ×12).
+Visual verification (open in a browser): `reference-mockup/Panel Theme Matrix.dc.html` — every panel in the three themes.
## 5b. Motion & animation (`tokens/animations.css` · `guidelines/ANIMATIONS.md`)
-Motion is part of each theme's identity — the personality lives in the **easing function**, not just duration (smooth · organic · mechanical · bouncy 1.6-overshoot · steps glitch · jittery · 680ms drift · stiff · linear scanline). Per-`[data-theme]` scopes set `--dur-*`, `--ease-*`, `--motion-style`, and `--pulse-keyframe/-duration/-timing`.
+Motion is part of each theme's identity — the personality lives in the **easing function**, not just duration (smooth for light and dark, bouncy 1.6-overshoot for Atomic). Per-`[data-theme]` scopes set `--dur-*`, `--ease-*`, `--motion-style`, and `--pulse-keyframe/-duration/-timing`.
- **Executing pulse:** add `.opencompany-pulse` to a running node; it reads the theme's keyframe + `--node-pulse-color` (the theme's contrast glow color — set it on/above the node).
- **Trigger nodes:** `.opencompany-trigger-armed` is the continuous "listening" heartbeat while a trigger waits for events (distinct from the one-shot execution pulse); pair with the lightning ⚡ badge (`.opencompany-bolt`) and no input handle. `trigger-fire` flashes when an event lands.
-- **Ambient:** `.opencompany-crt` (CRT flicker) + `.opencompany-scanline` (rolling band) for Cyber/Surveillance frames.
- All loops stop under `prefers-reduced-motion`; always ship the static end-state so print/PDF render meaningfully.
---
@@ -162,10 +161,10 @@ Second person, possessive ("your own AI assistant"). Terse declarative fragments
- `styles.css` — global entry (import this). `tokens/` — the seven token files including `animations.css` (ship as-is).
- `components/<group>/` — 34 components (`.jsx` + `.d.ts` + `.prompt.md`; SettingsRow ships inside SettingsSection.jsx) + one `*.card.html` specimen per group.
- `ui_kits/opencompany/` — interactive full-app recreation (`index.html` + JSX) incl. Settings / Credentials / Node-Config panels.
-- `guidelines/` — foundation specimen cards, `THEMES.md`, `ANIMATIONS.md`, and the theme/panel/animation comparison pages.
+- `guidelines/` — foundation specimen cards, `THEMES.md` and `ANIMATIONS.md`.
- `reference/themes/` — pointer README only; the snapshots went stale (pre-hex-migration) and were retired in favor of the live `client/src/themes/`.
- `HANDOFF.md` — the merged design-handoff brief (glow ladder + traps, step-edge contract, toolbar layout traps, canvas-layer asymmetries) with recorded product amendments.
-- `reference-mockup/` — the 17-panel × 12-theme fidelity target (`Panel Theme Matrix.dc.html`, open in a browser).
+- `reference-mockup/` — the 17-panel × 3-theme fidelity target (`Panel Theme Matrix.dc.html`, open in a browser).
- `assets/` — product screenshot + official architecture diagrams (SVG).
- `readme.md` — design guide (voice, visual foundations, iconography). `SKILL.md` — Agent-Skill entry point.
diff --git a/docs-internal/design-system/_ds_bundle.js b/docs-internal/design-system/_ds_bundle.js
index ef1e2a25..46e40498 100644
--- a/docs-internal/design-system/_ds_bundle.js
+++ b/docs-internal/design-system/_ds_bundle.js
@@ -4129,7 +4129,7 @@ function SettingsModal({
tone: "tool"
}, /*#__PURE__*/React.createElement(SettingsRow, {
label: "Sound Effects",
- description: "Play per-theme click / hover / save / error sounds. Each theme ships a different pack (parchment, terminal, marble, ink, clockwork, ...)"
+ description: "Play per-theme click / hover / save / error sounds. Each theme has its own pack (parchment for Light, terminal for Dark, vibraphone for Atomic)"
}, /*#__PURE__*/React.createElement(Switch, {
defaultChecked: true
}))), /*#__PURE__*/React.createElement(SettingsSection, {
diff --git a/docs-internal/design-system/_ds_manifest.json b/docs-internal/design-system/_ds_manifest.json
index f98af0e0..deaeec7e 100644
--- a/docs-internal/design-system/_ds_manifest.json
+++ b/docs-internal/design-system/_ds_manifest.json
@@ -1 +1 @@
-{"namespace":"OpenCompanyDesignSystem_2559cf","components":[{"name":"ActionButton","sourcePath":"components/buttons/ActionButton.jsx"},{"name":"Button","sourcePath":"components/buttons/Button.jsx"},{"name":"ComponentItem","sourcePath":"components/canvas/ComponentItem.jsx"},{"name":"ModeToggle","sourcePath":"components/canvas/ModeToggle.jsx"},{"name":"SquareNode","sourcePath":"components/canvas/SquareNode.jsx"},{"name":"StatusBar","sourcePath":"components/canvas/StatusBar.jsx"},{"name":"WorkflowCard","sourcePath":"components/canvas/WorkflowCard.jsx"},{"name":"Avatar","sourcePath":"components/display/Avatar.jsx"},{"name":"Badge","sourcePath":"components/display/Badge.jsx"},{"name":"Card","sourcePath":"components/display/Card.jsx"},{"name":"ChatBubble","sourcePath":"components/display/ChatBubble.jsx"},{"name":"Kbd","sourcePath":"components/display/Kbd.jsx"},{"name":"LogLine","sourcePath":"components/display/LogLine.jsx"},{"name":"Tabs","sourcePath":"components/display/Tabs.jsx"},{"name":"EmptyState","sourcePath":"components/feedback/EmptyState.jsx"},{"name":"Modal","sourcePath":"components/feedback/Modal.jsx"},{"name":"Progress","sourcePath":"components/feedback/Progress.jsx"},{"name":"Spinner","sourcePath":"components/feedback/Spinner.jsx"},{"name":"Toast","sourcePath":"components/feedback/Toast.jsx"},{"name":"Tooltip","sourcePath":"components/feedback/Tooltip.jsx"},{"name":"ApiKeyInput","sourcePath":"components/forms/ApiKeyInput.jsx"},{"name":"Checkbox","sourcePath":"components/forms/Checkbox.jsx"},{"name":"Input","sourcePath":"components/forms/Input.jsx"},{"name":"RadioGroup","sourcePath":"components/forms/RadioGroup.jsx"},{"name":"Select","sourcePath":"components/forms/Select.jsx"},{"name":"Slider","sourcePath":"components/forms/Slider.jsx"},{"name":"Switch","sourcePath":"components/forms/Switch.jsx"},{"name":"Textarea","sourcePath":"components/forms/Textarea.jsx"},{"name":"Icon","sourcePath":"components/icons/Icon.jsx"},{"name":"CollapsibleSection","sourcePath":"components/panels/CollapsibleSection.jsx"},{"name":"DataCard","sourcePath":"components/panels/DataCard.jsx"},{"name":"PanelModal","sourcePath":"components/panels/PanelModal.jsx"},{"name":"SettingsSection","sourcePath":"components/panels/SettingsSection.jsx"},{"name":"SettingsRow","sourcePath":"components/panels/SettingsSection.jsx"}],"startingPoints":[{"name":"SquareNode","path":"components/canvas/SquareNode.jsx","previewPath":"components/canvas/canvas.card.html","kind":"component","section":"Canvas","subtitle":"Workflow canvas node with pip, gear and handles","viewport":"700x220"},{"name":"ActionButton","path":"components/buttons/ActionButton.jsx","previewPath":"components/buttons/buttons.card.html","kind":"component","section":"Components","subtitle":"Soft tinted toolbar button with six semantic intents","viewport":"700x180"}],"cards":[{"path":"guidelines/animations-all-themes.html","group":"Brand","viewport":"1280x860","subtitle":"Live motion per theme: executing pulse, easing character, pip blink, hover lift, ambient CRT/scanline","name":"Animations — All Themes"},{"path":"guidelines/canvas-pattern.html","group":"Brand","viewport":"700x190","subtitle":"Canvas texture — dot grid + dashed accent edges between node handles","name":"Canvas Pattern"},{"path":"guidelines/panels-all-themes.html","group":"Brand","viewport":"1320x900","subtitle":"Every panel — toolbar, sidebar, palette, console, status bar, Node Config, Settings, Credentials — in all 12 themes","name":"Panels × Themes"},{"path":"guidelines/product-reference.html","group":"Brand","viewport":"700x300","subtitle":"Real product — dark canvas, neon nodes, WhatsApp automation","name":"Product Reference"},{"path":"guidelines/theme-comparison-full.html","group":"Brand","viewport":"1320x880","subtitle":"Full app screen + component strip in all 12 themes","name":"Theme Comparison — Full"},{"path":"guidelines/theme-comparison.html","group":"Brand","viewport":"1280x900","subtitle":"Same app screen rendered in all 12 themes — single file","name":"Theme Comparison"},{"path":"guidelines/theme-matrix.html","group":"Brand","viewport":"1100x720","subtitle":"All 12 product themes — surfaces, accents, type, radii, motion","name":"Theme Matrix"},{"path":"guidelines/wordmark.html","group":"Brand","viewport":"700x150","subtitle":"Open Council mark + outlined Newsreader wordmark, one colour (--fg-default)","name":"Wordmark"},{"path":"guidelines/action-intents.html","group":"Colors","viewport":"700x150","subtitle":"Six toolbar intents — soft tint fill, tinted border, accent text","name":"Action Intents"},{"path":"guidelines/dracula-accents.html","group":"Colors","viewport":"700x150","subtitle":"Vibrant accents — identical in light & dark, used as soft tints","name":"Dracula Accents"},{"path":"guidelines/node-roles.html","group":"Colors","viewport":"700x170","subtitle":"Canvas node role colors — 8% soft fill, 30% border, full-strength accents","name":"Node Roles"},{"path":"guidelines/semantic-status.html","group":"Colors","viewport":"700x150","subtitle":"Status colors — Solarized in dark, deeper hues in light","name":"Semantic Status"},{"path":"guidelines/surfaces-dark.html","group":"Colors","viewport":"700x150","subtitle":"Solarized dark surfaces — the signature look","name":"Surfaces — Dark"},{"path":"guidelines/surfaces-light.html","group":"Colors","viewport":"700x150","subtitle":"Light structural surfaces & foreground","name":"Surfaces — Light"},{"path":"components/buttons/buttons.card.html","group":"Components","viewport":"700x240","subtitle":"ActionButton intents + Button variants","name":"Buttons"},{"path":"components/canvas/canvas.card.html","group":"Components","viewport":"700x330","subtitle":"SquareNode states, ComponentItem, WorkflowCard, ModeToggle, StatusBar","name":"Canvas"},{"path":"components/display/display.card.html","group":"Components","viewport":"700x430","subtitle":"Badge, Card, Tabs, Avatar, Kbd, LogLine, ChatBubble","name":"Display"},{"path":"components/feedback/feedback.card.html","group":"Components","viewport":"700x420","subtitle":"Modal, Toast, Tooltip, Spinner, Progress, EmptyState","name":"Feedback"},{"path":"components/forms/forms.card.html","group":"Components","viewport":"700x300","subtitle":"Input, Select, RadioGroup, Textarea, Switch, Checkbox","name":"Forms"},{"path":"components/icons/icons.card.html","group":"Components","viewport":"700x170","subtitle":"Lucide via Icon component — stroke 2, currentColor","name":"Icons"},{"path":"components/panels/panels.card.html","group":"Components","viewport":"700x620","subtitle":"PanelModal, SettingsSection, DataCard, CollapsibleSection, ApiKeyInput, Slider","name":"Panels"},{"path":"ui_kits/opencompany/index.html","group":"OpenCompany App","viewport":"1440x900","subtitle":"Interactive recreation — toolbar, sidebar, canvas, palette, console, status bar","name":"Workflow Canvas"},{"path":"guidelines/motion.html","group":"Spacing","viewport":"700x150","subtitle":"90 / 180 / 320ms · one smooth ease, one springy emphasis","name":"Motion"},{"path":"guidelines/radii.html","group":"Spacing","viewport":"700x150","subtitle":"Controls 8px · chips 4–6px · nodes 10–12px · pills 999px","name":"Radii"},{"path":"guidelines/shadows-glow.html","group":"Spacing","viewport":"700x170","subtitle":"Quiet chrome shadows; glow is reserved for meaning","name":"Shadows & Glow"},{"path":"guidelines/space-scale.html","group":"Spacing","viewport":"700x150","subtitle":"4 / 8 / 12 / 16 / 24 / 32 / 48 / 64","name":"Space Scale"},{"path":"guidelines/mono-usage.html","group":"Type","viewport":"700x150","subtitle":"Mono is the machine voice — counts, state, timestamps","name":"Mono Usage"},{"path":"guidelines/type-scale.html","group":"Type","viewport":"700x280","subtitle":"14px base — dense desktop scale","name":"Type Scale"},{"path":"guidelines/typeface-geist.html","group":"Type","viewport":"700x170","subtitle":"Geist — one family for display & body","name":"Typeface — Geist"}],"templates":[],"globalCssPaths":["tokens/fonts.css","tokens/colors.css","tokens/typography.css","tokens/spacing.css","tokens/base.css","tokens/motion.css","tokens/animations.css","styles.css"],"tokens":[{"name":"--bg-app","value":"#f5f7fa","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-panel","value":"#fafbfc","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-canvas","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-elevated","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-input","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-hover","value":"rgba(0, 0, 0, 0.04)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-active","value":"rgba(0, 0, 0, 0.06)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-overlay","value":"rgba(0, 0, 0, 0.45)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--surface-card","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-default","value":"#1a1d21","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-muted","value":"#4b5563","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-faint","value":"#9ca3af","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-on-accent","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--text-body","value":"var(--fg-default)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-muted","value":"var(--fg-muted)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--border-default","value":"#d1d5db","kind":"color","definedIn":"tokens/colors.css"},{"name":"--border-strong","value":"#9ca3af","kind":"color","definedIn":"tokens/colors.css"},{"name":"--border-focus","value":"#3b82f6","kind":"color","definedIn":"tokens/colors.css"},{"name":"--primary","value":"#2563eb","kind":"color","definedIn":"tokens/colors.css"},{"name":"--primary-foreground","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--accent","value":"#7c3aed","kind":"color","definedIn":"tokens/colors.css"},{"name":"--accent-foreground","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--destructive","value":"#dc2626","kind":"color","definedIn":"tokens/colors.css"},{"name":"--destructive-foreground","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--success","value":"#059669","kind":"color","definedIn":"tokens/colors.css"},{"name":"--warning","value":"#d97706","kind":"color","definedIn":"tokens/colors.css"},{"name":"--info","value":"#0891b2","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-green","value":"#50fa7b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-purple","value":"#bd93f9","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-pink","value":"#ff79c6","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-cyan","value":"#8be9fd","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-red","value":"#ff5555","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-orange","value":"#ffb86c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-yellow","value":"#f1fa8c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-selection","value":"#44475a","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-current-line","value":"#383a4a","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-comment","value":"#6272a4","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run","value":"var(--dracula-green)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-soft","value":"color-mix(in srgb, var(--dracula-green) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-hover","value":"color-mix(in srgb, var(--dracula-green) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-border","value":"color-mix(in srgb, var(--dracula-green) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop","value":"var(--dracula-pink)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-soft","value":"color-mix(in srgb, var(--dracula-pink) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-hover","value":"color-mix(in srgb, var(--dracula-pink) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-border","value":"color-mix(in srgb, var(--dracula-pink) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save","value":"var(--dracula-cyan)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-soft","value":"color-mix(in srgb, var(--dracula-cyan) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-hover","value":"color-mix(in srgb, var(--dracula-cyan) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-border","value":"color-mix(in srgb, var(--dracula-cyan) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config","value":"var(--dracula-orange)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-soft","value":"color-mix(in srgb, var(--dracula-orange) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-hover","value":"color-mix(in srgb, var(--dracula-orange) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-border","value":"color-mix(in srgb, var(--dracula-orange) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret","value":"var(--dracula-yellow)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-soft","value":"color-mix(in srgb, var(--dracula-yellow) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-hover","value":"color-mix(in srgb, var(--dracula-yellow) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-border","value":"color-mix(in srgb, var(--dracula-yellow) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools","value":"var(--dracula-purple)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-soft","value":"color-mix(in srgb, var(--dracula-purple) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-hover","value":"color-mix(in srgb, var(--dracula-purple) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-border","value":"color-mix(in srgb, var(--dracula-purple) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-ink","value":"#15803d","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-ink","value":"#be185d","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-ink","value":"#0e7490","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-ink","value":"#c2410c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-ink","value":"#a16207","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-ink","value":"#7c3aed","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-agent","value":"var(--dracula-purple)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-agent-soft","value":"color-mix(in srgb, var(--dracula-purple) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-agent-border","value":"color-mix(in srgb, var(--dracula-purple) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-model","value":"var(--dracula-cyan)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-model-soft","value":"color-mix(in srgb, var(--dracula-cyan) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-model-border","value":"color-mix(in srgb, var(--dracula-cyan) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-tool","value":"var(--dracula-green)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-tool-soft","value":"color-mix(in srgb, var(--dracula-green) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-tool-border","value":"color-mix(in srgb, var(--dracula-green) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-trigger","value":"var(--dracula-pink)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-trigger-soft","value":"color-mix(in srgb, var(--dracula-pink) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-trigger-border","value":"color-mix(in srgb, var(--dracula-pink) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-workflow","value":"var(--dracula-orange)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-workflow-soft","value":"color-mix(in srgb, var(--dracula-orange) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-workflow-border","value":"color-mix(in srgb, var(--dracula-orange) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-pulse-color","value":"var(--info)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--scrollbar-track","value":"#eef1f5","kind":"color","definedIn":"tokens/colors.css"},{"name":"--scrollbar-thumb","value":"#d1d5db","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-app","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-panel","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-canvas","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-elevated","value":"#0d1f2d","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-input","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-hover","value":"rgba(248, 248, 242, 0.06)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-active","value":"rgba(189, 147, 249, 0.18)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-overlay","value":"rgba(0, 0, 0, 0.7)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--surface-card","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-default","value":"#f8f8f2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-muted","value":"#94a8d6","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-faint","value":"#6272a4","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-on-accent","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--border-default","value":"#586e75","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--border-strong","value":"#93a1a1","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--border-focus","value":"#268bd2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--primary","value":"#268bd2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--primary-foreground","value":"#f8f8f2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--accent","value":"#8be9fd","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--accent-foreground","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--destructive","value":"#dc322f","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--destructive-foreground","value":"#f8f8f2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--success","value":"#859900","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--warning","value":"#b58900","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--info","value":"#2aa198","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-run-ink","value":"var(--dracula-green)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-stop-ink","value":"var(--dracula-pink)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-save-ink","value":"var(--dracula-cyan)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-config-ink","value":"var(--dracula-orange)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-secret-ink","value":"var(--dracula-yellow)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-tools-ink","value":"var(--dracula-purple)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--scrollbar-track","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--scrollbar-thumb","value":"#586e75","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--font-sans","value":"'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-display","value":"var(--font-sans)","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-body","value":"var(--font-sans)","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-mono","value":"'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace","kind":"font","definedIn":"tokens/typography.css"},{"name":"--type-scale-base","value":"14px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-2xs","value":"11px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-xs","value":"12px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-sm","value":"13px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-base","value":"14px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-md","value":"16px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-lg","value":"18px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-xl","value":"24px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-2xl","value":"32px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-3xl","value":"44px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-regular","value":"400","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-medium","value":"500","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-semibold","value":"600","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-bold","value":"700","kind":"font","definedIn":"tokens/typography.css"},{"name":"--type-uppercase","value":"none","kind":"font","definedIn":"tokens/typography.css"},{"name":"--type-tracking-display","value":"0","kind":"font","definedIn":"tokens/typography.css"},{"name":"--tracking-label","value":"0.04em","kind":"font","definedIn":"tokens/typography.css"},{"name":"--leading-tight","value":"1.2","kind":"font","definedIn":"tokens/typography.css"},{"name":"--leading-normal","value":"1.5","kind":"font","definedIn":"tokens/typography.css"},{"name":"--leading-relaxed","value":"1.65","kind":"font","definedIn":"tokens/typography.css"},{"name":"--space-1","value":"4px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-2","value":"8px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-3","value":"12px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-4","value":"16px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-5","value":"24px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-6","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-7","value":"48px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-8","value":"64px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--radius-sm","value":"4px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-md","value":"6px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-lg","value":"8px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-xl","value":"12px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-node","value":"10px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-pill","value":"999px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--h-toolbar","value":"48px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--h-statusbar","value":"24px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--h-control","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--w-sidebar","value":"280px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--w-palette","value":"320px","kind":"color","definedIn":"tokens/spacing.css"},{"name":"--shadow-card","value":"0 2px 8px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04)","kind":"shadow","definedIn":"tokens/spacing.css"},{"name":"--shadow-card-hover","value":"0 4px 14px rgb(0 0 0 / 0.10)","kind":"shadow","definedIn":"tokens/spacing.css"},{"name":"--shadow-modal","value":"0 12px 40px rgb(0 0 0 / 0.18)","kind":"shadow","definedIn":"tokens/spacing.css"},{"name":"--shadow-card","value":"0 4px 12px rgb(0 0 0 / 0.3)","kind":"shadow","definedIn":"tokens/spacing.css","scope":".dark"},{"name":"--shadow-card-hover","value":"0 6px 18px rgb(0 0 0 / 0.4)","kind":"shadow","definedIn":"tokens/spacing.css","scope":".dark"},{"name":"--shadow-modal","value":"0 16px 48px rgb(0 0 0 / 0.55)","kind":"shadow","definedIn":"tokens/spacing.css","scope":".dark"},{"name":"--dur-fast","value":"90ms","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--dur-default","value":"180ms","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--dur-slow","value":"320ms","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.2, 0.7, 0.3, 1)","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.6, -0.05, 0.3, 1.4)","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--motion-style","value":"smooth","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--pulse-keyframe","value":"node-pulse","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--pulse-duration","value":"1.4s","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--pulse-timing","value":"ease-in-out","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--dur-fast","value":"140ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--dur-default","value":"280ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--dur-slow","value":"520ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.4, 0, 0.2, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.7, -0.1, 0.3, 1.2)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--motion-style","value":"organic","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--pulse-keyframe","value":"ren-pulse-exec","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--pulse-duration","value":"2s","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--pulse-timing","value":"ease-in-out","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"renaissance\"]","annotation":"other"},{"name":"--dur-fast","value":"120ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"greek\"]","annotation":"other"},{"name":"--dur-default","value":"240ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"greek\"]","annotation":"other"},{"name":"--dur-slow","value":"460ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"greek\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.3, 0.7, 0.4, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"greek\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.6, -0.05, 0.3, 1.4)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"greek\"]","annotation":"other"},{"name":"--motion-style","value":"smooth","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"greek\"]","annotation":"other"},{"name":"--dur-fast","value":"90ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"edo\"]","annotation":"other"},{"name":"--dur-default","value":"220ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"edo\"]","annotation":"other"},{"name":"--dur-slow","value":"520ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"edo\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.4, 0, 0.2, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"edo\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.7, -0.1, 0.3, 1.2)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"edo\"]","annotation":"other"},{"name":"--motion-style","value":"organic","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"edo\"]","annotation":"other"},{"name":"--dur-fast","value":"110ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"steampunk\"]","annotation":"other"},{"name":"--dur-default","value":"240ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"steampunk\"]","annotation":"other"},{"name":"--dur-slow","value":"480ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"steampunk\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.5, 0, 0.4, 1.1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"steampunk\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.7, -0.1, 0.3, 1.2)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"steampunk\"]","annotation":"other"},{"name":"--motion-style","value":"mechanical","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"steampunk\"]","annotation":"other"},{"name":"--dur-fast","value":"100ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--dur-default","value":"200ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--dur-slow","value":"380ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.34, 1.6, 0.5, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.34, 1.6, 0.5, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--motion-style","value":"bouncy","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--dur-fast","value":"60ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--dur-default","value":"120ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--dur-slow","value":"240ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--ease-default","value":"steps(4, end)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--ease-emphasis","value":"steps(8, end)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--motion-style","value":"glitch","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--pulse-keyframe","value":"cyber-pulse-exec","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--pulse-duration","value":"1.6s","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--pulse-timing","value":"steps(2)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"cyber\"]","annotation":"other"},{"name":"--dur-fast","value":"60ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"wasteland\"]","annotation":"other"},{"name":"--dur-default","value":"180ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"wasteland\"]","annotation":"other"},{"name":"--dur-slow","value":"320ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"wasteland\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.6, 0, 0.4, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"wasteland\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.6, 0, 0.4, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"wasteland\"]","annotation":"other"},{"name":"--motion-style","value":"jittery","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"wasteland\"]","annotation":"other"},{"name":"--dur-fast","value":"140ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--dur-default","value":"320ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--dur-slow","value":"680ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.4, 0, 0.6, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.4, 0, 0.6, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--motion-style","value":"drift","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--pulse-duration","value":"2.2s","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"rot\"]","annotation":"other"},{"name":"--dur-fast","value":"100ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"plague\"]","annotation":"other"},{"name":"--dur-default","value":"220ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"plague\"]","annotation":"other"},{"name":"--dur-slow","value":"460ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"plague\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.4, 0, 0.6, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"plague\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.4, 0, 0.6, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"plague\"]","annotation":"other"},{"name":"--motion-style","value":"stiff","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"plague\"]","annotation":"other"},{"name":"--dur-fast","value":"60ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--dur-default","value":"140ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--dur-slow","value":"240ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--ease-default","value":"linear","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--ease-emphasis","value":"linear","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--motion-style","value":"scanline","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--pulse-keyframe","value":"surv-pulse-exec","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--pulse-duration","value":"1s","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"},{"name":"--pulse-timing","value":"steps(2)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"surveillance\"]","annotation":"other"}],"themes":[{"selector":".dark","label":"Dark"},{"selector":"[data-theme=\"renaissance\"]","label":"Renaissance"},{"selector":"[data-theme=\"greek\"]","label":"Greek"},{"selector":"[data-theme=\"edo\"]","label":"Edo"},{"selector":"[data-theme=\"steampunk\"]","label":"Steampunk"},{"selector":"[data-theme=\"atomic\"]","label":"Atomic"},{"selector":"[data-theme=\"cyber\"]","label":"Cyber"},{"selector":"[data-theme=\"wasteland\"]","label":"Wasteland"},{"selector":"[data-theme=\"rot\"]","label":"Rot"},{"selector":"[data-theme=\"plague\"]","label":"Plague"},{"selector":"[data-theme=\"surveillance\"]","label":"Surveillance"}],"fonts":[],"brandFonts":[{"family":"Geist","status":"ok","tokens":["--font-sans"],"path":"tokens/typography.css"},{"family":"JetBrains Mono","status":"ok","tokens":["--font-mono"],"path":"tokens/typography.css"}],"source":"spa"}
\ No newline at end of file
+{"namespace":"OpenCompanyDesignSystem_2559cf","components":[{"name":"ActionButton","sourcePath":"components/buttons/ActionButton.jsx"},{"name":"Button","sourcePath":"components/buttons/Button.jsx"},{"name":"ComponentItem","sourcePath":"components/canvas/ComponentItem.jsx"},{"name":"ModeToggle","sourcePath":"components/canvas/ModeToggle.jsx"},{"name":"SquareNode","sourcePath":"components/canvas/SquareNode.jsx"},{"name":"StatusBar","sourcePath":"components/canvas/StatusBar.jsx"},{"name":"WorkflowCard","sourcePath":"components/canvas/WorkflowCard.jsx"},{"name":"Avatar","sourcePath":"components/display/Avatar.jsx"},{"name":"Badge","sourcePath":"components/display/Badge.jsx"},{"name":"Card","sourcePath":"components/display/Card.jsx"},{"name":"ChatBubble","sourcePath":"components/display/ChatBubble.jsx"},{"name":"Kbd","sourcePath":"components/display/Kbd.jsx"},{"name":"LogLine","sourcePath":"components/display/LogLine.jsx"},{"name":"Tabs","sourcePath":"components/display/Tabs.jsx"},{"name":"EmptyState","sourcePath":"components/feedback/EmptyState.jsx"},{"name":"Modal","sourcePath":"components/feedback/Modal.jsx"},{"name":"Progress","sourcePath":"components/feedback/Progress.jsx"},{"name":"Spinner","sourcePath":"components/feedback/Spinner.jsx"},{"name":"Toast","sourcePath":"components/feedback/Toast.jsx"},{"name":"Tooltip","sourcePath":"components/feedback/Tooltip.jsx"},{"name":"ApiKeyInput","sourcePath":"components/forms/ApiKeyInput.jsx"},{"name":"Checkbox","sourcePath":"components/forms/Checkbox.jsx"},{"name":"Input","sourcePath":"components/forms/Input.jsx"},{"name":"RadioGroup","sourcePath":"components/forms/RadioGroup.jsx"},{"name":"Select","sourcePath":"components/forms/Select.jsx"},{"name":"Slider","sourcePath":"components/forms/Slider.jsx"},{"name":"Switch","sourcePath":"components/forms/Switch.jsx"},{"name":"Textarea","sourcePath":"components/forms/Textarea.jsx"},{"name":"Icon","sourcePath":"components/icons/Icon.jsx"},{"name":"CollapsibleSection","sourcePath":"components/panels/CollapsibleSection.jsx"},{"name":"DataCard","sourcePath":"components/panels/DataCard.jsx"},{"name":"PanelModal","sourcePath":"components/panels/PanelModal.jsx"},{"name":"SettingsSection","sourcePath":"components/panels/SettingsSection.jsx"},{"name":"SettingsRow","sourcePath":"components/panels/SettingsSection.jsx"}],"startingPoints":[{"name":"SquareNode","path":"components/canvas/SquareNode.jsx","previewPath":"components/canvas/canvas.card.html","kind":"component","section":"Canvas","subtitle":"Workflow canvas node with pip, gear and handles","viewport":"700x220"},{"name":"ActionButton","path":"components/buttons/ActionButton.jsx","previewPath":"components/buttons/buttons.card.html","kind":"component","section":"Components","subtitle":"Soft tinted toolbar button with six semantic intents","viewport":"700x180"}],"cards":[{"path":"guidelines/canvas-pattern.html","group":"Brand","viewport":"700x190","subtitle":"Canvas texture — dot grid + dashed accent edges between node handles","name":"Canvas Pattern"},{"path":"guidelines/product-reference.html","group":"Brand","viewport":"700x300","subtitle":"Real product — dark canvas, neon nodes, WhatsApp automation","name":"Product Reference"},{"path":"guidelines/wordmark.html","group":"Brand","viewport":"700x150","subtitle":"Open Council mark + outlined Newsreader wordmark, one colour (--fg-default)","name":"Wordmark"},{"path":"guidelines/action-intents.html","group":"Colors","viewport":"700x150","subtitle":"Six toolbar intents — soft tint fill, tinted border, accent text","name":"Action Intents"},{"path":"guidelines/dracula-accents.html","group":"Colors","viewport":"700x150","subtitle":"Vibrant accents — identical in light & dark, used as soft tints","name":"Dracula Accents"},{"path":"guidelines/node-roles.html","group":"Colors","viewport":"700x170","subtitle":"Canvas node role colors — 8% soft fill, 30% border, full-strength accents","name":"Node Roles"},{"path":"guidelines/semantic-status.html","group":"Colors","viewport":"700x150","subtitle":"Status colors — Solarized in dark, deeper hues in light","name":"Semantic Status"},{"path":"guidelines/surfaces-dark.html","group":"Colors","viewport":"700x150","subtitle":"Solarized dark surfaces — the signature look","name":"Surfaces — Dark"},{"path":"guidelines/surfaces-light.html","group":"Colors","viewport":"700x150","subtitle":"Light structural surfaces & foreground","name":"Surfaces — Light"},{"path":"components/buttons/buttons.card.html","group":"Components","viewport":"700x240","subtitle":"ActionButton intents + Button variants","name":"Buttons"},{"path":"components/canvas/canvas.card.html","group":"Components","viewport":"700x330","subtitle":"SquareNode states, ComponentItem, WorkflowCard, ModeToggle, StatusBar","name":"Canvas"},{"path":"components/display/display.card.html","group":"Components","viewport":"700x430","subtitle":"Badge, Card, Tabs, Avatar, Kbd, LogLine, ChatBubble","name":"Display"},{"path":"components/feedback/feedback.card.html","group":"Components","viewport":"700x420","subtitle":"Modal, Toast, Tooltip, Spinner, Progress, EmptyState","name":"Feedback"},{"path":"components/forms/forms.card.html","group":"Components","viewport":"700x300","subtitle":"Input, Select, RadioGroup, Textarea, Switch, Checkbox","name":"Forms"},{"path":"components/icons/icons.card.html","group":"Components","viewport":"700x170","subtitle":"Lucide via Icon component — stroke 2, currentColor","name":"Icons"},{"path":"components/panels/panels.card.html","group":"Components","viewport":"700x620","subtitle":"PanelModal, SettingsSection, DataCard, CollapsibleSection, ApiKeyInput, Slider","name":"Panels"},{"path":"ui_kits/opencompany/index.html","group":"OpenCompany App","viewport":"1440x900","subtitle":"Interactive recreation — toolbar, sidebar, canvas, palette, console, status bar","name":"Workflow Canvas"},{"path":"guidelines/motion.html","group":"Spacing","viewport":"700x150","subtitle":"90 / 180 / 320ms · one smooth ease, one springy emphasis","name":"Motion"},{"path":"guidelines/radii.html","group":"Spacing","viewport":"700x150","subtitle":"Controls 8px · chips 4–6px · nodes 10–12px · pills 999px","name":"Radii"},{"path":"guidelines/shadows-glow.html","group":"Spacing","viewport":"700x170","subtitle":"Quiet chrome shadows; glow is reserved for meaning","name":"Shadows & Glow"},{"path":"guidelines/space-scale.html","group":"Spacing","viewport":"700x150","subtitle":"4 / 8 / 12 / 16 / 24 / 32 / 48 / 64","name":"Space Scale"},{"path":"guidelines/mono-usage.html","group":"Type","viewport":"700x150","subtitle":"Mono is the machine voice — counts, state, timestamps","name":"Mono Usage"},{"path":"guidelines/type-scale.html","group":"Type","viewport":"700x280","subtitle":"14px base — dense desktop scale","name":"Type Scale"},{"path":"guidelines/typeface-geist.html","group":"Type","viewport":"700x170","subtitle":"Geist — one family for display & body","name":"Typeface — Geist"}],"templates":[],"globalCssPaths":["tokens/fonts.css","tokens/colors.css","tokens/typography.css","tokens/spacing.css","tokens/base.css","tokens/motion.css","tokens/animations.css","styles.css"],"tokens":[{"name":"--bg-app","value":"#f5f7fa","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-panel","value":"#fafbfc","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-canvas","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-elevated","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-input","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-hover","value":"rgba(0, 0, 0, 0.04)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-active","value":"rgba(0, 0, 0, 0.06)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-overlay","value":"rgba(0, 0, 0, 0.45)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--surface-card","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-default","value":"#1a1d21","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-muted","value":"#4b5563","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-faint","value":"#9ca3af","kind":"color","definedIn":"tokens/colors.css"},{"name":"--fg-on-accent","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--text-body","value":"var(--fg-default)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--text-muted","value":"var(--fg-muted)","kind":"font","definedIn":"tokens/colors.css"},{"name":"--border-default","value":"#d1d5db","kind":"color","definedIn":"tokens/colors.css"},{"name":"--border-strong","value":"#9ca3af","kind":"color","definedIn":"tokens/colors.css"},{"name":"--border-focus","value":"#3b82f6","kind":"color","definedIn":"tokens/colors.css"},{"name":"--primary","value":"#2563eb","kind":"color","definedIn":"tokens/colors.css"},{"name":"--primary-foreground","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--accent","value":"#7c3aed","kind":"color","definedIn":"tokens/colors.css"},{"name":"--accent-foreground","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--destructive","value":"#dc2626","kind":"color","definedIn":"tokens/colors.css"},{"name":"--destructive-foreground","value":"#ffffff","kind":"color","definedIn":"tokens/colors.css"},{"name":"--success","value":"#059669","kind":"color","definedIn":"tokens/colors.css"},{"name":"--warning","value":"#d97706","kind":"color","definedIn":"tokens/colors.css"},{"name":"--info","value":"#0891b2","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-green","value":"#50fa7b","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-purple","value":"#bd93f9","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-pink","value":"#ff79c6","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-cyan","value":"#8be9fd","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-red","value":"#ff5555","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-orange","value":"#ffb86c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-yellow","value":"#f1fa8c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-selection","value":"#44475a","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-current-line","value":"#383a4a","kind":"color","definedIn":"tokens/colors.css"},{"name":"--dracula-comment","value":"#6272a4","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run","value":"var(--dracula-green)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-soft","value":"color-mix(in srgb, var(--dracula-green) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-hover","value":"color-mix(in srgb, var(--dracula-green) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-border","value":"color-mix(in srgb, var(--dracula-green) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop","value":"var(--dracula-pink)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-soft","value":"color-mix(in srgb, var(--dracula-pink) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-hover","value":"color-mix(in srgb, var(--dracula-pink) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-border","value":"color-mix(in srgb, var(--dracula-pink) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save","value":"var(--dracula-cyan)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-soft","value":"color-mix(in srgb, var(--dracula-cyan) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-hover","value":"color-mix(in srgb, var(--dracula-cyan) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-border","value":"color-mix(in srgb, var(--dracula-cyan) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config","value":"var(--dracula-orange)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-soft","value":"color-mix(in srgb, var(--dracula-orange) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-hover","value":"color-mix(in srgb, var(--dracula-orange) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-border","value":"color-mix(in srgb, var(--dracula-orange) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret","value":"var(--dracula-yellow)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-soft","value":"color-mix(in srgb, var(--dracula-yellow) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-hover","value":"color-mix(in srgb, var(--dracula-yellow) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-border","value":"color-mix(in srgb, var(--dracula-yellow) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools","value":"var(--dracula-purple)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-soft","value":"color-mix(in srgb, var(--dracula-purple) 15%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-hover","value":"color-mix(in srgb, var(--dracula-purple) 25%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-border","value":"color-mix(in srgb, var(--dracula-purple) 60%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-run-ink","value":"#15803d","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-stop-ink","value":"#be185d","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-save-ink","value":"#0e7490","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-config-ink","value":"#c2410c","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-secret-ink","value":"#a16207","kind":"color","definedIn":"tokens/colors.css"},{"name":"--action-tools-ink","value":"#7c3aed","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-agent","value":"var(--dracula-purple)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-agent-soft","value":"color-mix(in srgb, var(--dracula-purple) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-agent-border","value":"color-mix(in srgb, var(--dracula-purple) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-model","value":"var(--dracula-cyan)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-model-soft","value":"color-mix(in srgb, var(--dracula-cyan) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-model-border","value":"color-mix(in srgb, var(--dracula-cyan) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-tool","value":"var(--dracula-green)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-tool-soft","value":"color-mix(in srgb, var(--dracula-green) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-tool-border","value":"color-mix(in srgb, var(--dracula-green) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-trigger","value":"var(--dracula-pink)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-trigger-soft","value":"color-mix(in srgb, var(--dracula-pink) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-trigger-border","value":"color-mix(in srgb, var(--dracula-pink) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-workflow","value":"var(--dracula-orange)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-workflow-soft","value":"color-mix(in srgb, var(--dracula-orange) 8%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-workflow-border","value":"color-mix(in srgb, var(--dracula-orange) 30%, transparent)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--node-pulse-color","value":"var(--info)","kind":"color","definedIn":"tokens/colors.css"},{"name":"--scrollbar-track","value":"#eef1f5","kind":"color","definedIn":"tokens/colors.css"},{"name":"--scrollbar-thumb","value":"#d1d5db","kind":"color","definedIn":"tokens/colors.css"},{"name":"--bg-app","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-panel","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-canvas","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-elevated","value":"#0d1f2d","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-input","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-hover","value":"rgba(248, 248, 242, 0.06)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-active","value":"rgba(189, 147, 249, 0.18)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--bg-overlay","value":"rgba(0, 0, 0, 0.7)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--surface-card","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-default","value":"#f8f8f2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-muted","value":"#94a8d6","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-faint","value":"#6272a4","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--fg-on-accent","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--border-default","value":"#586e75","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--border-strong","value":"#93a1a1","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--border-focus","value":"#268bd2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--primary","value":"#268bd2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--primary-foreground","value":"#f8f8f2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--accent","value":"#8be9fd","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--accent-foreground","value":"#002b36","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--destructive","value":"#dc322f","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--destructive-foreground","value":"#f8f8f2","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--success","value":"#859900","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--warning","value":"#b58900","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--info","value":"#2aa198","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-run-ink","value":"var(--dracula-green)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-stop-ink","value":"var(--dracula-pink)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-save-ink","value":"var(--dracula-cyan)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-config-ink","value":"var(--dracula-orange)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-secret-ink","value":"var(--dracula-yellow)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--action-tools-ink","value":"var(--dracula-purple)","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--scrollbar-track","value":"#073642","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--scrollbar-thumb","value":"#586e75","kind":"color","definedIn":"tokens/colors.css","scope":".dark"},{"name":"--font-sans","value":"'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-display","value":"var(--font-sans)","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-body","value":"var(--font-sans)","kind":"font","definedIn":"tokens/typography.css"},{"name":"--font-mono","value":"'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace","kind":"font","definedIn":"tokens/typography.css"},{"name":"--type-scale-base","value":"14px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-2xs","value":"11px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-xs","value":"12px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-sm","value":"13px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-base","value":"14px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-md","value":"16px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-lg","value":"18px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-xl","value":"24px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-2xl","value":"32px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--text-3xl","value":"44px","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-regular","value":"400","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-medium","value":"500","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-semibold","value":"600","kind":"font","definedIn":"tokens/typography.css"},{"name":"--weight-bold","value":"700","kind":"font","definedIn":"tokens/typography.css"},{"name":"--type-uppercase","value":"none","kind":"font","definedIn":"tokens/typography.css"},{"name":"--type-tracking-display","value":"0","kind":"font","definedIn":"tokens/typography.css"},{"name":"--tracking-label","value":"0.04em","kind":"font","definedIn":"tokens/typography.css"},{"name":"--leading-tight","value":"1.2","kind":"font","definedIn":"tokens/typography.css"},{"name":"--leading-normal","value":"1.5","kind":"font","definedIn":"tokens/typography.css"},{"name":"--leading-relaxed","value":"1.65","kind":"font","definedIn":"tokens/typography.css"},{"name":"--space-1","value":"4px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-2","value":"8px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-3","value":"12px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-4","value":"16px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-5","value":"24px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-6","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-7","value":"48px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--space-8","value":"64px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--radius-sm","value":"4px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-md","value":"6px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-lg","value":"8px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-xl","value":"12px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-node","value":"10px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--radius-pill","value":"999px","kind":"radius","definedIn":"tokens/spacing.css"},{"name":"--h-toolbar","value":"48px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--h-statusbar","value":"24px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--h-control","value":"32px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--w-sidebar","value":"280px","kind":"spacing","definedIn":"tokens/spacing.css"},{"name":"--w-palette","value":"320px","kind":"color","definedIn":"tokens/spacing.css"},{"name":"--shadow-card","value":"0 2px 8px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04)","kind":"shadow","definedIn":"tokens/spacing.css"},{"name":"--shadow-card-hover","value":"0 4px 14px rgb(0 0 0 / 0.10)","kind":"shadow","definedIn":"tokens/spacing.css"},{"name":"--shadow-modal","value":"0 12px 40px rgb(0 0 0 / 0.18)","kind":"shadow","definedIn":"tokens/spacing.css"},{"name":"--shadow-card","value":"0 4px 12px rgb(0 0 0 / 0.3)","kind":"shadow","definedIn":"tokens/spacing.css","scope":".dark"},{"name":"--shadow-card-hover","value":"0 6px 18px rgb(0 0 0 / 0.4)","kind":"shadow","definedIn":"tokens/spacing.css","scope":".dark"},{"name":"--shadow-modal","value":"0 16px 48px rgb(0 0 0 / 0.55)","kind":"shadow","definedIn":"tokens/spacing.css","scope":".dark"},{"name":"--dur-fast","value":"90ms","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--dur-default","value":"180ms","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--dur-slow","value":"320ms","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.2, 0.7, 0.3, 1)","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.6, -0.05, 0.3, 1.4)","kind":"other","definedIn":"tokens/motion.css","annotation":"other"},{"name":"--motion-style","value":"smooth","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--pulse-keyframe","value":"node-pulse","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--pulse-duration","value":"1.4s","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--pulse-timing","value":"ease-in-out","kind":"other","definedIn":"tokens/animations.css","annotation":"other"},{"name":"--dur-fast","value":"100ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--dur-default","value":"200ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--dur-slow","value":"380ms","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--ease-default","value":"cubic-bezier(0.34, 1.6, 0.5, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--ease-emphasis","value":"cubic-bezier(0.34, 1.6, 0.5, 1)","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"},{"name":"--motion-style","value":"bouncy","kind":"other","definedIn":"tokens/animations.css","scope":"[data-theme=\"atomic\"]","annotation":"other"}],"themes":[{"selector":".dark","label":"Dark"},{"selector":"[data-theme=\"atomic\"]","label":"Atomic"}],"fonts":[],"brandFonts":[{"family":"Geist","status":"ok","tokens":["--font-sans"],"path":"tokens/typography.css"},{"family":"JetBrains Mono","status":"ok","tokens":["--font-mono"],"path":"tokens/typography.css"}],"source":"spa"}
\ No newline at end of file
diff --git a/docs-internal/design-system/guidelines/ANIMATIONS.md b/docs-internal/design-system/guidelines/ANIMATIONS.md
index 58a7130c..93d62123 100644
--- a/docs-internal/design-system/guidelines/ANIMATIONS.md
+++ b/docs-internal/design-system/guidelines/ANIMATIONS.md
@@ -1,6 +1,6 @@
# OpenCompany animation system
-Motion is a **first-class part of each theme's identity**, not a global constant. Every theme declares the same six-token motion contract; the personality lives in the **easing function**, not just duration. Live demo: `guidelines/animations-all-themes.html`. Tokens + keyframes: `tokens/animations.css`.
+Motion is a **first-class part of each theme's identity**, not a global constant. Every theme declares the same six-token motion contract; the personality lives in the **easing function**, not just duration. Tokens + keyframes: `tokens/animations.css`.
## The contract (per theme)
@@ -9,38 +9,26 @@ Motion is a **first-class part of each theme's identity**, not a global constant
| `--dur-fast / -default / -slow` | interaction / transition / panel timings |
| `--ease-default` | the curve every transition uses — carries the personality |
| `--ease-emphasis` | entrances, springy moments |
-| `--motion-style` | a name (smooth, organic, mechanical, bouncy, glitch, jittery, drift, stiff, scanline) |
+| `--motion-style` | a name (smooth for light and dark, bouncy for Atomic) |
| `--pulse-keyframe / -duration / -timing` | which executing-node pulse this theme uses |
| `--node-pulse-color` | the glow color — **theme-chosen for contrast**, never the node's own role color |
-## All 12 themes
+## All three themes
| Theme | fast/def/slow | ease-default | motion-style | exec pulse | ambient |
|---|---|---|---|---|---|
| Light | 90/180/320 | cubic(.2,.7,.3,1) | smooth | node-pulse 1.4s ease-in-out | — |
| Dark | 90/180/320 | cubic(.2,.7,.3,1) | smooth | node-pulse 1.4s | — |
-| Renaissance | 140/280/520 | cubic(.4,0,.2,1) | organic | ren-pulse-exec 2.0s (candle flame) | candle flicker 6s |
-| Greek | 120/240/460 | cubic(.3,.7,.4,1) | smooth | node-pulse 1.4s | — |
-| Edo | 90/220/520 | cubic(.4,0,.2,1) | organic | node-pulse 1.6s | — |
-| Steampunk | 110/240/480 | cubic(.5,0,.4,1.1) | mechanical | node-pulse 1.4s | — |
| Atomic | 100/200/380 | **cubic(.34,1.6,.5,1)** | bouncy (1.6 overshoot) | node-pulse 1.4s | — |
-| Cyber | 60/120/240 | **steps(4,end)** | glitch | cyber-pulse-exec 1.6s steps(2) | CRT flicker 5s + rolling scanline 8s + hover glitch |
-| Wasteland | 60/180/320 | cubic(.6,0,.4,1) | jittery | node-pulse 1.3s | — |
-| Rot | 140/320/**680** | cubic(.4,0,.6,1) | drift (slowest) | node-pulse 2.2s | — |
-| Plague | 100/220/460 | cubic(.4,0,.6,1) | stiff | node-pulse 1.6s | — |
-| Surveillance | 60/140/240 | **linear** | scanline | surv-pulse-exec 1.0s steps(2) | REC-LED blink + scanline |
## Signature keyframes (`tokens/animations.css`)
-- **`node-pulse`** — default 3-layer glow (ring + mid halo + atmospheric halo) scaling out/in. Used by 8 themes.
-- **`ren-pulse-exec`** — candle-flame: never fully dark, gentle ease-in-out swell (Renaissance).
-- **`cyber-pulse-exec` / `cyber-flicker` / `cyber-roll` / `cyber-blink` / `cyber-glitch`** — hard digital strobe via `steps(2)`, whole-frame CRT flicker, rolling scanline band, LED blink, hover text-shear (Cyber).
-- **`surv-pulse-exec` / `surv-blink`** — REC-red glow strobe + status-LED blink (Surveillance).
+- **`node-pulse`** — default 3-layer glow (ring + mid halo + atmospheric halo) scaling out/in. Used by every theme.
- **`opencompany-pip-blink`** — generic status-pip blink. **`opencompany-spin`** — spinner.
## Interaction motion (all themes)
-- **Hover:** background tint shift; cards/nodes lift `-1` to `-2px` and gain shadow. Cyber replaces lift with a glitch shear.
+- **Hover:** background tint shift; cards/nodes lift `-1` to `-2px` and gain shadow.
- **Press:** `translateY(1px)`.
- **Disabled:** `opacity .5`, no transition.
- **Entrances:** slide/fade gated on `[data-deck-active]`-style activation and `--ease-emphasis`; base state is the visible end-state so reduced-motion / print show content, never the pre-animation frame.
@@ -48,9 +36,8 @@ Motion is a **first-class part of each theme's identity**, not a global constant
## Usage
```html
-<html data-theme="cyber"> <!-- picks the whole motion contract -->
+<html data-theme="atomic"> <!-- picks the whole motion contract -->
<div class="opencompany-pulse node">…</div> <!-- executing node: reads --pulse-keyframe + color -->
-<div class="opencompany-crt opencompany-scanline">…</div> <!-- app frame ambient (cyber/surveillance) -->
```
Set `--node-pulse-color` on (or above) the pulsing element. `.opencompany-pulse` automatically uses the active theme's keyframe, duration and timing. All loops stop under `prefers-reduced-motion: reduce`.
@@ -71,11 +58,11 @@ Triggers (`whatsappReceive`, `cronScheduler`, `webhookTrigger`, `start`) animate
## Glow color & visibility
-The glow is **never the node's own faint role tint** — it uses `--node-pulse-color` (or the component's `pulseColor`), a saturated accent the theme picks **for contrast against its own canvas**: lapis on Renaissance vellum, neon cyan on Cyber's near-black void, REC-red on Surveillance grey, deep teal on Atomic cream. This keeps both the execution pulse and the trigger listening glow legible on light and dark themes alike. When adding a theme, choose its `--node-pulse-color` against the background, not to match the node.
+The glow is **never the node's own faint role tint** — it uses `--node-pulse-color` (or the component's `pulseColor`), a saturated accent the theme picks **for contrast against its own canvas**: turquoise on Atomic's cream, the info blue on light and dark. This keeps both the execution pulse and the trigger listening glow legible on light and dark themes alike. When adding a theme, choose its `--node-pulse-color` against the background, not to match the node.
## Rules
1. **Drive transitions from `var(--ease-default)` / `var(--dur-*)`** — never hardcode timing, so a theme swap restyles motion for free.
2. **Loops only for live processes** (executing pulse, connection LED). No decorative perpetual motion on idle content.
-3. **The pulse color is the theme's, not the node's** — guarantees contrast on every canvas (lapis on vellum, cyan on void, REC-red on grey).
+3. **The pulse color is the theme's, not the node's** — guarantees contrast on every canvas (turquoise on Atomic's cream).
4. **Always provide the static end-state** so print, PDF export and reduced-motion render meaningfully.
diff --git a/docs-internal/design-system/guidelines/THEMES.md b/docs-internal/design-system/guidelines/THEMES.md
index 5b5fa54c..e1c77fd2 100644
--- a/docs-internal/design-system/guidelines/THEMES.md
+++ b/docs-internal/design-system/guidelines/THEMES.md
@@ -1,6 +1,6 @@
# OpenCompany theming architecture — analysis
-Source: `client/src/themes/*.css` + `client/src/index.css` in https://github.com/zeenie-ai/OpenCompany (the live files are authoritative; the `reference/themes/` snapshots were retired — see its README). The app ships **12 themes**: 2 canonical (light, dark) + 10 "skins" (Renaissance, Greek, Edo, Steampunk, Atomic, Cyber, Wasteland, Rot, Plague, Surveillance).
+Source: `client/src/themes/*.css` + `client/src/index.css` in https://github.com/zeenie-ai/OpenCompany (the live files are authoritative; the `reference/themes/` snapshots were retired — see its README). The app ships **3 themes**: 2 canonical (light, dark) + 1 "skin" (Atomic). The handoff's nine other skins (Renaissance, Greek, Edo, Steampunk, Cyber, Wasteland, Rot, Plague, Surveillance) were removed on 2026-10-12, and Home, the editor and the sign-in screen all show the chosen theme.
## 1. How it works — a four-layer contract
@@ -8,8 +8,8 @@ Every theme is **one CSS file, zero component changes**. The system is layered s
1. **`base.css` — neutral defaults on `:root`.** Space scale, radii, motion durations/eases, `--type-uppercase: none`, `--canvas-grid: none`, `--sound-pack: none`, cursor defaults, plus the *default node visuals* (gradient fill, accent border, hover lift, the 3-layer `node-pulse` keyframe). Any theme that omits a variable inherits these.
2. **New-contract tokens — full-color CSS vars, scoped `:root[data-theme="X"]`.** The ~40-variable contract every theme must fill: surfaces (`--bg-app/panel/canvas/elevated/input/hover/active/overlay`), borders (`-default/strong/focus` + `--ornament-frame`), foreground (`--fg-default/muted/faint` + four `--fg-on-*` contrast colors), 3 font slots, type scale/tracking/case, 4 radii, 3 durations + 2 eases + `--motion-style`, `--sound-pack`, `--node-pulse-color`, 2 cursors, 2 scrollbar colors, `--canvas-grid` (+opacity).
-3. **shadcn semantic bridge — the same palette re-declared under the shadcn token names as hex / `color-mix()`** (`--background: #0d0f13`) so every existing Tailwind utility (`bg-card`, `text-muted-foreground`, `bg-action-save-soft`) retints with zero call-site edits. `index.css`'s `@theme inline` maps `--color-X: var(--X)` with no `hsl()` wrapper. Includes the six action-intent roles (with per-theme alphas — e.g. Steampunk raises soft fill to 20–22% because brass needs more presence than Dracula neon) and `--tint-soft`/`--tint-border` alphas.
-4. **Structural-class decorations.** Components carry stable hook classes — `.toolbar .sidebar .palette .canvas .statusbar .chat .modal .cmdk .node .sq-node-box .sq-node-gear .sq-node-pip .sq-node-label .wf-card .comp .cat .row .btn .action-btn .pip .ornament` — and themes attach material identity to them: vellum noise + gilded `ornament-frame` (Renaissance), riveted brass plates with `::before/::after` rivets (Steampunk), CRT flicker + rolling scanline + glitch-on-hover keyframes (Cyber), REC-LED blink (Surveillance). Decorations are *additive*; un-themed components still work from layers 1–3.
+3. **shadcn semantic bridge — the same palette re-declared under the shadcn token names as hex / `color-mix()`** (`--background: #0d0f13`) so every existing Tailwind utility (`bg-card`, `text-muted-foreground`, `bg-action-save-soft`) retints with zero call-site edits. `index.css`'s `@theme inline` maps `--color-X: var(--X)` with no `hsl()` wrapper. Includes the six action-intent roles (a skin may raise or lower their alphas) and `--tint-soft`/`--tint-border` alphas.
+4. **Structural-class decorations.** Components carry stable hook classes — `.toolbar .sidebar .palette .canvas .statusbar .chat .modal .cmdk .node .sq-node-box .sq-node-gear .sq-node-pip .sq-node-label .wf-card .comp .cat .row .btn .action-btn .pip` — and a skin attaches its material identity to them: Atomic gives panels thick slate edges, cards and palette tiles boomerang corners, action buttons a hard offset shadow, and the canvas a starburst. Decorations are *additive*; un-themed components still work from layers 1–3.
**Key inversions worth copying:** color is bridged *twice* (full-color for new code, shadcn-named hex aliases for legacy utilities); status pips read `data-status` attributes so themes restyle state without touching React; the executing pulse uses a *theme-chosen* `--node-pulse-color` (not the node's own accent) so the glow always contrasts with that theme's canvas; `prefers-reduced-motion` and a `data-page-hidden` animation-pause are handled globally in base.css.
@@ -17,33 +17,21 @@ Every theme is **one CSS file, zero component changes**. The system is layered s
Beyond color: **typeface trio, base font size (13–15px), letter case, tracking (0–0.18em), all four radii (0 → 999px), motion speed (60ms → 680ms), easing curve *shape* (smooth bezier / bouncy overshoot / `steps()` strobe / `linear`), a named `--motion-style`, a sound pack, the cursor itself (SVG data-URI), the canvas background pattern (SVG tile), scrollbar chrome, and selection color.** That breadth is the design insight: OpenCompany themes are *material systems*, not palettes.
-## 3. The 12 themes at a glance
+## 3. The 3 themes at a glance
| Theme | World | Surfaces | Signature accents | Display / body / mono | Case·track | Radii | Motion (style) | Sound | Pulse |
|---|---|---|---|---|---|---|---|---|---|
| **Light** | quiet workspace | grey-blue paper | Dracula tints + blue | Geist ×2 / sys mono | none·0 | 4/6/8 | 90/180/320 smooth | parchment | info blue |
| **Dark** | signature look | neutral slate | Dracula neon | Geist ×2 / sys mono | none·0 | 4/6/8 | 90/180/320 smooth | terminal | info sky |
-| **Renaissance** | illuminated codex | vellum cream | gold #d4a030 · crimson #8a1410 · lapis #2548c8 | Cinzel / Cormorant Garamond / IM Fell English | UPPER·.10em | 2/3/4 (pill 12) | 140/280/520 organic | parchment | lapis (Marian halo) |
-| **Greek** | marble agora | sun-bleached marble | lapis #284b82 · oxblood #7a1a18 · gold #c8a040 · olive | Cinzel / Cormorant / Courier Prime | UPPER·.18em | 0/0/2 | 120/240/460 smooth | marble | lapis |
-| **Edo** | washi + sumi-e | rice paper | vermillion #b41e1e · sumi ink · bamboo · sakura | Shippori Mincho ×2 / JetBrains | none·.06em | all 0 | 90/220/520 organic | ink | vermillion |
-| **Steampunk** | Verne submarine | oiled leather | brass #d8a848 · copper #b8602a · rust | IM Fell English SC / IM Fell / Special Elite | UPPER·.10em | 2/4/8 | 110/240/480 mechanical | clockwork | copper |
| **Atomic** | 1962 Eames | cream cardstock | atomic orange #e85a26 · turquoise #3a9aa0 · mustard | Bevan / Lato / Space Mono | UPPER·.06em | 0/2/4 (pill 999) | 100/200/380 bouncy (1.6 overshoot) | vibraphone | turquoise |
-| **Cyber** | Neuromancer market | void #050010 | neon magenta #f51eb6 · cyan #1dd9e5 · green · yellow | Space Mono / JetBrains ×2 (13px) | UPPER·.18em | all 0 | 60/120/240 `steps()` glitch | terminal | neon cyan |
-| **Wasteland** | Mad Max scrap | irradiated dust | ochre #e88a28 · rust #8a3a18 · rad-yellow #c8d038 · bone | Special Elite ×2 / VT323 | UPPER·.10em | all 0 | 60/180/320 jittery | scrap | rad yellow |
-| **Rot** | mossy crypt | charcoal green | moss #78c878 · candle #e8a838 · bone · crypt brown | Pirata One / EB Garamond / JetBrains | none·.04em | 1/2/4 | 140/320/680 drift (slowest) | crypt | moss phosphor |
-| **Plague** | 1349 quarantine notice | bleached linen | dried blood #783c28 · bile #98a838 · crow black | Cinzel / EB Garamond / Special Elite | UPPER·.06em | all 0 | 100/220/460 stiff | bell | bile red |
-| **Surveillance** | 1970s panopticon | institutional grey | REC red #e82626 · phosphor #6acc6a · amber | Anonymous Pro / IBM Plex Mono ×2 (13px) | UPPER·.10em | all 0 | 60/140/240 `linear` scanline | telex | REC red |
-Special hardware: **Cyber** ships custom crosshair + bracket cursors and full-frame CRT flicker/roll keyframes; **Surveillance** ships a REC-red reticle cursor and a 1920×1080 CCTV crosshair canvas overlay; **Renaissance** ships a quill cursor, fleur-de-lis canvas tile and the only non-`none` `--ornament-frame` (triple gilded inset); **Steampunk** draws bolt-pattern canvas tiles and rivets nodes with pseudo-elements.
+Atomic draws its starburst canvas through `--canvas-grid` and keeps the default `node-pulse`.
## 4. Patterns / observations
-- **Time-period clustering**: 6 of 10 skins are historical (Renaissance, Greek, Edo, Steampunk, Plague, + Rot's gothic), 4 are speculative-tech (Cyber, Surveillance, Wasteland, Atomic). All keep the exact same information architecture — only material changes.
-- **Light skins keep dark text contrast ratios** (vellum/marble/washi/linen ≈ #f0e8d0 family with near-black ink); dark skins pick one luminous accent family and use the soft-tint discipline from light/dark.
-- **Radius is the loudest single lever**: 8 of 10 skins flatten to ≤4px or 0; only light/dark/atomic keep pills. Sharp corners + uppercase + serif/mono display = instant "other era".
-- **Motion personality is encoded in the *easing function*, not just speed**: `steps(4)` = digital strobe, `cubic-bezier(.34,1.6,.5,1)` = boomerang bounce, `linear` = machine scan, 680ms drift = crypt.
+- **Motion personality is encoded in the *easing function*, not just speed**: Atomic's `cubic-bezier(.34,1.6,.5,1)` is a boomerang bounce against light and dark's smooth curve.
- **The shadcn alias layer is the cost of Tailwind compat** — every theme declares its palette twice (new-contract names + shadcn names), both in hex. New work should target the full-color contract only.
## 5. Status in THIS design system
-`tokens/colors.css` encodes the two canonical themes (light `:root`, dark `.dark`). The 10 skins are **documented** here and sourced from the live `client/src/themes/` files, but not yet expressed as token scopes here. (Cyber and Plague display faces are the legibility substitutions Space Mono and Cinzel; the handoff's Major Mono Display and UnifrakturCook are not shipped.) To port one: copy its layer-2 block into a `[data-theme="X"]` scope in `tokens/`, map its accents onto the action/node role triplets, and load its Google Fonts (all skin fonts are on Google Fonts — same delivery as production). Visual comparison: `guidelines/theme-matrix.html`. That page, `theme-comparison.html`, `theme-comparison-full.html` and `panels-all-themes.html` predate the current fonts: they still show JetBrains Mono as the light/dark mono (live: the system mono stack), and the first three show Major Mono Display for Cyber's display face and UnifrakturCook for Plague's (live: Space Mono and Cinzel). The table in §3 and `client/src/themes/` are authoritative.
+`tokens/colors.css` encodes the two canonical themes (light `:root`, dark `.dark`). Atomic is **documented** here and sourced from the live `client/src/themes/atomic.css`, but not yet expressed as a token scope here. To port it: copy its layer-2 block into a `[data-theme="atomic"]` scope in `tokens/`, map its accents onto the action/node role triplets, and load its Google Fonts (Bevan, Lato, Space Mono — the same delivery as production). The table in §3 and `client/src/themes/` are authoritative; the panel-by-panel visual target is `reference-mockup/Panel Theme Matrix.dc.html`.
diff --git a/docs-internal/design-system/guidelines/animations-all-themes.html b/docs-internal/design-system/guidelines/animations-all-themes.html
deleted file mode 100644
index 8f154f20..00000000
--- a/docs-internal/design-system/guidelines/animations-all-themes.html
+++ /dev/null
@@ -1,247 +0,0 @@
-<!-- @dsCard group="Brand" viewport="1280x860" name="Animations — All Themes" subtitle="Live motion per theme: executing pulse, easing character, pip blink, hover lift, ambient CRT/scanline" -->
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>OpenCompany — Animations, All Themes</title>
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Bevan&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:wght@400;500;600&family=Courier+Prime&family=EB+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IM+Fell+English:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700&family=Shippori+Mincho:wght@400;500;600;700&family=Space+Mono&family=Special+Elite&display=swap">
-<style>
- * { box-sizing: border-box; }
- body { margin: 0; background: #0a0c10; font-family: 'Geist', system-ui, sans-serif; color: #e6edf3; }
- header { padding: 26px 32px 6px; }
- header h1 { margin: 0; font-size: 20px; font-weight: 600; }
- header p { margin: 6px 0 0; font-size: 13px; color: #8b949e; max-width: 860px; line-height: 1.5; }
- .controls { display: flex; align-items: center; gap: 14px; padding: 14px 32px 4px; flex-wrap: wrap; }
- .controls button { font-family: 'Geist', sans-serif; font-size: 12.5px; font-weight: 600; color: #e6edf3; background: #1c2230; border: 1px solid #2a3344; border-radius: 7px; padding: 7px 14px; cursor: pointer; }
- .controls button:hover { border-color: #4a5568; }
- .controls .hint { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #8b949e; }
- .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 18px 32px 60px; }
- @media (min-width: 1680px) { .grid { grid-template-columns: repeat(3, 1fr); } }
-
- .tile { border-radius: 12px; overflow: hidden; border: 1px solid #21262d; background: #11151a; }
- .tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 16px; }
- .tile-head .nm { font-size: 15px; font-weight: 600; }
- .tile-head .style { font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 2px 7px; border-radius: 999px; border: 1px solid currentColor; }
-
- .stage { position: relative; height: 246px; overflow: hidden; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
-
- /* canvas mini with executing node */
- .mini { position: relative; flex: 1; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 26px; }
- .node { position: relative; width: 50px; height: 50px; border: 2px solid; display: flex; align-items: center; justify-content: center; font-size: 21px; }
- .node .pip { position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; }
- .edge { position: absolute; height: 2px; top: 50%; left: 50%; transform: transl(-50%,-50%); }
-
- /* ease lane */
- .lane-wrap { display: flex; flex-direction: column; gap: 5px; }
- .lane { position: relative; height: 22px; border-radius: 6px; overflow: hidden; border: 1px solid; }
- .lane .dot { position: absolute; top: 3px; left: 4px; width: 14px; height: 14px; border-radius: 4px; }
- .lane-meta { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; opacity: 0.7; }
-
- /* interaction row */
- .irow { display: flex; align-items: center; gap: 10px; }
- .btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; font-size: 11.5px; font-weight: 600; border: 1px solid; line-height: 1; cursor: pointer; }
- .statuspip { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.04em; }
- .statuspip .led { width: 7px; height: 7px; border-radius: 50%; }
- .hoverhint { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; opacity: 0.55; margin-left: auto; }
-
- /* ambient overlays */
- .crt-roll { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
- .crt-roll .band { position: absolute; left: 0; right: 0; height: 26px; }
-</style>
-</head>
-<body>
-<header>
- <h1>OpenCompany — animation system, all 12 themes</h1>
- <p>Live motion rendered with each theme's real timing tokens (from <code>client/src/themes/*.css</code>): the <strong>trigger "listening" pulse</strong> (armed heartbeat + lightning ⚡ badge, left node), the one-shot <strong>executing-node pulse</strong> (middle), an <strong>easing lane</strong> that shows the curve character (bouncy overshoot, steps strobe, linear scan, slow drift), the <strong>status-pip blink</strong>, button <strong>hover-lift / press</strong> (hover them), and ambient <strong>CRT flicker + rolling scanline</strong> for Cyber / Surveillance. Every glow uses a <strong>theme-contrast color</strong> so it stays visible on that background. Full system: <code>tokens/animations.css</code> · <code>guidelines/ANIMATIONS.md</code>.</p>
-</header>
-<div class="controls">
- <button id="replay">⟳ Replay entrances</button>
- <button id="toggle">⏸ Pause loops</button>
- <span class="hint">Hover the buttons &amp; nodes to feel each theme's easing. Reduced-motion users see static end-states.</span>
-</div>
-<div class="grid" id="grid"></div>
-
-<script>
-const THEMES = [
- { name:'Light', style:'smooth', bg:'#f5f7fa', mini:'#ffffff', card:'#ffffff', fg:'#1a1d21', muted:'#4b5563', border:'#d1d5db', grid:'rgba(75,85,99,0.28)',
- body:"'Geist',sans-serif", durF:90, durD:180, durS:320, ease:'cubic-bezier(.2,.7,.3,1)', pulse:'#0891b2', pulseKf:'node', pulseDur:1.4, pulseTime:'ease-in-out',
- node:'#bd93f9', run:'#15803d', runBg:'rgba(80,250,123,0.15)', runBc:'rgba(80,250,123,0.6)', pip:'#059669', ambient:null },
- { name:'Dark', style:'smooth', bg:'#002b36', mini:'#002b36', card:'#073642', fg:'#f8f8f2', muted:'#94a8d6', border:'#586e75', grid:'rgba(148,168,214,0.30)',
- body:"'Geist',sans-serif", durF:90, durD:180, durS:320, ease:'cubic-bezier(.2,.7,.3,1)', pulse:'#8be9fd', pulseKf:'node', pulseDur:1.4, pulseTime:'ease-in-out',
- node:'#bd93f9', run:'#50fa7b', runBg:'rgba(80,250,123,0.15)', runBc:'rgba(80,250,123,0.6)', pip:'#50fa7b', ambient:null },
- { name:'Renaissance', style:'organic', bg:'#f3e8c8', mini:'#e8d4a0', card:'#fbf3dc', fg:'#3a2008', muted:'#6a4a1c', border:'#8a5e1c', grid:'rgba(138,94,28,0.28)',
- body:"'Cormorant Garamond',serif", durF:140, durD:280, durS:520, ease:'cubic-bezier(.4,0,.2,1)', pulse:'#2548c8', pulseKf:'ren', pulseDur:2.0, pulseTime:'ease-in-out',
- node:'#2548c8', run:'#8a1410', runBg:'rgba(212,160,48,0.20)', runBc:'#8a5e1c', pip:'#5a6a28', ambient:'candle' },
- { name:'Greek', style:'smooth', bg:'#ede5d0', mini:'#e6dcc2', card:'#faf6e9', fg:'#2a2415', muted:'#6a5d3c', border:'#b8a878', grid:'rgba(106,93,60,0.28)',
- body:"'Cormorant Garamond',serif", durF:120, durD:240, durS:460, ease:'cubic-bezier(.3,.7,.4,1)', pulse:'#284b82', pulseKf:'node', pulseDur:1.4, pulseTime:'ease-in-out',
- node:'#284b82', run:'#284b82', runBg:'rgba(40,75,130,0.12)', runBc:'#284b82', pip:'#6a7a32', ambient:null },
- { name:'Edo', style:'organic', bg:'#f4ecd8', mini:'#ede4ca', card:'#fdf8ea', fg:'#1a1410', muted:'#6a5e48', border:'#c8b890', grid:'rgba(106,94,72,0.28)',
- body:"'Shippori Mincho',serif", durF:90, durD:220, durS:520, ease:'cubic-bezier(.4,0,.2,1)', pulse:'#b41e1e', pulseKf:'node', pulseDur:1.6, pulseTime:'ease-in-out',
- node:'#b41e1e', run:'#b41e1e', runBg:'rgba(180,30,30,0.08)', runBc:'#b41e1e', pip:'#4a6a3a', ambient:null },
- { name:'Steampunk', style:'mechanical', bg:'#2a1f12', mini:'#1a1208', card:'#4a3620', fg:'#e8d8b0', muted:'#b8a070', border:'#6a4a20', grid:'rgba(184,160,112,0.25)',
- body:"'IM Fell English',serif", durF:110, durD:240, durS:480, ease:'cubic-bezier(.5,0,.4,1.1)', pulse:'#d8a848', pulseKf:'node', pulseDur:1.4, pulseTime:'ease-in-out',
- node:'#d8a848', run:'#d8a848', runBg:'rgba(216,168,72,0.20)', runBc:'#d8a848', pip:'#8a8a4a', ambient:null },
- { name:'Atomic', style:'bouncy', bg:'#f0e6d2', mini:'#e8dcc0', card:'#ffffff', fg:'#2a3a4a', muted:'#5a6a7a', border:'#c8b890', grid:'rgba(90,106,122,0.28)',
- body:"'Lato',sans-serif", durF:100, durD:200, durS:380, ease:'cubic-bezier(.34,1.6,.5,1)', pulse:'#3a9aa0', pulseKf:'node', pulseDur:1.4, pulseTime:'ease-in-out',
- node:'#e85a26', run:'#3a9aa0', runBg:'rgba(58,154,160,0.12)', runBc:'#3a9aa0', pip:'#3a9aa0', ambient:null },
- { name:'Cyber', style:'glitch', bg:'#050010', mini:'#03000a', card:'#15103a', fg:'#f0e0ff', muted:'#a090c0', border:'#2a1f50', grid:'rgba(160,144,192,0.30)',
- body:"'JetBrains Mono',monospace", durF:60, durD:120, durS:240, ease:'steps(4,end)', pulse:'#1dd9e5', pulseKf:'cyber', pulseDur:1.6, pulseTime:'steps(2)',
- node:'#f51eb6', run:'#26d97a', runBg:'rgba(38,217,122,0.14)', runBc:'#26d97a', pip:'#26d97a', ambient:'crt' },
- { name:'Wasteland', style:'jittery', bg:'#2a2018', mini:'#1a1410', card:'#4a3826', fg:'#e8d8a8', muted:'#b89868', border:'#6a4a28', grid:'rgba(184,152,104,0.25)',
- body:"'Special Elite',monospace", durF:60, durD:180, durS:320, ease:'cubic-bezier(.6,0,.4,1)', pulse:'#c8d038', pulseKf:'node', pulseDur:1.3, pulseTime:'ease-in-out',
- node:'#e88a28', run:'#c8d038', runBg:'rgba(200,208,56,0.14)', runBc:'#c8d038', pip:'#c8d038', ambient:null },
- { name:'Rot', style:'drift', bg:'#14181a', mini:'#0a0e10', card:'#242c30', fg:'#c8d8c0', muted:'#788878', border:'#2a3a30', grid:'rgba(120,136,120,0.28)',
- body:"'EB Garamond',serif", durF:140, durD:320, durS:680, ease:'cubic-bezier(.4,0,.6,1)', pulse:'#78c878', pulseKf:'node', pulseDur:2.2, pulseTime:'ease-in-out',
- node:'#78c878', run:'#78c878', runBg:'rgba(120,200,120,0.10)', runBc:'#78c878', pip:'#78c878', ambient:null },
- { name:'Plague', style:'stiff', bg:'#d8d4c0', mini:'#c8c4b0', card:'#efeacf', fg:'#2a1c14', muted:'#6a5440', border:'#a89478', grid:'rgba(106,84,64,0.25)',
- body:"'EB Garamond',serif", durF:100, durD:220, durS:460, ease:'cubic-bezier(.4,0,.6,1)', pulse:'#783c28', pulseKf:'node', pulseDur:1.6, pulseTime:'ease-in-out',
- node:'#783c28', run:'#783c28', runBg:'rgba(120,60,40,0.12)', runBc:'#783c28', pip:'#98a838', ambient:null },
- { name:'Surveillance', style:'scanline', bg:'#1a1c1e', mini:'#0a0c0e', card:'#2c3034', fg:'#c8ccd0', muted:'#888c90', border:'#3a3e42', grid:'rgba(136,140,144,0.28)',
- body:"'IBM Plex Mono',monospace", durF:60, durD:140, durS:240, ease:'linear', pulse:'#e82626', pulseKf:'surv', pulseDur:1.0, pulseTime:'steps(2)',
- node:'#e82626', run:'#6acc6a', runBg:'rgba(106,204,106,0.10)', runBc:'#6acc6a', pip:'#e82626', ambient:'scan' },
-];
-
-// Trigger fill colors (node role) per theme; the listening GLOW uses the
-// theme's contrast pulse color so it stays visible on that background.
-const TRIG = { Light:'#ff79c6', Dark:'#ff79c6', Renaissance:'#8a1410', Greek:'#7a1a18', Edo:'#b41e1e', Steampunk:'#b8602a', Atomic:'#d8a838', Cyber:'#ffd028', Wasteland:'#8a3a18', Rot:'#e8a838', Plague:'#783c28', Surveillance:'#d8a020' };
-
-// Build per-tile keyframes (unique names) so each theme's pulse uses its own color.
-let css = '';
-THEMES.forEach((t, i) => {
- const c = t.pulse;
- const id = 'k' + i;
- if (t.pulseKf === 'node') {
- css += `@keyframes ${id}-pulse {
- 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, ${c} 80%, transparent), 0 0 12px 2px color-mix(in srgb, ${c} 50%, transparent), 0 0 24px 4px color-mix(in srgb, ${c} 24%, transparent); }
- 50% { box-shadow: 0 0 0 10px color-mix(in srgb, ${c} 42%, transparent), 0 0 28px 7px color-mix(in srgb, ${c} 62%, transparent), 0 0 48px 14px color-mix(in srgb, ${c} 28%, transparent); } }`;
- } else if (t.pulseKf === 'ren') {
- css += `@keyframes ${id}-pulse {
- 0%,100% { box-shadow: 0 0 0 1px ${c}, 0 0 10px 1px color-mix(in srgb, ${c} 40%, transparent); }
- 50% { box-shadow: 0 0 0 2px ${c}, 0 0 22px 5px color-mix(in srgb, ${c} 60%, transparent); } }`;
- } else if (t.pulseKf === 'cyber') {
- css += `@keyframes ${id}-pulse {
- 0%,49% { box-shadow: 0 0 0 1px ${c}, 0 0 8px ${c}; }
- 50%,100% { box-shadow: 0 0 0 1px ${c}, 0 0 24px ${c}, 0 0 40px color-mix(in srgb, ${c} 50%, transparent); } }`;
- } else if (t.pulseKf === 'surv') {
- css += `@keyframes ${id}-pulse {
- 0%,49% { box-shadow: 0 0 0 1px ${c}, 0 0 5px color-mix(in srgb, ${c} 40%, transparent); }
- 50%,100% { box-shadow: 0 0 0 1px ${c}, 0 0 16px color-mix(in srgb, ${c} 70%, transparent); } }`;
- }
- // ease lane: travel using the theme ease + a visible duration
- css += `@keyframes ${id}-lane { 0% { left: 4px; } 55%,100% { left: calc(100% - 18px); } }`;
- // trigger listening glow (contrast pulse color), gentle + slower than exec
- css += `@keyframes ${id}-listen {
- 0%,100% { box-shadow: 0 0 0 0 transparent, 0 0 8px 1px color-mix(in srgb, ${t.pulse} 36%, transparent); }
- 50% { box-shadow: 0 0 0 5px color-mix(in srgb, ${t.pulse} 18%, transparent), 0 0 18px 4px color-mix(in srgb, ${t.pulse} 52%, transparent); } }`;
- // pip blink: steps(2) for digital themes, smooth otherwise
- const blinkTime = (t.pulseKf === 'cyber' || t.pulseKf === 'surv') ? 'steps(2)' : 'ease-in-out';
- css += `@keyframes ${id}-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: ${(t.pulseKf==='cyber'||t.pulseKf==='surv')?0.25:0.45}; } }
- .${id}-blink { animation: ${id}-blink ${t.pulseKf==='surv'?1.0:1.4}s ${blinkTime} infinite; }`;
-});
-// ambient
-css += `@keyframes crt-flicker { 0%,92%,100% { opacity:1; } 93% { opacity:.82; } 94% { opacity:1; } 96% { opacity:.9; } }
- @keyframes crt-roll { 0% { transform: translateY(-40px); } 100% { transform: translateY(260px); } }
- @keyframes candle { 0%,100% { opacity:.10; } 50% { opacity:.2; } }`;
-// glitch hover for cyber
-css += `@keyframes hglitch { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-2px);} 40% { transform: translateX(2px);} 60% { transform: translateX(-1px);} 80% { transform: translateX(1px);} }`;
-css += `@keyframes bolt { 0%,100% { opacity:.6; transform:scale(.92);} 50% { opacity:1; transform:scale(1.08);} }`;
-const styleEl = document.createElement('style');
-styleEl.id = 'kf';
-styleEl.textContent = css;
-document.head.appendChild(styleEl);
-
-const TRIG_BOLT = { Light:'#d97706', Dark:'#ffb86c', Renaissance:'#d4a030', Greek:'#c8a040', Edo:'#d4a030', Steampunk:'#d8a848', Atomic:'#d8a838', Cyber:'#ffd028', Wasteland:'#e88a28', Rot:'#e8a838', Plague:'#98a838', Surveillance:'#d8a020' };
-
-const grid = document.getElementById('grid');
-THEMES.forEach((t, i) => {
- const id = 'k' + i;
- const sharp = (t.pulseKf === 'cyber' || t.pulseKf === 'surv' || t.style === 'stiff');
- const trig = TRIG[t.name];
- const bolt = TRIG_BOLT[t.name];
- const tile = document.createElement('div');
- tile.className = 'tile';
- const ambientHtml =
- t.ambient === 'crt' ? `<div class="crt-roll"><div class="band" style="background:linear-gradient(180deg,transparent,${t.pulse}22,transparent); animation:crt-roll 3.2s linear infinite;"></div></div>` :
- t.ambient === 'scan' ? `<div class="crt-roll"><div class="band" style="height:18px;background:linear-gradient(180deg,transparent,${t.pulse}26,transparent); animation:crt-roll 2.4s linear infinite;"></div></div>` :
- t.ambient === 'candle' ? `<div class="crt-roll" style="background:radial-gradient(circle at 78% 30%, ${t.pulse}, transparent 60%); animation:candle 6s ease-in-out infinite;"></div>` : '';
- const miniAnim = t.ambient === 'crt' ? 'animation:crt-flicker 5s linear infinite;' : '';
-
- tile.innerHTML = `
- <div class="tile-head" style="background:${t.card}; color:${t.fg};">
- <span class="nm" style="font-family:${t.body};">${t.name}</span>
- <span class="style" style="color:${t.pulse};">${t.style}</span>
- </div>
- <div class="stage" style="background:${t.bg};">
- <div class="mini" style="background:${t.mini}; background-image:radial-gradient(${t.grid} 1px, transparent 1px); background-size:16px 16px; ${miniAnim}">
- ${ambientHtml}
- <div style="position:absolute; height:2px; width:150px; left:50%; top:50%; transform:translate(-50%,-50%); background:repeating-linear-gradient(90deg, ${t.node} 0 5px, transparent 5px 11px); opacity:.55;"></div>
- <div class="node trig-node" style="border-radius:${sharp?0:8}px; border-color:${trig}; background:linear-gradient(135deg, color-mix(in srgb, ${trig} 16%, ${t.card}), ${t.card}); color:${t.fg}; z-index:3; animation:${id}-listen 2.4s ease-in-out infinite;">
- <span class="pip ${id}-blink" style="background:${t.pulse};"></span>
- <span class="bolt" style="position:absolute; bottom:-4px; left:-4px; width:15px; height:15px; border-radius:${sharp?0:3}px; background:${bolt}; border:1px solid ${t.card}; display:flex; align-items:center; justify-content:center; font-size:9px; line-height:1; color:#1a1d21; animation:bolt 1.8s ease-in-out infinite;">⚡</span>
- 💬
- </div>
- <div class="node exec-node" style="border-radius:${sharp?0:8}px; border-color:${t.pulse}; background:linear-gradient(135deg, color-mix(in srgb, ${t.pulse} 16%, ${t.card}), ${t.card}); color:${t.fg}; z-index:3; animation:${id}-pulse ${t.pulseDur}s ${t.pulseTime} infinite;">
- <span class="pip ${id}-blink" style="background:${t.pulse};"></span>🤖
- </div>
- <div class="node idle-node" style="border-radius:${sharp?0:8}px; border-color:${t.node}99; background:linear-gradient(135deg, color-mix(in srgb, ${t.node} 14%, ${t.card}), ${t.card}); color:${t.fg}; z-index:2;">
- <span class="pip" style="background:${t.muted};"></span>📤
- </div>
- </div>
-
- <div class="lane-wrap">
- <div class="lane" style="background:${t.card}; border-color:${t.border};">
- <div class="dot ease-dot" style="background:${t.run}; animation:${id}-lane 1.7s ${t.ease} infinite alternate;"></div>
- </div>
- <div class="lane-meta" style="color:${t.muted};">
- <span style="font-family:'JetBrains Mono',monospace;">ease ${t.ease}</span>
- <span style="font-family:'JetBrains Mono',monospace;">${t.durF}/${t.durD}/${t.durS}ms</span>
- </div>
- </div>
-
- <div class="irow">
- <button class="btn theme-btn" data-ease="${t.ease}" data-dur="${t.durD}" style="background:${t.runBg}; border-color:${t.runBc}; color:${t.run}; border-radius:${t.pulseKf==='cyber'||t.pulseKf==='surv'||t.style==='stiff'?0:7}px; font-family:${t.body}; transition:transform ${t.durF}ms ${t.ease}, box-shadow ${t.durD}ms ${t.ease};">▶ Start</button>
- <span class="statuspip" style="color:${t.pip}; font-family:${t.body};">
- <span class="led ${id}-blink" style="background:${t.pip};"></span>ONLINE
- </span>
- <span class="hoverhint" style="color:${t.muted};">hover ▶</span>
- </div>
- </div>`;
- grid.appendChild(tile);
-
- // hover interactions
- const btn = tile.querySelector('.theme-btn');
- btn.addEventListener('mouseenter', () => {
- btn.style.transform = (t.style === 'glitch') ? 'none' : 'translateY(-2px)';
- btn.style.boxShadow = `0 4px 14px color-mix(in srgb, ${t.run} 30%, transparent)`;
- if (t.style === 'glitch') btn.style.animation = 'hglitch 0.4s steps(4)';
- });
- btn.addEventListener('animationend', () => { btn.style.animation = ''; });
- btn.addEventListener('mouseleave', () => { btn.style.transform = 'none'; btn.style.boxShadow = 'none'; });
- btn.addEventListener('mousedown', () => { btn.style.transform = 'translateY(1px)'; });
- btn.addEventListener('mouseup', () => { btn.style.transform = 'translateY(-2px)'; });
-
- const exec = tile.querySelector('.exec-node');
- exec.addEventListener('mouseenter', () => { exec.style.transform = 'translateY(-2px)'; exec.style.transition = `transform ${t.durF}ms ${t.ease}`; });
- exec.addEventListener('mouseleave', () => { exec.style.transform = 'none'; });
-});
-
-// controls
-document.getElementById('replay').addEventListener('click', () => {
- document.querySelectorAll('.exec-node, .ease-dot, [class*="-blink"]').forEach((el) => {
- const a = el.style.animation || getComputedStyle(el).animation;
- el.style.animation = 'none';
- void el.offsetWidth;
- el.style.animation = '';
- });
-});
-let paused = false;
-document.getElementById('toggle').addEventListener('click', (e) => {
- paused = !paused;
- document.querySelectorAll('.stage *').forEach((el) => { el.style.animationPlayState = paused ? 'paused' : 'running'; });
- e.target.textContent = paused ? '▶ Resume loops' : '⏸ Pause loops';
-});
-</script>
-</body>
-</html>
diff --git a/docs-internal/design-system/guidelines/panels-all-themes.html b/docs-internal/design-system/guidelines/panels-all-themes.html
deleted file mode 100644
index fb69ff4f..00000000
--- a/docs-internal/design-system/guidelines/panels-all-themes.html
+++ /dev/null
@@ -1,582 +0,0 @@
-<!-- @dsCard group="Brand" viewport="1320x900" name="Panels × Themes" subtitle="Every panel — toolbar, sidebar, palette, console, status bar, Node Config, Settings, Credentials — in all 12 themes" -->
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>OpenCompany — All Panels × All Themes</title>
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Bevan&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Courier+Prime&family=EB+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IM+Fell+English:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700&family=Shippori+Mincho:wght@400;500;600;700&family=Space+Mono&family=Special+Elite&family=VT323&display=swap">
-<style>
- * { box-sizing: border-box; }
- body { margin: 0; background: #0a0c10; font-family: 'Geist', system-ui, sans-serif; color: #e6edf3; }
- header { padding: 26px 32px 4px; }
- header h1 { margin: 0; font-size: 20px; font-weight: 600; }
- header p { margin: 6px 0 0; font-size: 13px; color: #8b949e; max-width: 860px; line-height: 1.5; }
- nav.jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 32px 4px; position: sticky; top: 0; background: rgba(10,12,16,0.92); z-index: 50; backdrop-filter: blur(4px); border-bottom: 1px solid #21262d; padding-bottom: 12px; }
- nav.jump a { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #8b949e; text-decoration: none; border: 1px solid #21262d; border-radius: 999px; padding: 4px 10px; }
- nav.jump a:hover { color: #e6edf3; border-color: #8b949e; }
- .list { display: flex; flex-direction: column; gap: 30px; padding: 22px 32px 60px; }
- .tile { border-radius: 12px; overflow: hidden; border: 1px solid #21262d; background: #11151a; }
- .tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 18px; }
- .tile-head .nm { font-size: 16px; font-weight: 600; }
- .tile-head .meta { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #8b949e; text-align: right; }
- .screen-wrap { position: relative; width: 100%; }
- .stage { position: absolute; left: 0; top: 0; width: 1380px; display: flex; flex-direction: column; gap: 20px; transform-origin: top left; font-size: 13px; padding: 18px; }
-
- .pmodal { border: 1px solid; display: flex; flex-direction: column; overflow: hidden; }
- .phead { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-bottom: 1px solid; flex-shrink: 0; }
- .phead .ttl { position: absolute; left: 16px; display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
- .phead .x { position: absolute; right: 14px; opacity: 0.6; font-size: 14px; }
- .phead .acts { display: flex; align-items: center; gap: 8px; }
- .btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; font-size: 11.5px; font-weight: 600; border: 1px solid; line-height: 1; white-space: nowrap; }
- .colhead { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-bottom: 1px solid; font-size: 11.5px; font-weight: 600; flex-shrink: 0; }
- .datacard { border: 1px solid; border-left-width: 4px; padding: 10px; }
- .dc-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; }
- .chip { display: inline-flex; align-items: center; height: 17px; padding: 0 6px; font-size: 9.5px; font-weight: 500; border: 1px solid; white-space: nowrap; }
- .jsonblk { border: 1px solid; overflow: hidden; }
- .jsonblk .lbl { padding: 5px 10px; font-size: 10px; font-weight: 600; border-bottom: 1px solid; }
- .jsonblk pre { margin: 0; padding: 9px 10px; font-size: 10.5px; line-height: 1.45; white-space: pre-wrap; }
- .flabel { display: block; font-size: 11px; font-weight: 500; margin-bottom: 4px; }
- .finput { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 10px; border: 1px solid; font-size: 11px; }
- .ftext { padding: 8px 10px; border: 1px solid; font-size: 10.5px; line-height: 1.5; }
- .slider { position: relative; height: 16px; display: flex; align-items: center; }
- .slider .tr { position: absolute; left: 0; right: 0; height: 5px; border-radius: 99px; border: 1px solid; }
- .slider .fl { position: absolute; left: 0; height: 5px; border-radius: 99px; }
- .slider .th { position: absolute; width: 13px; height: 13px; border-radius: 50%; border: 2px solid; }
- .acc { border: 1px solid; overflow: hidden; }
- .acc .ahead { display: flex; align-items: center; gap: 7px; padding: 9px 12px; font-size: 11.5px; font-weight: 600; }
- .acc .abody { padding: 10px 12px; border-top: 1px solid; }
- .prog { height: 7px; border-radius: 99px; overflow: hidden; border: 1px solid; }
- .prog .pf { height: 100%; }
- .stat .st { font-size: 9.5px; }
- .stat .sv { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
- .skcard { display: flex; align-items: flex-start; gap: 9px; border: 1px solid; border-left-width: 3px; padding: 8px 10px; }
- .skcard .ictile { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
- .switch { position: relative; width: 30px; height: 17px; border-radius: 999px; border: 1px solid; flex-shrink: 0; }
- .switch .knob { position: absolute; top: 2px; width: 11px; height: 11px; border-radius: 50%; }
- .srow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
- .srow .sl { font-size: 11.5px; font-weight: 500; }
- .srow .sd { font-size: 9.5px; margin-top: 1px; line-height: 1.35; }
- .sect { border: 1px solid; padding: 12px; }
- .sect-h { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid; font-size: 12.5px; font-weight: 600; }
- .sect-h .it { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
- .skrow { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-left: 3px solid transparent; font-size: 11px; }
- .cb { width: 13px; height: 13px; border: 1px solid; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; }
- .avat { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
- .toast { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid; font-size: 11px; font-weight: 500; }
-</style>
-</head>
-<body>
-<header>
- <h1>OpenCompany — every workspace panel, all twelve themes</h1>
- <p>Every surface per theme — the <b>workspace chrome</b> (top toolbar, workflow sidebar, component palette, console dock, status bar), the three-column <b>Node Configuration</b> panel (Input · Parameters with Token Usage + Connected Skills · Output), the split <b>Master Skill Editor</b>, the <b>Settings</b> panel, <b>API Credentials</b>, and the <b>Clear Memory</b> dialog + toasts. UI copy uses each theme's readable body font; decorative display faces appear only in tile headers.</p>
-</header>
-<nav class="jump" id="jump"></nav>
-<div class="list" id="list"></div>
-
-<script>
-const THEMES = [
- { name: 'Light', tag: 'default · Geist · radius 6–8', bg: '#f5f7fa', panel: '#fafbfc', card: '#ffffff', elevated: '#ffffff', fg: '#1a1d21', muted: '#4b5563', faint: '#9ca3af', border: '#d1d5db',
- body: "'Geist',sans-serif", mono: "'JetBrains Mono',monospace", r: 6,
- run: '#15803d', runBg: 'rgba(80,250,123,0.15)', runBc: 'rgba(80,250,123,0.6)', stop: '#be185d', stopBg: 'rgba(255,121,198,0.15)', stopBc: 'rgba(255,121,198,0.6)',
- save: '#0e7490', saveBg: 'rgba(139,233,253,0.15)', saveBc: 'rgba(139,233,253,0.6)', config: '#c2410c', configBg: 'rgba(255,184,108,0.15)', configBc: 'rgba(255,184,108,0.6)',
- tools: '#7c3aed', toolsBg: 'rgba(189,147,249,0.15)', toolsBc: 'rgba(189,147,249,0.6)',
- primary: '#2563eb', onPrimary: '#ffffff', agent: '#bd93f9', model: '#8be9fd', tool: '#50fa7b', trig: '#ff79c6', ok: '#059669', warn: '#d97706', err: '#dc2626', info: '#0891b2',
- display: "'Geist',sans-serif" },
- { name: 'Dark', tag: 'signature · Solarized + Dracula', bg: '#002b36', panel: '#073642', card: '#073642', elevated: '#0d1f2d', fg: '#f8f8f2', muted: '#94a8d6', faint: '#6272a4', border: '#586e75',
- body: "'Geist',sans-serif", mono: "'JetBrains Mono',monospace", r: 6,
- run: '#50fa7b', runBg: 'rgba(80,250,123,0.15)', runBc: 'rgba(80,250,123,0.6)', stop: '#ff79c6', stopBg: 'rgba(255,121,198,0.15)', stopBc: 'rgba(255,121,198,0.6)',
- save: '#8be9fd', saveBg: 'rgba(139,233,253,0.15)', saveBc: 'rgba(139,233,253,0.6)', config: '#ffb86c', configBg: 'rgba(255,184,108,0.15)', configBc: 'rgba(255,184,108,0.6)',
- tools: '#bd93f9', toolsBg: 'rgba(189,147,249,0.15)', toolsBc: 'rgba(189,147,249,0.6)',
- primary: '#268bd2', onPrimary: '#f8f8f2', agent: '#bd93f9', model: '#8be9fd', tool: '#50fa7b', trig: '#ff79c6', ok: '#859900', warn: '#b58900', err: '#dc322f', info: '#2aa198',
- display: "'Geist',sans-serif" },
- { name: 'Renaissance', tag: 'illuminated codex · Cormorant body', bg: '#f3e8c8', panel: '#ead09a', card: '#fbf3dc', elevated: '#fbf3dc', fg: '#3a2008', muted: '#6a4a1c', faint: '#9a7a3c', border: '#8a5e1c',
- body: "'Cormorant Garamond',serif", mono: "'IM Fell English',serif", r: 3,
- run: '#8a1410', runBg: 'rgba(212,160,48,0.20)', runBc: '#8a5e1c', stop: '#8a1410', stopBg: 'rgba(138,20,16,0.12)', stopBc: '#8a1410',
- save: '#2548c8', saveBg: 'rgba(37,72,200,0.10)', saveBc: '#2548c8', config: '#6a4a1c', configBg: 'rgba(106,74,28,0.12)', configBc: '#6a4a1c',
- tools: '#d4a030', toolsBg: 'rgba(212,160,48,0.16)', toolsBc: '#8a5e1c',
- primary: '#2548c8', onPrimary: '#fbf3dc', agent: '#2548c8', model: '#5a6a28', tool: '#d4a030', trig: '#8a1410', ok: '#5a6a28', warn: '#b87818', err: '#8a1410', info: '#2548c8',
- display: "'Cinzel',serif" },
- { name: 'Greek', tag: 'marble agora · Cormorant body', bg: '#ede5d0', panel: '#f5efde', card: '#faf6e9', elevated: '#faf6e9', fg: '#2a2415', muted: '#6a5d3c', faint: '#9a8c64', border: '#b8a878',
- body: "'Cormorant Garamond',serif", mono: "'Courier Prime',monospace", r: 1,
- run: '#284b82', runBg: 'rgba(40,75,130,0.12)', runBc: '#284b82', stop: '#7a1a18', stopBg: 'rgba(122,26,24,0.10)', stopBc: '#7a1a18',
- save: '#284b82', saveBg: 'rgba(40,75,130,0.08)', saveBc: '#284b82', config: '#a88430', configBg: 'rgba(200,160,64,0.14)', configBc: '#a88430',
- tools: '#6a7a32', toolsBg: 'rgba(106,122,50,0.12)', toolsBc: '#6a7a32',
- primary: '#284b82', onPrimary: '#faf6e9', agent: '#284b82', model: '#6a7a32', tool: '#c8a040', trig: '#7a1a18', ok: '#6a7a32', warn: '#b87818', err: '#7a1a18', info: '#284b82',
- display: "'Cinzel',serif" },
- { name: 'Edo', tag: 'washi + sumi-e · Shippori Mincho', bg: '#f4ecd8', panel: '#faf3e0', card: '#fdf8ea', elevated: '#fdf8ea', fg: '#1a1410', muted: '#6a5e48', faint: '#9a8c70', border: '#c8b890',
- body: "'Shippori Mincho',serif", mono: "'JetBrains Mono',monospace", r: 0,
- run: '#b41e1e', runBg: 'rgba(180,30,30,0.08)', runBc: '#b41e1e', stop: '#1a1410', stopBg: 'rgba(26,20,16,0.08)', stopBc: '#1a1410',
- save: '#4a6a3a', saveBg: 'rgba(74,106,58,0.10)', saveBc: '#4a6a3a', config: '#6a5e48', configBg: 'rgba(106,94,72,0.10)', configBc: '#6a5e48',
- tools: '#b41e1e', toolsBg: 'rgba(180,30,30,0.06)', toolsBc: '#b41e1e',
- primary: '#b41e1e', onPrimary: '#fdf8ea', agent: '#b41e1e', model: '#4a6a3a', tool: '#4a6a3a', trig: '#e89aa8', ok: '#4a6a3a', warn: '#b87818', err: '#b41e1e', info: '#4a6a3a',
- display: "'Shippori Mincho',serif" },
- { name: 'Steampunk', tag: 'brass & rivets · IM Fell body', bg: '#2a1f12', panel: '#3a2a18', card: '#4a3620', elevated: '#4a3620', fg: '#e8d8b0', muted: '#b8a070', faint: '#8a7448', border: '#6a4a20',
- body: "'IM Fell English',serif", mono: "'Special Elite',monospace", r: 3,
- run: '#d8a848', runBg: 'rgba(216,168,72,0.20)', runBc: '#d8a848', stop: '#b8602a', stopBg: 'rgba(184,96,42,0.18)', stopBc: '#b8602a',
- save: '#d8a848', saveBg: 'rgba(216,168,72,0.12)', saveBc: '#a87830', config: '#b8602a', configBg: 'rgba(184,96,42,0.12)', configBc: '#b8602a',
- tools: '#8a8a4a', toolsBg: 'rgba(138,138,74,0.14)', toolsBc: '#8a8a4a',
- primary: '#d8a848', onPrimary: '#2a1f12', agent: '#d8a848', model: '#b8a070', tool: '#8a8a4a', trig: '#b8602a', ok: '#8a8a4a', warn: '#d8a848', err: '#b8602a', info: '#b8a070',
- display: "'IM Fell English',serif" },
- { name: 'Atomic', tag: '1962 Eames · Lato body', bg: '#f0e6d2', panel: '#faf2dc', card: '#ffffff', elevated: '#ffffff', fg: '#2a3a4a', muted: '#5a6a7a', faint: '#8a96a2', border: '#c8b890',
- body: "'Lato',sans-serif", mono: "'Space Mono',monospace", r: 2,
- run: '#3a9aa0', runBg: 'rgba(58,154,160,0.12)', runBc: '#3a9aa0', stop: '#e85a26', stopBg: 'rgba(232,90,38,0.12)', stopBc: '#e85a26',
- save: '#3a9aa0', saveBg: 'rgba(58,154,160,0.08)', saveBc: '#3a9aa0', config: '#b8882a', configBg: 'rgba(216,168,56,0.14)', configBc: '#b8882a',
- tools: '#e85a26', toolsBg: 'rgba(232,90,38,0.08)', toolsBc: '#e85a26',
- primary: '#3a9aa0', onPrimary: '#ffffff', agent: '#e85a26', model: '#3a9aa0', tool: '#3a9aa0', trig: '#d8a838', ok: '#3a9aa0', warn: '#d8a838', err: '#e85a26', info: '#3a9aa0',
- display: "'Lato',sans-serif" },
- { name: 'Cyber', tag: 'neon market · JetBrains body', bg: '#050010', panel: '#0a0420', card: '#15103a', elevated: '#15103a', fg: '#f0e0ff', muted: '#a090c0', faint: '#6a5a90', border: '#2a1f50',
- body: "'JetBrains Mono',monospace", mono: "'JetBrains Mono',monospace", r: 0,
- run: '#26d97a', runBg: 'rgba(38,217,122,0.14)', runBc: '#26d97a', stop: '#f51eb6', stopBg: 'rgba(245,30,182,0.14)', stopBc: '#f51eb6',
- save: '#1dd9e5', saveBg: 'rgba(29,217,229,0.12)', saveBc: '#1dd9e5', config: '#ffd028', configBg: 'rgba(255,208,40,0.10)', configBc: '#ffd028',
- tools: '#f51eb6', toolsBg: 'rgba(245,30,182,0.10)', toolsBc: '#f51eb6',
- primary: '#1dd9e5', onPrimary: '#050010', agent: '#f51eb6', model: '#1dd9e5', tool: '#26d97a', trig: '#ffd028', ok: '#26d97a', warn: '#ffd028', err: '#f51eb6', info: '#1dd9e5',
- display: "'JetBrains Mono',monospace" },
- { name: 'Wasteland', tag: 'irradiated scrap · Special Elite', bg: '#2a2018', panel: '#3a2c1c', card: '#4a3826', elevated: '#4a3826', fg: '#e8d8a8', muted: '#b89868', faint: '#8a7048', border: '#6a4a28',
- body: "'Special Elite',monospace", mono: "'VT323',monospace", r: 0,
- run: '#c8d038', runBg: 'rgba(200,208,56,0.14)', runBc: '#c8d038', stop: '#e88a28', stopBg: 'rgba(138,58,24,0.20)', stopBc: '#e88a28',
- save: '#d8c8a0', saveBg: 'rgba(216,200,160,0.10)', saveBc: '#b8a880', config: '#e88a28', configBg: 'rgba(232,138,40,0.12)', configBc: '#e88a28',
- tools: '#c8d038', toolsBg: 'rgba(200,208,56,0.10)', toolsBc: '#a8b028',
- primary: '#e88a28', onPrimary: '#2a2018', agent: '#e88a28', model: '#d8c8a0', tool: '#c8d038', trig: '#8a3a18', ok: '#c8d038', warn: '#e88a28', err: '#8a3a18', info: '#d8c8a0',
- display: "'Special Elite',monospace" },
- { name: 'Rot', tag: 'mossy crypt · EB Garamond body', bg: '#14181a', panel: '#1c2226', card: '#242c30', elevated: '#242c30', fg: '#c8d8c0', muted: '#788878', faint: '#4a5a50', border: '#2a3a30',
- body: "'EB Garamond',serif", mono: "'JetBrains Mono',monospace", r: 2,
- run: '#78c878', runBg: 'rgba(120,200,120,0.10)', runBc: '#78c878', stop: '#e8a838', stopBg: 'rgba(232,168,56,0.10)', stopBc: '#e8a838',
- save: '#d8d0b8', saveBg: 'rgba(216,208,184,0.08)', saveBc: '#8a8470', config: '#b8882a', configBg: 'rgba(232,168,56,0.08)', configBc: '#b8882a',
- tools: '#78c878', toolsBg: 'rgba(120,200,120,0.08)', toolsBc: '#588858',
- primary: '#78c878', onPrimary: '#14181a', agent: '#78c878', model: '#788878', tool: '#d8d0b8', trig: '#e8a838', ok: '#78c878', warn: '#e8a838', err: '#c85040', info: '#78c878',
- display: "'EB Garamond',serif" },
- { name: 'Plague', tag: '1349 broadsheet · EB Garamond', bg: '#d8d4c0', panel: '#e4dfc8', card: '#efeacf', elevated: '#efeacf', fg: '#2a1c14', muted: '#6a5440', faint: '#9a8468', border: '#a89478',
- body: "'EB Garamond',serif", mono: "'Special Elite',monospace", r: 0,
- run: '#783c28', runBg: 'rgba(120,60,40,0.12)', runBc: '#783c28', stop: '#1a1410', stopBg: 'rgba(26,20,16,0.10)', stopBc: '#1a1410',
- save: '#6a5440', saveBg: 'rgba(106,84,64,0.10)', saveBc: '#6a5440', config: '#788828', configBg: 'rgba(152,168,56,0.14)', configBc: '#788828',
- tools: '#783c28', toolsBg: 'rgba(120,60,40,0.08)', toolsBc: '#783c28',
- primary: '#783c28', onPrimary: '#efeacf', agent: '#783c28', model: '#6a5440', tool: '#98a838', trig: '#1a1410', ok: '#98a838', warn: '#b87818', err: '#783c28', info: '#6a5440',
- display: "'EB Garamond',serif" },
- { name: 'Surveillance', tag: 'panopticon · IBM Plex Mono', bg: '#1a1c1e', panel: '#232628', card: '#2c3034', elevated: '#2c3034', fg: '#c8ccd0', muted: '#888c90', faint: '#5a5e62', border: '#3a3e42',
- body: "'IBM Plex Mono',monospace", mono: "'IBM Plex Mono',monospace", r: 0,
- run: '#6acc6a', runBg: 'rgba(106,204,106,0.10)', runBc: '#6acc6a', stop: '#e82626', stopBg: 'rgba(232,38,38,0.10)', stopBc: '#e82626',
- save: '#888c90', saveBg: 'rgba(136,140,144,0.10)', saveBc: '#888c90', config: '#d8a020', configBg: 'rgba(216,160,32,0.10)', configBc: '#d8a020',
- tools: '#e82626', toolsBg: 'rgba(232,38,38,0.08)', toolsBc: '#e82626',
- primary: '#6acc6a', onPrimary: '#1a1c1e', agent: '#e82626', model: '#888c90', tool: '#6acc6a', trig: '#d8a020', ok: '#6acc6a', warn: '#d8a020', err: '#e82626', info: '#6acc6a',
- display: "'Anonymous Pro',monospace" },
-];
-
-function mix(hex, pct, baseHex) {
- const h = (x) => [parseInt(x.slice(1,3),16), parseInt(x.slice(3,5),16), parseInt(x.slice(5,7),16)];
- const a = h(hex), b = h(baseHex);
- return `rgb(${a.map((v,i)=>Math.round(v*pct + b[i]*(1-pct))).join(',')})`;
-}
-
-const btn = (t, kind, label) =>
- `<span class="btn" style="background:${t[kind+'Bg']}; border-color:${t[kind+'Bc']}; color:${t[kind]}; border-radius:${t.r}px;">${label}</span>`;
-const solidBtn = (t, label) =>
- `<span class="btn" style="background:${t.primary}; border-color:transparent; color:${t.onPrimary}; border-radius:${t.r}px;">${label}</span>`;
-const validBtn = (t) =>
- `<span class="btn" style="background:${mix(t.ok,0.12,t.card)}; border-color:${mix(t.ok,0.4,t.card)}; color:${t.ok}; border-radius:${t.r}px;">✓ Valid</span>`;
-const chip = (t, color, label) =>
- `<span class="chip" style="background:${mix(color,0.12,t.card)}; border-color:${mix(color,0.35,t.card)}; color:${color}; border-radius:${Math.max(t.r-1,2)}px;">${label}</span>`;
-const sw = (t, on) =>
- `<span class="switch" style="background:${on ? t.primary : mix(t.fg,0.08,t.bg)}; border-color:${on ? 'transparent' : t.border};"><span class="knob" style="left:${on?16:2}px; background:${on ? t.onPrimary : t.faint};"></span></span>`;
-const cbx = (t, on) =>
- `<span class="cb" style="border-radius:${Math.min(t.r,3)}px; border-color:${on?t.primary:t.faint}; background:${on?t.primary:t.elevated}; color:${t.onPrimary};">${on?'✓':''}</span>`;
-const slider = (t, pct, color) => `
- <span class="slider" style="display:block;">
- <span class="tr" style="background:${mix(t.fg,0.06,t.bg)}; border-color:${t.border};"></span>
- <span class="fl" style="width:${pct}%; background:${color};"></span>
- <span class="th" style="left:calc(${pct}% - 7px); background:${t.elevated}; border-color:${color};"></span>
- </span>`;
-const jsonBlk = (t, label, body, bodyColor) => `
- <div class="jsonblk" style="border-color:${t.border}; border-radius:${t.r}px;">
- <div class="lbl" style="background:${mix(t.fg,0.05,t.card)}; border-color:${t.border}; color:${t.muted}; font-family:${t.body};">${label}</div>
- <pre style="font-family:${t.mono}; color:${bodyColor || t.fg}; background:${mix(t.fg,0.02,t.card)};">${body}</pre>
- </div>`;
-const dataCard = (t, tone, title, badgeTxt, blkLabel, blkBody) => `
- <div class="datacard" style="border-color:${t.border}; border-left-color:${tone}; background:${t.card}; border-radius:${t.r}px;">
- <div class="dc-head" style="color:${t.fg}; font-family:${t.body};">
- <span style="color:${tone};">▣</span> ${title} ${badgeTxt ? chip(t, tone, badgeTxt) : ''}
- <span style="margin-left:auto; color:${t.muted}; font-weight:500; font-size:10px;">⧉ Copy</span>
- </div>
- ${jsonBlk(t, blkLabel, blkBody)}
- </div>`;
-const phead = (t, icon, title, actsHtml) => `
- <div class="phead" style="background:${t.panel}; border-color:${t.border};">
- <span class="ttl" style="color:${t.fg}; font-family:${t.body};"><span style="opacity:0.65;">${icon}</span> ${title}</span>
- <span class="acts">${actsHtml}</span>
- <span class="x" style="color:${t.muted};">✕</span>
- </div>`;
-const colhead = (t, icon, text) =>
- `<div class="colhead" style="background:${t.panel}; border-color:${t.border}; color:${t.fg}; font-family:${t.body};">${icon} ${text}</div>`;
-const accHead = (t, icon, title, right) => `
- <div class="ahead" style="background:${t.elevated}; color:${t.fg}; font-family:${t.body};">${icon} ${title}<span style="margin-left:auto; display:flex; align-items:center; gap:6px;">${right || ''}<span style="color:${t.muted};">⌄</span></span></div>`;
-const stat = (t, title, value) =>
- `<span class="stat" style="display:flex; flex-direction:column;"><span class="st" style="color:${t.muted};">${title}</span><span class="sv" style="color:${t.fg}; font-family:${t.mono};">${value}</span></span>`;
-const skCard = (t, color, icon, name, desc) => `
- <div class="skcard" style="border-color:${t.border}; border-left-color:${color}; background:${mix(t.fg,0.03,t.card)}; border-radius:${t.r}px;">
- <span class="ictile" style="background:${mix(color,0.12,t.card)}; color:${color}; border-radius:${t.r}px;">${icon}</span>
- <span style="min-width:0; flex:1;">
- <div style="font-size:11px; font-weight:600; color:${t.fg}; font-family:${t.body};">${name}</div>
- <div style="font-size:9.5px; color:${t.muted}; font-family:${t.body}; line-height:1.35;">${desc}</div>
- </span>
- ${chip(t, t.ok, 'Active')}
- </div>`;
-const skRow = (t, on, icon, name, opts = {}) => `
- <div class="skrow" style="font-family:${t.body}; color:${on ? t.fg : t.muted}; ${opts.sel ? `background:${mix(opts.color || t.tools, 0.10, t.elevated)}; border-left-color:${opts.color || t.tools}; font-weight:600;` : ''} border-bottom:1px solid ${mix(t.border,0.5,t.elevated)};">
- ${cbx(t, on)} <span>${icon}</span> <span style="flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">${name}</span>
- ${opts.customized ? `<span style="width:7px; height:7px; border-radius:99px; background:${t.warn}; flex-shrink:0;" title="Customized"></span>` : ''}
- ${opts.custom ? chip(t, t.info, 'Custom') : ''}
- </div>`;
-const srow = (t, label, desc, ctrl) => `
- <div class="srow">
- <span style="min-width:0;"><div class="sl" style="color:${t.fg}; font-family:${t.body};">${label}</div><div class="sd" style="color:${t.muted}; font-family:${t.body};">${desc}</div></span>
- ${ctrl}
- </div>`;
-const sectH = (t, color, icon, title) => `
- <div class="sect-h" style="border-color:${t.border}; color:${t.fg}; font-family:${t.body};">
- <span class="it" style="background:${mix(color,0.1,t.elevated)}; color:${color}; border-radius:${t.r}px;">${icon}</span> ${title}
- </div>`;
-
-function nodeConfigPanel(t) {
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.bg}; border-radius:${t.r+2}px; height:560px;">
- ${phead(t, '⚙', 'Node Configuration', `
- <span style="display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:${t.fg}; font-family:${t.body}; margin-right:10px;">🤖 AI Agent <span style="color:${t.warn};">*</span></span>
- ${btn(t,'run','▶ Run')} ${btn(t,'tools','Save')} ${btn(t,'stop','✕ Cancel')}`)}
- <div style="display:flex; flex:1; min-height:0;">
- <div style="flex:0 0 300px; display:flex; flex-direction:column; border-right:1px solid ${t.border};">
- ${colhead(t, '🔗', 'Input Data (1 item)')}
- <div style="flex:1; padding:10px; overflow:hidden;">
- ${dataCard(t, t.ok, 'Item 1', 'from WhatsApp Receive', 'Received Data', '{\n "message": "What is on my\n calendar today?",\n "from": "+1 555 014 2236"\n}')}
- </div>
- <div style="padding:7px 12px; border-top:1px solid ${t.border}; font-size:9.5px; color:${t.muted}; font-family:${t.body};">Shows actual data received by this node during execution</div>
- </div>
- <div style="flex:1; min-width:0; display:flex; flex-direction:column;">
- ${colhead(t, '🎛', 'Parameters')}
- <div style="padding:8px 14px 4px; border-bottom:1px solid ${t.border}; background:${t.panel}; font-size:10.5px; color:${t.muted}; font-family:${t.body};">LangGraph agent with memory, skills and tool delegation</div>
- <div style="flex:1; min-height:0; overflow:hidden; padding:12px 14px; display:flex; flex-direction:column; gap:10px;">
- <div class="sect" style="border-color:${t.border}; background:${t.elevated}; border-radius:${t.r}px; display:flex; flex-direction:column; gap:9px;">
- <span><span class="flabel" style="color:${t.fg}; font-family:${t.body};">Model</span>
- <span class="finput" style="border-color:${t.border}; background:${mix(t.fg,0.02,t.elevated)}; color:${t.fg}; font-family:${t.body}; border-radius:${t.r}px;">claude-sonnet-4-5 <span style="color:${t.muted};">⌄</span></span></span>
- <span><span class="flabel" style="color:${t.fg}; font-family:${t.body};">System Prompt</span>
- <span class="ftext" style="display:block; border-color:${t.border}; background:${mix(t.fg,0.02,t.elevated)}; color:${t.fg}; font-family:${t.body}; border-radius:${t.r}px;">You are a personal assistant with access to my calendar, email, and messages. Answer briefly and take action when asked.</span></span>
- <span><span style="display:flex; justify-content:space-between;"><span class="flabel" style="color:${t.fg}; font-family:${t.body};">Temperature</span><span style="font-family:${t.mono}; font-size:10.5px; color:${t.model};">0.70</span></span>
- ${slider(t, 70, t.model)}</span>
- </div>
- <div class="acc" style="border-color:${t.border}; border-radius:${t.r}px;">
- ${accHead(t, '⚡', 'Token Usage', `<span style="font-size:9.5px; color:${t.muted}; font-family:${t.mono};">82K / 200K context</span>`)}
- <div class="abody" style="border-color:${t.border}; background:${t.card};">
- <div class="prog" style="background:${mix(t.fg,0.06,t.card)}; border-color:${t.border};"><div class="pf" style="width:41%; background:${t.model};"></div></div>
- <div style="font-size:9px; color:${t.muted}; margin-top:3px; font-family:${t.body};">Compaction at 160K (80% of context)</div>
- <div style="display:flex; gap:26px; margin-top:8px;">
- ${stat(t,'Total','82,114')} ${stat(t,'Threshold ✎','160,000')} ${stat(t,'Compactions','2')} ${stat(t,'Context','200K')}
- </div>
- <div style="font-size:9px; color:${t.muted}; margin-top:6px; font-family:${t.mono};">Session: agent_2YxK</div>
- </div>
- </div>
- </div>
- </div>
- <div style="flex:0 0 300px; display:flex; flex-direction:column; border-left:1px solid ${t.border};">
- ${colhead(t, '➡', 'Output')}
- <div style="flex:1; padding:10px; display:flex; flex-direction:column; gap:10px; overflow:hidden;">
- ${dataCard(t, t.ok, 'Execution Result', 'Success · 1.9s', 'Response', '{\n "response": "You have 2\n events today: standup at\n 10:00, dentist at 15:30."\n}')}
- <div class="acc" style="border-color:${t.border}; border-radius:${t.r}px;">
- ${accHead(t, '✦', 'Connected Skills', chip(t, t.tools, '2'))}
- <div class="abody" style="border-color:${t.border}; background:${t.card}; display:flex; flex-direction:column; gap:7px;">
- ${skCard(t, t.tool, '🔍', 'Web Search', 'Search the web via DuckDuckGo')}
- ${skCard(t, t.tool, '📱', 'Android Toolkit', '16 device services')}
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>`;
-}
-
-function masterSkillPanel(t) {
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.bg}; border-radius:${t.r+2}px; height:430px;">
- ${phead(t, '⚙', 'Node Configuration', `
- <span style="display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:${t.fg}; font-family:${t.body}; margin-right:10px;">📚 Master Skill</span>
- ${btn(t,'run','▶ Run')} ${btn(t,'tools','Save')} ${btn(t,'stop','✕ Cancel')}`)}
- <div style="display:flex; flex:1; min-height:0; gap:10px; padding:10px;">
- <div style="flex:0 0 250px; display:flex; flex-direction:column; border:1px solid ${t.border}; background:${t.elevated}; border-radius:${t.r}px; overflow:hidden;">
- <div style="display:flex; align-items:center; justify-content:space-between; padding:7px 10px; border-bottom:1px solid ${t.border}; background:${t.panel};">
- <span style="font-size:11.5px; font-weight:600; color:${t.fg}; font-family:${t.body};">Skills</span>
- <span style="display:flex; gap:5px; align-items:center;">
- <span style="min-width:17px; height:17px; border-radius:99px; background:${t.tools}; color:${t.bg}; font-size:9.5px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; padding:0 4px; font-family:${t.mono};">3</span>
- ${btn(t,'tools','+')}
- </span>
- </div>
- <div style="padding:7px; border-bottom:1px solid ${t.border};"><span class="finput" style="border-color:${t.border}; background:${mix(t.fg,0.02,t.elevated)}; color:${t.faint}; font-family:${t.body}; border-radius:${t.r}px;">⌕ Search skills...</span></div>
- <div style="padding:7px; border-bottom:1px solid ${t.border};"><span class="finput" style="border-color:${t.border}; background:${mix(t.fg,0.02,t.elevated)}; color:${t.fg}; font-family:${t.body}; border-radius:${t.r}px;">🗀 assistant (12) <span style="color:${t.muted};">⌄</span></span></div>
- <div style="flex:1; overflow:hidden;">
- ${skRow(t, true, '📅', 'calendar-skill', { sel: true, color: t.tools, customized: true })}
- ${skRow(t, true, '✉️', 'email-skill')}
- ${skRow(t, true, '💬', 'whatsapp-skill')}
- ${skRow(t, false, '🌐', 'browser-skill')}
- ${skRow(t, false, '🗂️', 'files-skill')}
- ${skRow(t, false, '🧪', 'my-research-skill', { custom: true })}
- </div>
- </div>
- <div style="flex:1; min-width:0; display:flex; flex-direction:column; border:1px solid ${t.border}; background:${t.elevated}; border-radius:${t.r}px; overflow:hidden;">
- <div style="display:flex; align-items:center; gap:9px; padding:8px 11px; border-bottom:1px solid ${t.border}; background:${t.panel};">
- <span style="font-size:16px;">📅</span>
- <span style="flex:1;">
- <div style="font-size:11.5px; font-weight:600; color:${t.fg}; font-family:${t.body}; display:flex; align-items:center; gap:6px;">calendar-skill ${chip(t, t.warn, 'Customized')}</div>
- <div style="font-size:9.5px; color:${t.muted}; font-family:${t.body};">Read and create calendar events</div>
- </span>
- ${btn(t,'config','↺ Reset')}
- </div>
- <div style="flex:1; min-height:0; padding:9px; display:flex; flex-direction:column; gap:8px;">
- <div style="flex:1; border:1px solid ${t.border}; background:${mix(t.fg,0.02,t.elevated)}; border-radius:${t.r}px; padding:9px 11px; font-family:${t.mono}; font-size:10.5px; line-height:1.55; color:${t.fg}; overflow:hidden;"># Calendar Skill
-
-When the user asks about their schedule:
-1. Call \`calendar.list_events\` with the date range
-2. Summarize events chronologically, flag conflicts
-3. For new events, confirm title + time before creating</div>
- <div class="toast" style="background:${mix(t.info,0.08,t.elevated)}; border-color:${mix(t.info,0.35,t.elevated)}; color:${t.fg}; font-family:${t.body}; border-radius:${t.r}px;">
- <span style="color:${t.info};">ⓘ</span> Enable this skill to include it when running the AI Agent.
- </div>
- </div>
- </div>
- </div>
- </div>`;
-}
-
-function settingsPanel(t) {
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.bg}; border-radius:${t.r+2}px; height:430px;">
- ${phead(t, '⚙', 'Settings', `${btn(t,'config','↺ Reset')} ${btn(t,'run','Save')} ${btn(t,'stop','✕ Close')}`)}
- <div style="flex:1; min-height:0; overflow:hidden; padding:11px; display:flex; flex-direction:column; gap:10px;">
- <div class="sect" style="border-color:${t.border}; background:${t.elevated}; border-radius:${t.r}px;">
- ${sectH(t, t.agent, '🖥', 'UI Defaults')}
- ${srow(t, 'Sidebar Open by Default', 'Show the sidebar panel when the application starts', sw(t,true))}
- ${srow(t, 'Auto-add Skill for Connected Tools', 'Enable the matching skill when a tool node connects to an agent', sw(t,true))}
- </div>
- <div class="sect" style="border-color:${t.border}; background:${t.elevated}; border-radius:${t.r}px;">
- ${sectH(t, t.model, '💾', 'Auto-save')}
- ${srow(t, 'Enable Auto-save', 'Automatically save the workflow at regular intervals', sw(t,true))}
- ${srow(t, 'Auto-save Interval', 'How often to auto-save (10-300 seconds)', `<span class="finput" style="width:70px; border-color:${t.border}; background:${mix(t.fg,0.02,t.elevated)}; color:${t.fg}; font-family:${t.mono}; border-radius:${t.r}px;">30 <span style="color:${t.muted}; font-size:9px;">s</span></span>`)}
- </div>
- <div class="sect" style="border-color:${t.border}; background:${t.elevated}; border-radius:${t.r}px;">
- ${sectH(t, t.agent, '🧠', 'Memory & Compaction')}
- <div style="display:flex; justify-content:space-between; align-items:baseline;">
- <span class="sl" style="color:${t.fg}; font-family:${t.body}; font-size:11.5px; font-weight:500;">Compaction Ratio</span>
- <span style="font-family:${t.mono}; font-size:11.5px; font-weight:600; color:${t.model};">80%</span>
- </div>
- <div style="margin:8px 0 3px;">${slider(t, 80, t.model)}</div>
- <div style="display:flex; justify-content:space-between; font-size:8.5px; color:${t.muted}; font-family:${t.mono};"><span>5%</span><span>50%</span><span>95%</span></div>
- </div>
- </div>
- </div>`;
-}
-
-function credsPanel(t) {
- const row = (letter, color, name, masked, stored) => `
- <div style="display:flex; align-items:center; gap:8px;">
- <span class="avat" style="background:${mix(color,0.15,t.card)}; color:${color}; border-radius:${t.r}px;">${letter}</span>
- <span style="width:64px; font-size:11px; font-weight:500; color:${t.fg}; font-family:${t.body}; flex-shrink:0;">${name}</span>
- <span class="finput" style="flex:1; border-color:${t.border}; background:${mix(t.fg,0.02,t.card)}; color:${stored ? t.fg : t.faint}; font-family:${t.mono}; border-radius:${t.r}px;">${masked} <span style="color:${t.faint};">👁</span></span>
- ${stored ? validBtn(t) : solidBtn(t, 'Validate')}
- ${stored ? `<span class="btn" style="background:${mix(t.err,0.1,t.card)}; border-color:transparent; color:${t.err}; border-radius:${t.r}px; padding:6px 8px;">🗑</span>` : ''}
- </div>`;
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.bg}; border-radius:${t.r+2}px; height:430px;">
- ${phead(t, '🔑', 'API Credentials', btn(t,'stop','✕ Close'))}
- <div style="flex:1; padding:12px; display:flex; flex-direction:column; gap:10px; overflow:hidden;">
- <div style="font-size:10px; color:${t.muted}; font-family:${t.body}; line-height:1.45;">Bring your own keys — stored locally, never leave your machine.</div>
- ${row('A', t.config, 'Anthropic', '••••••••••••••••3f2a', true)}
- ${row('O', t.model, 'Open AI', 'Enter API key...', false)}
- ${row('G', t.trig, 'Groq', 'Enter API key...', false)}
- ${row('G', t.tool, 'Google', '••••••••••••••••9c1d', true)}
- <div style="border-top:1px solid ${t.border}; padding-top:9px; margin-top:2px; display:flex; flex-direction:column; gap:8px;">
- <div class="toast" style="background:${mix(t.ok,0.08,t.card)}; border-color:${mix(t.ok,0.35,t.card)}; color:${t.fg}; font-family:${t.body}; border-radius:${t.r}px;">
- <span style="color:${t.ok};">✓</span> Anthropic key validated
- </div>
- <div class="toast" style="background:${mix(t.err,0.08,t.card)}; border-color:${mix(t.err,0.35,t.card)}; color:${t.fg}; font-family:${t.body}; border-radius:${t.r}px;">
- <span style="color:${t.err};">✕</span> Groq validation failed — check the key
- </div>
- </div>
- </div>
- </div>`;
-}
-
-function alertDialog(t) {
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.elevated}; border-radius:${t.r+2}px; height:430px; justify-content:center; align-items:center; background:${mix(t.fg, 0.04, t.bg)};">
- <div style="width:300px; border:1px solid ${t.border}; background:${t.elevated}; border-radius:${t.r+2}px; padding:16px; box-shadow:0 14px 40px rgba(0,0,0,0.3);">
- <div style="font-size:13px; font-weight:600; color:${t.fg}; font-family:${t.body};">Clear Conversation Memory</div>
- <div style="font-size:10.5px; color:${t.muted}; font-family:${t.body}; line-height:1.5; margin-top:6px;">This will reset the conversation history to its initial state. This action cannot be undone.</div>
- <div style="display:flex; align-items:center; gap:7px; margin-top:11px; font-size:10.5px; color:${t.fg}; font-family:${t.body};">
- ${cbx(t, false)} Also clear long-term memory (vector store)
- </div>
- <div style="display:flex; justify-content:flex-end; gap:7px; margin-top:15px;">
- <span class="btn" style="background:transparent; border-color:${t.border}; color:${t.fg}; border-radius:${t.r}px; font-family:${t.body};">Cancel</span>
- <span class="btn" style="background:${t.err}; border-color:transparent; color:${t.onPrimary === t.fg ? t.bg : '#fff'}; border-radius:${t.r}px; font-family:${t.body};">Clear Memory</span>
- </div>
- </div>
- </div>`;
-}
-
-const list = document.getElementById('list');
-const jump = document.getElementById('jump');
-
-// ---- Workspace chrome panels (top toolbar, sidebar, palette, console, status) ----
-const wfCard = (t, name, nodes, when, sel) => `
- <div style="border:1px solid ${sel?t.primary:t.border}; ${sel?`border-left:3px solid ${t.primary}; background:${mix(t.primary,0.1,t.card)};`:`background:${t.card};`} border-radius:${t.r}px; padding:8px 10px;">
- <div style="display:flex; align-items:center; gap:7px;">
- <span style="width:22px;height:22px;border:1px solid ${sel?t.primary:t.border}; border-radius:${Math.max(t.r-2,0)}px; display:flex;align-items:center;justify-content:center;color:${sel?t.primary:t.muted}; font-size:10px;">‹›</span>
- <span style="flex:1; font-size:11.5px; font-weight:500; color:${sel?t.primary:t.fg}; font-family:${t.body}; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">${name}</span>
- </div>
- <div style="display:flex; justify-content:space-between; margin-top:5px; font-size:9.5px; color:${t.muted}; font-family:${t.mono};"><span>${nodes} nodes</span><span>${when}</span></div>
- </div>`;
-const compItem = (t, icon, name, desc) => `
- <div style="display:flex; align-items:center; gap:8px; padding:7px 9px; border:1px solid ${t.border}; background:${t.bg}; border-radius:${t.r}px;">
- <span style="width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:14px;border:1px solid ${t.border}; background:${t.card}; border-radius:${Math.max(t.r-1,0)}px;">${icon}</span>
- <span style="min-width:0;"><div style="font-size:11px; font-weight:500; color:${t.fg}; font-family:${t.body}; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">${name}</div><div style="font-size:9px; color:${t.muted}; font-family:${t.body}; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">${desc}</div></span>
- </div>`;
-const vdiv = (t) => `<span style="width:1px; height:22px; background:${t.border};"></span>`;
-
-function toolbarPanel(t) {
- return `
- <div style="display:flex; align-items:center; justify-content:space-between; gap:10px; height:46px; padding:0 12px; background:${t.panel}; border:1px solid ${t.border}; border-radius:${t.r+2}px;">
- <span style="display:flex; align-items:center; gap:7px;">
- ${btn(t,'save','☰')} ${vdiv(t)} ${btn(t,'save','▤ File ⌄')}
- </span>
- <span style="display:flex; align-items:center; gap:6px;">
- <span style="font-size:13px; font-weight:600; color:${t.fg}; font-family:${t.body};">WhatsApp Assistant</span>
- <span style="color:${t.muted}; font-size:10px;">✎</span>
- </span>
- <span style="display:flex; align-items:center; gap:6px;">
- <span style="display:inline-flex; border:1px solid ${t.border}; border-radius:${t.r+1}px; padding:2px; gap:2px; background:${t.card};">
- <span class="btn" style="background:${mix(t.tool,0.1,t.card)}; border-color:${mix(t.tool,0.35,t.card)}; color:${t.tool}; border-radius:${Math.max(t.r-2,0)}px; padding:5px 9px; font-size:10.5px;">◷ Normal</span>
- <span class="btn" style="background:transparent; border-color:transparent; color:${t.muted}; border-radius:${Math.max(t.r-2,0)}px; padding:5px 9px; font-size:10.5px;">⚡ Dev</span>
- </span>
- ${vdiv(t)}
- ${btn(t,'config','⚙')} ${btn(t,'config','🔑')}
- ${vdiv(t)}
- ${btn(t,'run','▶ Start')} ${btn(t,'save','Save')}
- <span style="display:inline-flex; align-items:center; gap:5px; font-family:${t.mono}; font-size:10.5px; color:${t.warn};"><span style="width:7px;height:7px;border-radius:50%;background:${t.warn};"></span>Modified</span>
- ${vdiv(t)}
- ${btn(t,'tools','▦')}
- </span>
- </div>`;
-}
-
-function sidebarPanel(t) {
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.panel}; border-radius:${t.r+2}px; height:236px;">
- <div style="padding:11px 13px; border-bottom:1px solid ${t.border}; background:${t.bg};">
- <div style="font-size:13px; font-weight:600; color:${t.fg}; font-family:${t.body};">Workflows</div>
- <div style="font-size:9.5px; color:${t.muted}; font-family:${t.mono};">3 saved</div>
- </div>
- <div style="padding:9px; display:flex; flex-direction:column; gap:7px;">
- ${wfCard(t,'WhatsApp Assistant',6,'Jun 11, 09:14',true)}
- ${wfCard(t,'Daily Email Digest',5,'Jun 9, 18:30',false)}
- ${wfCard(t,'Customer Support Bot',9,'Jun 5, 11:02',false)}
- </div>
- </div>`;
-}
-
-function palettePanel(t) {
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.panel}; border-radius:${t.r+2}px; height:236px;">
- <div style="padding:11px 13px; border-bottom:1px solid ${t.border}; background:${t.bg};">
- <div style="display:flex; align-items:center; justify-content:space-between;"><span style="font-size:13px; font-weight:600; color:${t.fg}; font-family:${t.body};">Components</span>${chip(t,t.tools,'14')}</div>
- <div style="margin-top:8px;"><span class="finput" style="border-color:${t.border}; background:${t.card}; color:${t.faint}; font-family:${t.body}; border-radius:${t.r}px;">⌕ Search... <span></span></span></div>
- </div>
- <div style="padding:9px; display:flex; flex-direction:column; gap:7px;">
- <div style="display:flex; align-items:center; justify-content:space-between; font-size:10.5px; font-weight:600; color:${t.fg}; font-family:${t.body}; padding:0 2px;"><span>🤖 AI</span>${chip(t,t.agent,'3')}</div>
- ${compItem(t,'🤖','AI Agent','LangGraph agent with memory')}
- ${compItem(t,'💬','WhatsApp Send','Send a WhatsApp message')}
- </div>
- </div>`;
-}
-
-function consolePanel(t) {
- const line = (time, color, txt) => `<span><span style="color:${t.faint};">[${time}]</span> <span style="color:${color};">${txt}</span></span>`;
- return `
- <div class="pmodal" style="border-color:${t.border}; background:${t.panel}; border-radius:${t.r+2}px; height:236px;">
- <div style="display:flex; gap:2px; padding:0 8px; border-bottom:1px solid ${t.border};">
- <span style="padding:9px 11px; font-size:11px; color:${t.muted}; font-family:${t.body};">Chat</span>
- <span style="padding:9px 11px; font-size:11px; font-weight:600; color:${t.info}; border-bottom:2px solid ${t.info}; font-family:${t.body};">Console</span>
- <span style="padding:9px 11px; font-size:11px; color:${t.muted}; font-family:${t.body};">Terminal</span>
- </div>
- <div style="flex:1; padding:9px 12px; background:${t.bg}; display:flex; flex-direction:column; gap:4px; font-family:${t.mono}; font-size:10px; line-height:1.5; overflow:hidden;">
- ${line('12:01:31', t.muted, 'Workflow "WhatsApp Assistant" loaded · 6 nodes')}
- ${line('12:01:33', t.ok, 'Deployed — listening for incoming messages')}
- ${line('12:04:02', t.model, 'WhatsApp Receive → message from +1 (555) 014-2236')}
- ${line('12:04:03', t.agent, 'AI Agent → delegating to Android Toolkit')}
- ${line('12:04:05', t.ok, 'WhatsApp Send → reply delivered (1.9s)')}
- </div>
- </div>`;
-}
-
-function statusBar(t) {
- return `
- <div style="display:flex; align-items:center; gap:10px; height:24px; padding:0 12px; background:${t.panel}; border:1px solid ${t.border}; border-radius:${t.r}px; font-family:${t.mono}; font-size:10px; letter-spacing:0.04em; text-transform:uppercase; color:${t.muted}; white-space:nowrap;">
- <span style="color:${t.ok}; display:flex; align-items:center;"><span style="width:6px;height:6px;border-radius:50%;background:${t.ok}; margin-right:5px;"></span>ONLINE</span>
- <span style="opacity:0.4;">|</span><span>WF: <span style="color:${t.fg};">WhatsApp Assistant</span></span>
- <span style="opacity:0.4;">|</span><span>NODES: <span style="color:${t.fg};">6</span></span>
- <span style="margin-left:auto; display:flex; gap:10px;"><span>THEME: <span style="color:${t.fg};">${t.name.toUpperCase()}</span></span><span style="opacity:0.4;">|</span><span>14:02:33</span></span>
- </div>`;
-}
-
-const sectionLabel = (txt) => `<div style="font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.08em; text-transform:uppercase; opacity:0.7; color:currentColor;">${txt}</div>`;
-
-THEMES.forEach((t) => {
- const a = document.createElement('a');
- a.href = '#pt-' + t.name; a.textContent = t.name;
- jump.appendChild(a);
-
- const tile = document.createElement('div');
- tile.className = 'tile';
- tile.id = 'pt-' + t.name;
- tile.innerHTML = `
- <div class="tile-head">
- <span class="nm" style="font-family:${t.display};">${t.name}</span>
- <span class="meta">${t.tag}</span>
- </div>
- <div class="screen-wrap">
- <div class="stage" style="background:${mix(t.fg, 0.03, t.bg)}; color:${t.muted};">
- ${sectionLabel('Top toolbar')}
- ${toolbarPanel(t)}
- ${sectionLabel('Workflow sidebar · component palette · console dock')}
- <div style="display:grid; grid-template-columns: 0.85fr 1fr 1.15fr; gap:20px;">
- ${sidebarPanel(t)}
- ${palettePanel(t)}
- ${consolePanel(t)}
- </div>
- ${statusBar(t)}
- ${sectionLabel('Node configuration panel')}
- ${nodeConfigPanel(t)}
- ${sectionLabel('Master skill editor · settings')}
- <div style="display:grid; grid-template-columns: 1.45fr 1fr; gap:20px;">
- ${masterSkillPanel(t)}
- ${settingsPanel(t)}
- </div>
- ${sectionLabel('API credentials · confirm dialog')}
- <div style="display:grid; grid-template-columns: 1.45fr 1fr; gap:20px;">
- ${credsPanel(t)}
- ${alertDialog(t)}
- </div>
- </div>
- </div>`;
- list.appendChild(tile);
-});
-
-function fitStages() {
- document.querySelectorAll('.screen-wrap').forEach((wrap) => {
- const stage = wrap.querySelector('.stage');
- const s = wrap.clientWidth / 1380;
- stage.style.transform = `scale(${s})`;
- wrap.style.height = (stage.offsetHeight * s) + 'px';
- });
-}
-fitStages();
-window.addEventListener('resize', fitStages);
-window.addEventListener('load', fitStages);
-</script>
-</body>
-</html>
diff --git a/docs-internal/design-system/guidelines/theme-comparison-full.html b/docs-internal/design-system/guidelines/theme-comparison-full.html
deleted file mode 100644
index b0b93e78..00000000
--- a/docs-internal/design-system/guidelines/theme-comparison-full.html
+++ /dev/null
@@ -1,371 +0,0 @@
-<!-- @dsCard group="Brand" viewport="1320x880" name="Theme Comparison — Full" subtitle="Full app screen + component strip in all 12 themes" -->
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>OpenCompany — Full Theme Comparison</title>
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Bevan&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Courier+Prime&family=EB+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IM+Fell+English+SC&family=IM+Fell+English:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700&family=Major+Mono+Display&family=Pirata+One&family=Shippori+Mincho:wght@400;500;600;700&family=Space+Mono&family=Special+Elite&family=UnifrakturCook:wght@700&family=VT323&display=swap">
-<style>
- * { box-sizing: border-box; }
- body { margin: 0; background: #0a0c10; font-family: 'Geist', system-ui, sans-serif; color: #e6edf3; }
- header { padding: 26px 32px 4px; }
- header h1 { margin: 0; font-size: 20px; font-weight: 600; }
- header p { margin: 6px 0 0; font-size: 13px; color: #8b949e; max-width: 820px; line-height: 1.5; }
- nav.jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 32px 4px; }
- nav.jump a { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #8b949e; text-decoration: none; border: 1px solid #21262d; border-radius: 999px; padding: 4px 10px; }
- nav.jump a:hover { color: #e6edf3; border-color: #8b949e; }
- .list { display: flex; flex-direction: column; gap: 28px; padding: 20px 32px 60px; }
- .tile { border-radius: 12px; overflow: hidden; border: 1px solid #21262d; background: #11151a; }
- .tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 18px; }
- .tile-head .nm { font-size: 16px; font-weight: 600; }
- .tile-head .meta { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #8b949e; text-align: right; }
-
- .screen-wrap { position: relative; width: 100%; }
- .stage { position: absolute; left: 0; top: 0; width: 1280px; height: 700px; transform-origin: top left; display: flex; flex-direction: column; font-size: 13px; }
-
- .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 12px; border-bottom: 1px solid; flex-shrink: 0; }
- .tb-grp { display: flex; align-items: center; gap: 7px; min-width: 0; }
- .btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; font-size: 12px; font-weight: 600; border: 1px solid; line-height: 1; white-space: nowrap; }
- .btn.sq { padding: 7px 9px; }
- .vdiv { width: 1px; height: 22px; opacity: 0.5; }
- .main { display: flex; flex: 1; min-height: 0; }
- .sidebar { width: 225px; border-right: 1px solid; display: flex; flex-direction: column; flex-shrink: 0; }
- .panel-hd { padding: 13px 14px; border-bottom: 1px solid; }
- .panel-hd .t { font-size: 14px; font-weight: 600; }
- .panel-hd .s { font-size: 10.5px; margin-top: 2px; }
- .wf-card { margin: 0 10px; padding: 10px 11px; border: 1px solid; }
- .wf-card .n { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- .wf-card .m { display: flex; justify-content: space-between; font-size: 10px; margin-top: 5px; }
- .center { display: flex; flex-direction: column; flex: 1; min-width: 0; }
- .canvas { position: relative; flex: 1; overflow: hidden; }
- .canvas svg.edges { position: absolute; inset: 0; width: 100%; height: 100%; }
- .node { position: absolute; width: 58px; height: 58px; border: 2px solid; display: flex; align-items: center; justify-content: center; font-size: 24px; }
- .node .pip { position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; }
- .node .gear { position: absolute; top: -9px; right: -9px; width: 19px; height: 19px; border-radius: 50%; border: 1px solid; display: flex; align-items: center; justify-content: center; font-size: 9px; }
- .nlabel { position: absolute; font-size: 10px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
- .agent-node { position: absolute; width: 168px; border: 2px solid; text-align: center; padding: 12px 10px 9px; }
- .agent-node .pip { position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; }
- .agent-node .gear { position: absolute; top: -9px; right: -9px; width: 19px; height: 19px; border-radius: 50%; border: 1px solid; display: flex; align-items: center; justify-content: center; font-size: 9px; }
- .agent-node .ti { font-size: 24px; line-height: 1; }
- .agent-node .tn { font-size: 13.5px; font-weight: 600; margin-top: 5px; }
- .agent-node .ts { font-size: 10px; margin-top: 2px; }
- .agent-node .th { display: flex; justify-content: space-between; margin-top: 7px; font-size: 9.5px; }
- .palette { width: 258px; border-left: 1px solid; display: flex; flex-direction: column; flex-shrink: 0; }
- .search { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding: 7px 10px; border: 1px solid; font-size: 11.5px; }
- .cat { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px 5px; font-size: 11.5px; font-weight: 600; }
- .badge { display: inline-flex; align-items: center; padding: 2px 6px; font-size: 9.5px; font-weight: 600; border: 1px solid; line-height: 1.3; }
- .comp { display: flex; align-items: center; gap: 9px; margin: 0 10px 7px; padding: 7px 9px; border: 1px solid; }
- .comp .ic { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; border: 1px solid; }
- .comp .nm2 { font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- .comp .ds { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- .console { border-top: 1px solid; flex-shrink: 0; }
- .ctabs { display: flex; gap: 2px; padding: 0 8px; border-bottom: 1px solid; }
- .ctab { padding: 7px 12px; font-size: 11.5px; font-weight: 500; border-bottom: 2px solid transparent; }
- .clog { padding: 8px 13px; display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; height: 78px; overflow: hidden; }
- .statusbar { display: flex; align-items: center; gap: 10px; height: 22px; padding: 0 12px; border-top: 1px solid; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; flex-shrink: 0; white-space: nowrap; }
- .statusbar .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 5px; }
- .statusbar .sep { opacity: 0.4; }
- .statusbar .right { margin-left: auto; display: flex; gap: 10px; }
-
- .strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 13px 16px; border-top: 1px solid; }
- .input { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid; font-size: 11.5px; min-width: 160px; }
- .switch { position: relative; width: 34px; height: 19px; border-radius: 999px; border: 1px solid; flex-shrink: 0; }
- .switch .knob { position: absolute; top: 2px; width: 13px; height: 13px; border-radius: 50%; }
- .tabsdemo { display: flex; gap: 2px; border-bottom: 1px solid; }
-</style>
-</head>
-<body>
-<header>
- <h1>OpenCompany — full screen, twelve themes</h1>
- <p>The complete workspace per theme: toolbar · workflow sidebar · expanded canvas (full 6-node WhatsApp Assistant flow with rectangular AI Agent node) · component palette · console dock · status bar — plus a strip of core components (buttons, input, switch, badges, tabs) in that theme's tokens.</p>
-</header>
-<nav class="jump" id="jump"></nav>
-<div class="list" id="list"></div>
-
-<script>
-const THEMES = [
- { name: 'Light', tag: 'default · Geist · radius 6–8 · 90/180/320ms smooth', bg: '#f5f7fa', panel: '#fafbfc', canvas: '#ffffff', card: '#ffffff', fg: '#1a1d21', muted: '#4b5563', faint: '#9ca3af', border: '#d1d5db',
- display: "'Geist',sans-serif", body: "'Geist',sans-serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0', rBtn: 6, rNode: 10, rCard: 8,
- run: '#15803d', runBg: 'rgba(80,250,123,0.15)', runBc: 'rgba(80,250,123,0.6)', stop: '#be185d', stopBg: 'rgba(255,121,198,0.15)', stopBc: 'rgba(255,121,198,0.6)',
- save: '#0e7490', saveBg: 'rgba(139,233,253,0.15)', saveBc: 'rgba(139,233,253,0.6)', config: '#c2410c', configBg: 'rgba(255,184,108,0.15)', configBc: 'rgba(255,184,108,0.6)',
- tools: '#7c3aed', toolsBg: 'rgba(189,147,249,0.15)', toolsBc: 'rgba(189,147,249,0.6)',
- nAgent: '#bd93f9', nTrig: '#ff79c6', nTool: '#50fa7b', nModel: '#8be9fd', ok: '#059669', warn: '#d97706', grid: 'rgba(75,85,99,0.30)', accent: '#7c3aed' },
- { name: 'Dark', tag: 'signature · Solarized + Dracula · radius 6–8 · smooth', bg: '#002b36', panel: '#073642', canvas: '#002b36', card: '#073642', fg: '#f8f8f2', muted: '#94a8d6', faint: '#6272a4', border: '#586e75',
- display: "'Geist',sans-serif", body: "'Geist',sans-serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0', rBtn: 6, rNode: 10, rCard: 8,
- run: '#50fa7b', runBg: 'rgba(80,250,123,0.15)', runBc: 'rgba(80,250,123,0.6)', stop: '#ff79c6', stopBg: 'rgba(255,121,198,0.15)', stopBc: 'rgba(255,121,198,0.6)',
- save: '#8be9fd', saveBg: 'rgba(139,233,253,0.15)', saveBc: 'rgba(139,233,253,0.6)', config: '#ffb86c', configBg: 'rgba(255,184,108,0.15)', configBc: 'rgba(255,184,108,0.6)',
- tools: '#bd93f9', toolsBg: 'rgba(189,147,249,0.15)', toolsBc: 'rgba(189,147,249,0.6)',
- nAgent: '#bd93f9', nTrig: '#ff79c6', nTool: '#50fa7b', nModel: '#8be9fd', ok: '#859900', warn: '#b58900', grid: 'rgba(148,168,214,0.30)', accent: '#8be9fd' },
- { name: 'Renaissance', tag: 'illuminated codex · Cinzel/Cormorant · UPPER .10em · 140/280/520ms', bg: '#f3e8c8', panel: '#ead09a', canvas: '#e8d4a0', card: '#fbf3dc', fg: '#3a2008', muted: '#6a4a1c', faint: '#9a7a3c', border: '#8a5e1c',
- display: "'Cinzel',serif", body: "'Cormorant Garamond',serif", mono: "'IM Fell English',serif", caps: true, track: '0.07em', rBtn: 3, rNode: 4, rCard: 3,
- run: '#8a1410', runBg: 'rgba(212,160,48,0.20)', runBc: '#8a5e1c', stop: '#8a1410', stopBg: 'rgba(138,20,16,0.12)', stopBc: '#8a1410',
- save: '#2548c8', saveBg: 'rgba(37,72,200,0.10)', saveBc: '#2548c8', config: '#6a4a1c', configBg: 'rgba(106,74,28,0.12)', configBc: '#6a4a1c',
- tools: '#d4a030', toolsBg: 'rgba(212,160,48,0.16)', toolsBc: '#8a5e1c',
- nAgent: '#2548c8', nTrig: '#8a1410', nTool: '#d4a030', nModel: '#5a6a28', ok: '#5a6a28', warn: '#b87818', grid: 'rgba(138,94,28,0.28)', accent: '#8a1410' },
- { name: 'Greek', tag: 'marble agora · Cinzel · UPPER .18em · radius 0–2', bg: '#ede5d0', panel: '#f5efde', canvas: '#e6dcc2', card: '#faf6e9', fg: '#2a2415', muted: '#6a5d3c', faint: '#9a8c64', border: '#b8a878',
- display: "'Cinzel',serif", body: "'Cormorant Garamond',serif", mono: "'Courier Prime',monospace", caps: true, track: '0.12em', rBtn: 0, rNode: 2, rCard: 0,
- run: '#284b82', runBg: 'rgba(40,75,130,0.12)', runBc: '#284b82', stop: '#7a1a18', stopBg: 'rgba(122,26,24,0.10)', stopBc: '#7a1a18',
- save: '#284b82', saveBg: 'rgba(40,75,130,0.08)', saveBc: '#284b82', config: '#c8a040', configBg: 'rgba(200,160,64,0.14)', configBc: '#a88430', tools: '#6a7a32', toolsBg: 'rgba(106,122,50,0.12)', toolsBc: '#6a7a32',
- nAgent: '#284b82', nTrig: '#7a1a18', nTool: '#c8a040', nModel: '#6a7a32', ok: '#6a7a32', warn: '#b87818', grid: 'rgba(106,93,60,0.28)', accent: '#284b82' },
- { name: 'Edo', tag: 'washi + sumi-e · Shippori Mincho · radius 0 · organic', bg: '#f4ecd8', panel: '#faf3e0', canvas: '#ede4ca', card: '#fdf8ea', fg: '#1a1410', muted: '#6a5e48', faint: '#9a8c70', border: '#c8b890',
- display: "'Shippori Mincho',serif", body: "'Shippori Mincho',serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0.05em', rBtn: 0, rNode: 0, rCard: 0,
- run: '#b41e1e', runBg: 'rgba(180,30,30,0.08)', runBc: '#b41e1e', stop: '#1a1410', stopBg: 'rgba(26,20,16,0.08)', stopBc: '#1a1410',
- save: '#4a6a3a', saveBg: 'rgba(74,106,58,0.10)', saveBc: '#4a6a3a', config: '#6a5e48', configBg: 'rgba(106,94,72,0.10)', configBc: '#6a5e48', tools: '#b41e1e', toolsBg: 'rgba(180,30,30,0.06)', toolsBc: '#b41e1e',
- nAgent: '#b41e1e', nTrig: '#e89aa8', nTool: '#4a6a3a', nModel: '#1a1410', ok: '#4a6a3a', warn: '#b87818', grid: 'rgba(106,94,72,0.28)', accent: '#b41e1e' },
- { name: 'Steampunk', tag: 'brass & rivets · IM Fell English SC · UPPER · mechanical', bg: '#2a1f12', panel: '#3a2a18', canvas: '#1a1208', card: '#4a3620', fg: '#e8d8b0', muted: '#b8a070', faint: '#8a7448', border: '#6a4a20',
- display: "'IM Fell English SC',serif", body: "'IM Fell English',serif", mono: "'Special Elite',monospace", caps: true, track: '0.07em', rBtn: 3, rNode: 4, rCard: 3,
- run: '#d8a848', runBg: 'rgba(216,168,72,0.20)', runBc: '#d8a848', stop: '#b8602a', stopBg: 'rgba(184,96,42,0.18)', stopBc: '#b8602a',
- save: '#d8a848', saveBg: 'rgba(216,168,72,0.12)', saveBc: '#a87830', config: '#b8602a', configBg: 'rgba(184,96,42,0.12)', configBc: '#b8602a', tools: '#8a8a4a', toolsBg: 'rgba(138,138,74,0.14)', toolsBc: '#8a8a4a',
- nAgent: '#d8a848', nTrig: '#b8602a', nTool: '#8a8a4a', nModel: '#b8a070', ok: '#8a8a4a', warn: '#d8a848', grid: 'rgba(184,160,112,0.25)', accent: '#d8a848' },
- { name: 'Atomic', tag: '1962 Eames · Bevan/Lato · bouncy 1.6 overshoot', bg: '#f0e6d2', panel: '#faf2dc', canvas: '#e8dcc0', card: '#ffffff', fg: '#2a3a4a', muted: '#5a6a7a', faint: '#8a96a2', border: '#c8b890',
- display: "'Bevan',serif", body: "'Lato',sans-serif", mono: "'Space Mono',monospace", caps: true, track: '0.04em', rBtn: 2, rNode: 4, rCard: 2,
- run: '#3a9aa0', runBg: 'rgba(58,154,160,0.12)', runBc: '#3a9aa0', stop: '#e85a26', stopBg: 'rgba(232,90,38,0.12)', stopBc: '#e85a26',
- save: '#3a9aa0', saveBg: 'rgba(58,154,160,0.08)', saveBc: '#3a9aa0', config: '#d8a838', configBg: 'rgba(216,168,56,0.14)', configBc: '#b8882a', tools: '#e85a26', toolsBg: 'rgba(232,90,38,0.08)', toolsBc: '#e85a26',
- nAgent: '#e85a26', nTrig: '#d8a838', nTool: '#3a9aa0', nModel: '#2a3a4a', ok: '#3a9aa0', warn: '#d8a838', grid: 'rgba(90,106,122,0.28)', accent: '#e85a26' },
- { name: 'Cyber', tag: 'neon night market · Major Mono · UPPER .18em · steps(4)', bg: '#050010', panel: '#0a0420', canvas: '#03000a', card: '#15103a', fg: '#f0e0ff', muted: '#a090c0', faint: '#6a5a90', border: '#2a1f50',
- display: "'Major Mono Display',monospace", body: "'JetBrains Mono',monospace", mono: "'JetBrains Mono',monospace", caps: true, track: '0.10em', rBtn: 0, rNode: 0, rCard: 0,
- run: '#26d97a', runBg: 'rgba(38,217,122,0.14)', runBc: '#26d97a', stop: '#f51eb6', stopBg: 'rgba(245,30,182,0.14)', stopBc: '#f51eb6',
- save: '#1dd9e5', saveBg: 'rgba(29,217,229,0.12)', saveBc: '#1dd9e5', config: '#ffd028', configBg: 'rgba(255,208,40,0.10)', configBc: '#ffd028', tools: '#f51eb6', toolsBg: 'rgba(245,30,182,0.10)', toolsBc: '#f51eb6',
- nAgent: '#f51eb6', nTrig: '#ffd028', nTool: '#1dd9e5', nModel: '#26d97a', ok: '#26d97a', warn: '#ffd028', grid: 'rgba(160,144,192,0.30)', accent: '#1dd9e5' },
- { name: 'Wasteland', tag: 'irradiated scrap · Special Elite/VT323 · jittery', bg: '#2a2018', panel: '#3a2c1c', canvas: '#1a1410', card: '#4a3826', fg: '#e8d8a8', muted: '#b89868', faint: '#8a7048', border: '#6a4a28',
- display: "'Special Elite',monospace", body: "'Special Elite',monospace", mono: "'VT323',monospace", caps: true, track: '0.06em', rBtn: 0, rNode: 0, rCard: 0,
- run: '#c8d038', runBg: 'rgba(200,208,56,0.14)', runBc: '#c8d038', stop: '#e88a28', stopBg: 'rgba(138,58,24,0.20)', stopBc: '#e88a28',
- save: '#d8c8a0', saveBg: 'rgba(216,200,160,0.10)', saveBc: '#b8a880', config: '#e88a28', configBg: 'rgba(232,138,40,0.12)', configBc: '#e88a28', tools: '#c8d038', toolsBg: 'rgba(200,208,56,0.10)', toolsBc: '#a8b028',
- nAgent: '#e88a28', nTrig: '#8a3a18', nTool: '#c8d038', nModel: '#d8c8a0', ok: '#c8d038', warn: '#e88a28', grid: 'rgba(184,152,104,0.25)', accent: '#e88a28' },
- { name: 'Rot', tag: 'mossy crypt · Pirata One/EB Garamond · 680ms drift', bg: '#14181a', panel: '#1c2226', canvas: '#0a0e10', card: '#242c30', fg: '#c8d8c0', muted: '#788878', faint: '#4a5a50', border: '#2a3a30',
- display: "'Pirata One',serif", body: "'EB Garamond',serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0.03em', rBtn: 2, rNode: 4, rCard: 2,
- run: '#78c878', runBg: 'rgba(120,200,120,0.10)', runBc: '#78c878', stop: '#e8a838', stopBg: 'rgba(232,168,56,0.10)', stopBc: '#e8a838',
- save: '#d8d0b8', saveBg: 'rgba(216,208,184,0.08)', saveBc: '#8a8470', config: '#e8a838', configBg: 'rgba(232,168,56,0.08)', configBc: '#b8882a', tools: '#78c878', toolsBg: 'rgba(120,200,120,0.08)', toolsBc: '#588858',
- nAgent: '#78c878', nTrig: '#e8a838', nTool: '#d8d0b8', nModel: '#788878', ok: '#78c878', warn: '#e8a838', grid: 'rgba(120,136,120,0.28)', accent: '#78c878' },
- { name: 'Plague', tag: '1349 broadsheet · UnifrakturCook/EB Garamond · stiff', bg: '#d8d4c0', panel: '#e4dfc8', canvas: '#c8c4b0', card: '#efeacf', fg: '#2a1c14', muted: '#6a5440', faint: '#9a8468', border: '#a89478',
- display: "'UnifrakturCook',serif", body: "'EB Garamond',serif", mono: "'Special Elite',monospace", caps: false, track: '0.04em', rBtn: 0, rNode: 0, rCard: 0,
- run: '#783c28', runBg: 'rgba(120,60,40,0.12)', runBc: '#783c28', stop: '#1a1410', stopBg: 'rgba(26,20,16,0.10)', stopBc: '#1a1410',
- save: '#6a5440', saveBg: 'rgba(106,84,64,0.10)', saveBc: '#6a5440', config: '#98a838', configBg: 'rgba(152,168,56,0.14)', configBc: '#788828', tools: '#783c28', toolsBg: 'rgba(120,60,40,0.08)', toolsBc: '#783c28',
- nAgent: '#783c28', nTrig: '#1a1410', nTool: '#98a838', nModel: '#6a5440', ok: '#98a838', warn: '#b87818', grid: 'rgba(106,84,64,0.25)', accent: '#783c28' },
- { name: 'Surveillance', tag: 'panopticon · Anonymous Pro/IBM Plex Mono · linear scanline', bg: '#1a1c1e', panel: '#232628', canvas: '#0a0c0e', card: '#2c3034', fg: '#c8ccd0', muted: '#888c90', faint: '#5a5e62', border: '#3a3e42',
- display: "'Anonymous Pro',monospace", body: "'IBM Plex Mono',monospace", mono: "'IBM Plex Mono',monospace", caps: true, track: '0.06em', rBtn: 0, rNode: 0, rCard: 0,
- run: '#6acc6a', runBg: 'rgba(106,204,106,0.10)', runBc: '#6acc6a', stop: '#e82626', stopBg: 'rgba(232,38,38,0.10)', stopBc: '#e82626',
- save: '#888c90', saveBg: 'rgba(136,140,144,0.10)', saveBc: '#888c90', config: '#d8a020', configBg: 'rgba(216,160,32,0.10)', configBc: '#d8a020', tools: '#e82626', toolsBg: 'rgba(232,38,38,0.08)', toolsBc: '#e82626',
- nAgent: '#e82626', nTrig: '#d8a020', nTool: '#6acc6a', nModel: '#888c90', ok: '#6acc6a', warn: '#d8a020', grid: 'rgba(136,140,144,0.28)', accent: '#e82626' },
-];
-
-function mix(hex, pct, baseHex) {
- const h = (x) => [parseInt(x.slice(1,3),16), parseInt(x.slice(3,5),16), parseInt(x.slice(5,7),16)];
- const a = h(hex), b = h(baseHex);
- return `rgb(${a.map((v,i)=>Math.round(v*pct + b[i]*(1-pct))).join(',')})`;
-}
-
-function sqNode(t, x, y, icon, label, color, status, opts = {}) {
- const fill = `linear-gradient(135deg, ${mix(color, 0.18, t.card)}, ${t.card})`;
- const pip = status === 'ok' ? t.ok : (status === 'run' ? color : (status === 'err' ? '#dc2626' : t.faint));
- const glow = status !== 'idle' ? `box-shadow:0 0 0 0 ${pip}, 0 0 10px ${pip}66, 0 2px 8px ${color}30;` : `box-shadow:0 2px 8px ${color}30;`;
- return `
- <div class="node" style="left:${x}px; top:${y}px; border-radius:${t.rNode}px; border-color:${color}99; background:${fill}; ${glow}">
- <span class="pip" style="background:${pip};"></span>
- <span class="gear" style="background:${t.card}; border-color:${t.border};">⚙️</span>${icon}
- ${opts.outR ? `<span style="position:absolute; right:-6px; top:50%; transform:translateY(-50%); width:11px; height:11px; border-radius:50%; background:${color}; border:2px solid ${color};"></span>` : ''}
- ${opts.inL ? `<span style="position:absolute; left:-6px; top:50%; transform:translateY(-50%); width:11px; height:11px; border-radius:50%; background:${t.bg}; border:2px solid ${t.faint};"></span>` : ''}
- ${opts.outT ? `<span style="position:absolute; top:-6px; left:50%; transform:translateX(-50%); width:11px; height:11px; border-radius:50%; background:${color}; border:2px solid ${color};"></span>` : ''}
- </div>
- <div class="nlabel" style="left:${x + 29}px; top:${y + 64}px; color:${t.fg}; font-family:${t.body};">${label}</div>`;
-}
-
-function agentNode(t, x, y) {
- const c = t.nAgent;
- const fill = `linear-gradient(135deg, ${mix(c, 0.14, t.card)}, ${t.card})`;
- return `
- <div class="agent-node" style="left:${x}px; top:${y}px; border-radius:${Math.max(t.rNode, 2)}px; border-color:${c}; background:${fill}; box-shadow:0 0 0 1px ${c}, 0 4px 14px ${c}44; color:${t.fg};">
- <span class="pip" style="background:${c}; box-shadow:0 0 8px ${c};"></span>
- <span class="gear" style="background:${t.card}; border-color:${t.border};">⚙️</span>
- <div class="ti">🤖</div>
- <div class="tn">AI Agent</div>
- <div class="ts" style="color:${c};">LangGraph Agent</div>
- <div class="th" style="color:${t.muted};"><span>Memory</span><span>Tool</span></div>
- <span style="position:absolute; left:-6px; top:50%; transform:translateY(-50%); width:11px; height:11px; border-radius:50%; background:${t.bg}; border:2px solid ${t.faint};"></span>
- <span style="position:absolute; right:-6px; top:50%; transform:translateY(-50%); width:11px; height:11px; border-radius:50%; background:${c}; border:2px solid ${c};"></span>
- <span style="position:absolute; left:24px; bottom:-6px; width:10px; height:10px; transform:rotate(45deg); background:${t.bg}; border:2px solid ${t.faint};"></span>
- <span style="position:absolute; right:24px; bottom:-6px; width:10px; height:10px; transform:rotate(45deg); background:${t.bg}; border:2px solid ${t.faint};"></span>
- </div>`;
-}
-
-function wfCard(t, name, nodes, when, sel) {
- return `
- <div class="wf-card" style="border-radius:${t.rCard}px; border-color:${sel ? t.accent : t.border}; ${sel ? `border-left:3px solid ${t.accent}; background:${mix(t.accent, 0.10, t.card)};` : `background:${t.card};`} margin-bottom:8px;">
- <div class="n" style="color:${sel ? t.accent : t.fg};">${name}</div>
- <div class="m" style="font-family:${t.mono}; color:${t.muted};"><span>${nodes} nodes</span><span>${when}</span></div>
- </div>`;
-}
-
-function compItem(t, icon, nm, ds) {
- return `
- <div class="comp" style="border-radius:${t.rCard}px; border-color:${t.border}; background:${t.bg};">
- <span class="ic" style="border-radius:${Math.max(t.rCard - 2, 0)}px; background:${t.card}; border-color:${t.border};">${icon}</span>
- <span style="min-width:0;"><div class="nm2" style="color:${t.fg};">${nm}</div><div class="ds" style="color:${t.muted};">${ds}</div></span>
- </div>`;
-}
-
-const list = document.getElementById('list');
-const jump = document.getElementById('jump');
-THEMES.forEach((t) => {
- // Readability rule (CLAUDE.md): decorative display fonts are specimens only.
- // UI copy renders in the theme's readable body font; mono stays mono.
- const HARD_TO_READ = ["'Major Mono Display',monospace", "'Pirata One',serif", "'UnifrakturCook',serif", "'IM Fell English SC',serif", "'Bevan',serif"];
- const uiFont = HARD_TO_READ.includes(t.display) ? t.body : t.display;
- const caps = t.caps ? 'text-transform:uppercase;' : '';
- const track = parseFloat(t.track) > 0.1 ? '0.08em' : t.track;
- const disp = `font-family:${uiFont}; ${caps} letter-spacing:${track};`;
- const a = document.createElement('a');
- a.href = '#th-' + t.name; a.textContent = t.name;
- jump.appendChild(a);
-
- const tile = document.createElement('div');
- tile.className = 'tile';
- tile.id = 'th-' + t.name;
- tile.innerHTML = `
- <div class="tile-head">
- <span class="nm" style="font-family:${t.display};">${t.name}</span>
- <span class="meta">${t.tag}</span>
- </div>
- <div class="screen-wrap">
- <div class="stage" style="background:${t.bg}; color:${t.fg}; font-family:${t.body};">
-
- <div class="toolbar" style="background:${t.panel}; border-color:${t.border};">
- <div class="tb-grp">
- <span class="btn sq" style="background:${t.saveBg}; border-color:${t.saveBc}; color:${t.save}; border-radius:${t.rBtn}px;">☰</span>
- <span class="vdiv" style="background:${t.border};"></span>
- <span class="btn" style="background:${t.saveBg}; border-color:${t.saveBc}; color:${t.save}; border-radius:${t.rBtn}px; ${disp}">File ▾</span>
- </div>
- <div class="tb-grp" style="flex:1; justify-content:center;">
- <span style="${disp} font-size:13.5px; font-weight:600;">WhatsApp Assistant</span>
- <span style="color:${t.muted}; font-size:10px;">✎</span>
- </div>
- <div class="tb-grp">
- <span style="display:inline-flex; border:1px solid ${t.border}; border-radius:${t.rBtn + 1}px; padding:2px; gap:2px; background:${t.card};">
- <span class="btn" style="background:${mix(t.nTool,0.10,t.card)}; border-color:${t.nTool}55; color:${t.nTool}; border-radius:${Math.max(t.rBtn-2,0)}px; ${disp} padding:5px 9px; font-size:10.5px;">◷ Normal</span>
- <span class="btn" style="background:transparent; border-color:transparent; color:${t.muted}; border-radius:${Math.max(t.rBtn-2,0)}px; ${disp} padding:5px 9px; font-size:10.5px;">⚡ Dev</span>
- </span>
- <span class="vdiv" style="background:${t.border};"></span>
- <span class="btn sq" style="background:${t.configBg}; border-color:${t.configBc}; color:${t.config}; border-radius:${t.rBtn}px;">⚙</span>
- <span class="btn sq" style="background:${t.configBg}; border-color:${t.configBc}; color:${t.config}; border-radius:${t.rBtn}px;">🔑</span>
- <span class="vdiv" style="background:${t.border};"></span>
- <span class="btn" style="background:${t.runBg}; border-color:${t.runBc}; color:${t.run}; border-radius:${t.rBtn}px; ${disp}">▶ Start</span>
- <span class="btn" style="background:${t.saveBg}; border-color:${t.saveBc}; color:${t.save}; border-radius:${t.rBtn}px; ${disp} opacity:0.5;">Save</span>
- <span style="display:inline-flex; align-items:center; gap:5px; font-family:${t.mono}; font-size:10.5px; color:${t.warn};"><span style="width:7px;height:7px;border-radius:50%;background:${t.warn};"></span>Modified</span>
- <span class="vdiv" style="background:${t.border};"></span>
- <span class="btn sq" style="background:${t.toolsBg}; border-color:${t.toolsBc}; color:${t.tools}; border-radius:${t.rBtn}px;">▦</span>
- </div>
- </div>
-
- <div class="main">
- <div class="sidebar" style="background:${t.panel}; border-color:${t.border};">
- <div class="panel-hd" style="border-color:${t.border}; background:${t.bg};">
- <div class="t" style="${disp}">Workflows</div>
- <div class="s" style="font-family:${t.mono}; color:${t.muted};">3 saved</div>
- </div>
- <div style="padding-top:10px;">
- ${wfCard(t, 'WhatsApp Assistant', 6, 'Jun 11, 09:14', true)}
- ${wfCard(t, 'Daily Email Digest', 5, 'Jun 9, 18:30', false)}
- ${wfCard(t, 'Customer Support Bot', 9, 'Jun 5, 11:02', false)}
- </div>
- </div>
-
- <div class="center">
- <div class="canvas" style="background:${t.canvas}; background-image:radial-gradient(${t.grid} 1px, transparent 1px); background-size:20px 20px;">
- <svg class="edges">
- <path d="M 124 154 C 200 154, 230 132, 300 132" fill="none" stroke="${t.nTrig}" stroke-width="2" stroke-dasharray="6 6" opacity="0.8"></path>
- <path d="M 472 132 C 550 132, 580 154, 648 154" fill="none" stroke="${t.nAgent}" stroke-width="2" stroke-dasharray="6 6" opacity="0.8"></path>
- <path d="M 330 226 C 330 270, 280 290, 247 308" fill="none" stroke="${t.nAgent}" stroke-width="2" stroke-dasharray="6 6" opacity="0.8"></path>
- <path d="M 442 226 C 442 270, 470 290, 489 308" fill="none" stroke="${t.nTool}" stroke-width="2" stroke-dasharray="6 6" opacity="0.8"></path>
- <path d="M 330 226 C 330 280, 180 300, 119 318" fill="none" stroke="${t.nModel}" stroke-width="2" stroke-dasharray="6 6" opacity="0.8"></path>
- </svg>
- ${sqNode(t, 66, 125, '💬', 'WhatsApp Receive', t.nTrig, 'ok', { outR: true })}
- ${agentNode(t, 300, 78)}
- ${sqNode(t, 648, 125, '📤', 'WhatsApp Send', t.nTrig, 'idle', { inL: true })}
- ${sqNode(t, 218, 308, '🧠', 'Simple Memory', t.nAgent, 'idle', { outT: true })}
- ${sqNode(t, 460, 308, '📱', 'Android Toolkit', t.nTool, 'run', { outT: true })}
- ${sqNode(t, 90, 318, '🔍', 'Web Search Tool', t.nModel, 'idle', { outT: true })}
- </div>
-
- <div class="console" style="background:${t.panel}; border-color:${t.border};">
- <div class="ctabs" style="border-color:${t.border};">
- <span class="ctab" style="color:${t.muted}; ${disp} font-size:10.5px;">Chat</span>
- <span class="ctab" style="color:${t.accent}; border-bottom-color:${t.accent}; font-weight:600; ${disp} font-size:10.5px;">Console</span>
- <span class="ctab" style="color:${t.muted}; ${disp} font-size:10.5px;">Terminal</span>
- </div>
- <div class="clog" style="background:${t.bg}; font-family:${t.mono};">
- <span><span style="color:${t.faint};">[12:01:31]</span> <span style="color:${t.muted};">Workflow "WhatsApp Assistant" loaded · 6 nodes</span></span>
- <span><span style="color:${t.faint};">[12:01:33]</span> <span style="color:${t.ok};">Deployed — listening for incoming messages</span></span>
- <span><span style="color:${t.faint};">[12:04:02]</span> <span style="color:${t.nModel};">WhatsApp Receive → message from +1 (555) 014-2236</span></span>
- <span><span style="color:${t.faint};">[12:04:03]</span> <span style="color:${t.nAgent};">AI Agent → delegating to Android Toolkit</span></span>
- <span><span style="color:${t.faint};">[12:04:05]</span> <span style="color:${t.ok};">WhatsApp Send → reply delivered (1.9s)</span></span>
- </div>
- </div>
- </div>
-
- <div class="palette" style="background:${t.panel}; border-color:${t.border};">
- <div class="panel-hd" style="border-color:${t.border}; background:${t.bg};">
- <div style="display:flex; align-items:center; justify-content:space-between;">
- <span class="t" style="${disp}">Components</span>
- <span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.border}; color:${t.muted}; background:${t.card}; font-family:${t.mono};">14</span>
- </div>
- <div class="search" style="border-radius:${t.rBtn}px; border-color:${t.border}; background:${t.card}; color:${t.faint};">⌕ <span>Search...</span></div>
- </div>
- <div style="padding-top:6px; overflow:hidden;">
- <div class="cat" style="color:${t.fg};"><span style="${disp} font-size:10.5px;">🤖 AI</span><span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.nAgent}55; color:${t.nAgent}; background:${mix(t.nAgent,0.10,t.panel)}; font-family:${t.mono};">3</span></div>
- ${compItem(t, '🤖', 'AI Agent', 'LangGraph agent with memory and tools')}
- ${compItem(t, '🧠', 'Simple Memory', 'Conversation memory store')}
- <div class="cat" style="color:${t.fg};"><span style="${disp} font-size:10.5px;">💬 Messaging</span><span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.nTrig}55; color:${t.nTrig}; background:${mix(t.nTrig,0.10,t.panel)}; font-family:${t.mono};">3</span></div>
- ${compItem(t, '💬', 'WhatsApp Receive', 'Trigger on incoming message')}
- ${compItem(t, '📤', 'WhatsApp Send', 'Send a WhatsApp message')}
- <div class="cat" style="color:${t.fg};"><span style="${disp} font-size:10.5px;">📱 Android</span><span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.nTool}55; color:${t.nTool}; background:${mix(t.nTool,0.10,t.panel)}; font-family:${t.mono};">2</span></div>
- ${compItem(t, '📱', 'Android Toolkit', '16 device services')}
- </div>
- </div>
- </div>
-
- <div class="statusbar" style="background:${t.panel}; border-color:${t.border}; color:${t.muted}; font-family:${t.mono};">
- <span style="color:${t.ok};"><span class="dot" style="background:${t.ok};"></span>ONLINE</span>
- <span class="sep">|</span>
- <span>WF: <span style="color:${t.fg};">WhatsApp Assistant</span></span>
- <span class="sep">|</span>
- <span>NODES: <span style="color:${t.fg};">6</span></span>
- <span class="right"><span>THEME: <span style="color:${t.fg};">${t.name.toUpperCase()}</span></span><span class="sep">|</span><span>14:02:33</span></span>
- </div>
- </div>
- </div>
-
- <div class="strip" style="background:${t.bg}; border-color:#21262d; color:${t.fg}; font-family:${t.body};">
- <span class="btn" style="background:${t.runBg}; border-color:${t.runBc}; color:${t.run}; border-radius:${t.rBtn}px; ${disp}">▶ Start</span>
- <span class="btn" style="background:${t.stopBg}; border-color:${t.stopBc}; color:${t.stop}; border-radius:${t.rBtn}px; ${disp}">■ Stop</span>
- <span class="btn" style="background:${t.configBg}; border-color:${t.configBc}; color:${t.config}; border-radius:${t.rBtn}px; ${disp}">⚙ Settings</span>
- <span class="btn" style="background:transparent; border-color:${t.border}; color:${t.fg}; border-radius:${t.rBtn}px; ${disp}">Cancel</span>
- <span class="input" style="border-radius:${t.rBtn}px; border-color:${t.border}; background:${t.card}; color:${t.faint};">⌕ <span>Search...</span></span>
- <span class="switch" style="background:${t.run}; border-color:transparent;"><span class="knob" style="left:18px; background:${t.bg};"></span></span>
- <span class="switch" style="background:${mix(t.fg, 0.08, t.bg)}; border-color:${t.border};"><span class="knob" style="left:2px; background:${t.faint};"></span></span>
- <span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.nAgent}55; color:${t.nAgent}; background:${mix(t.nAgent,0.10,t.bg)};">Agent</span>
- <span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.nTool}55; color:${t.nTool}; background:${mix(t.nTool,0.10,t.bg)};">Tool</span>
- <span class="badge" style="border-radius:${Math.max(t.rCard-2,2)}px; border-color:${t.nTrig}55; color:${t.nTrig}; background:${mix(t.nTrig,0.10,t.bg)};">Trigger</span>
- <span class="tabsdemo" style="border-color:${t.border};">
- <span class="ctab" style="color:${t.accent}; border-bottom:2px solid ${t.accent}; font-weight:600; ${disp} font-size:10.5px; padding:5px 10px;">Console</span>
- <span class="ctab" style="color:${t.muted}; ${disp} font-size:10.5px; padding:5px 10px; border-bottom:2px solid transparent;">Terminal</span>
- </span>
- <span style="font-family:${t.mono}; font-size:10px; color:${t.muted}; margin-left:auto;">${t.name.toUpperCase()} · radius ${t.rBtn}px</span>
- </div>`;
- list.appendChild(tile);
-});
-
-function fitStages() {
- document.querySelectorAll('.screen-wrap').forEach((wrap) => {
- const stage = wrap.querySelector('.stage');
- const s = wrap.clientWidth / 1280;
- stage.style.transform = `scale(${s})`;
- wrap.style.height = (700 * s) + 'px';
- });
-}
-fitStages();
-window.addEventListener('resize', fitStages);
-</script>
-</body>
-</html>
diff --git a/docs-internal/design-system/guidelines/theme-comparison.html b/docs-internal/design-system/guidelines/theme-comparison.html
deleted file mode 100644
index f416fa15..00000000
--- a/docs-internal/design-system/guidelines/theme-comparison.html
+++ /dev/null
@@ -1,179 +0,0 @@
-<!-- @dsCard group="Brand" viewport="1280x900" name="Theme Comparison" subtitle="Same app screen rendered in all 12 themes — single file" -->
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>OpenCompany — Theme Comparison</title>
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Bevan&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Courier+Prime&family=EB+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IM+Fell+English+SC&family=IM+Fell+English:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700&family=Major+Mono+Display&family=Pirata+One&family=Shippori+Mincho:wght@400;500;600;700&family=Space+Mono&family=Special+Elite&family=UnifrakturCook:wght@700&family=VT323&display=swap">
-<style>
- * { box-sizing: border-box; }
- body { margin: 0; background: #0a0c10; font-family: 'Geist', system-ui, sans-serif; color: #e6edf3; }
- header { padding: 26px 32px 6px; }
- header h1 { margin: 0; font-size: 20px; font-weight: 600; }
- header p { margin: 6px 0 0; font-size: 13px; color: #8b949e; max-width: 760px; line-height: 1.5; }
- .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 24px 32px 48px; }
- @media (min-width: 1700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
-
- .tile { border-radius: 10px; overflow: hidden; border: 1px solid #21262d; background: #11151a; }
- .tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; }
- .tile-head .nm { font-size: 14px; font-weight: 600; }
- .tile-head .meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #8b949e; text-align: right; }
-
- /* ---- mini app screen ---- */
- .screen { display: flex; flex-direction: column; height: 330px; font-size: 12px; }
- .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 10px; border-bottom: 1px solid; flex-shrink: 0; }
- .tb-left, .tb-right { display: flex; align-items: center; gap: 6px; }
- .wfname { font-size: 12px; font-weight: 500; white-space: nowrap; }
- .btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; font-size: 10.5px; font-weight: 600; border: 1px solid; line-height: 1; white-space: nowrap; }
- .canvas { position: relative; flex: 1; overflow: hidden; }
- .stage { position: absolute; left: 50%; top: 0; width: 540px; height: 250px; transform-origin: top center; }
- .stage svg.edges { position: absolute; inset: 0; width: 100%; height: 100%; }
- .node { position: absolute; width: 52px; height: 52px; border: 2px solid; display: flex; align-items: center; justify-content: center; font-size: 21px; }
- .node .pip { position: absolute; top: -4px; left: -4px; width: 8px; height: 8px; border-radius: 50%; }
- .nlabel { position: absolute; font-size: 9px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
- .statusbar { display: flex; align-items: center; gap: 8px; height: 21px; padding: 0 10px; border-top: 1px solid; font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; flex-shrink: 0; white-space: nowrap; overflow: hidden; }
- .statusbar .dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; margin-right: 4px; }
- .statusbar .sep { opacity: 0.4; }
- .statusbar .right { margin-left: auto; display: flex; gap: 8px; }
-</style>
-</head>
-<body>
-<header>
- <h1>OpenCompany — one screen, twelve themes</h1>
- <p>The same workflow view (toolbar · node canvas · status bar) rendered with each theme's real tokens from <code>client/src/themes/*.css</code>: surfaces, accents, typeface trio, letter case &amp; tracking, radii, canvas grid. Light + Dark are encoded live in this design system's <code>tokens/</code>; the ten skins are sourced in <code>reference/themes/</code>.</p>
-</header>
-<div class="grid" id="grid"></div>
-
-<script>
-const THEMES = [
- { name: 'Light', tag: 'default · Geist · radius 6–8 · 90/180/320ms smooth', bg: '#f5f7fa', panel: '#fafbfc', canvas: '#ffffff', card: '#ffffff', fg: '#1a1d21', muted: '#4b5563', border: '#d1d5db',
- display: "'Geist',sans-serif", body: "'Geist',sans-serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0', rBtn: 6, rNode: 10,
- run: '#15803d', runBg: 'rgba(80,250,123,0.15)', runBc: 'rgba(80,250,123,0.6)', stop: '#be185d', stopBg: 'rgba(255,121,198,0.15)', stopBc: 'rgba(255,121,198,0.6)',
- nAgent: '#bd93f9', nTrig: '#ff79c6', nTool: '#50fa7b', ok: '#059669', grid: 'rgba(75,85,99,0.30)' },
- { name: 'Dark', tag: 'signature · Solarized + Dracula · radius 6–8 · smooth', bg: '#002b36', panel: '#073642', canvas: '#002b36', card: '#073642', fg: '#f8f8f2', muted: '#94a8d6', border: '#586e75',
- display: "'Geist',sans-serif", body: "'Geist',sans-serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0', rBtn: 6, rNode: 10,
- run: '#50fa7b', runBg: 'rgba(80,250,123,0.15)', runBc: 'rgba(80,250,123,0.6)', stop: '#ff79c6', stopBg: 'rgba(255,121,198,0.15)', stopBc: 'rgba(255,121,198,0.6)',
- nAgent: '#bd93f9', nTrig: '#ff79c6', nTool: '#50fa7b', ok: '#859900', grid: 'rgba(148,168,214,0.30)' },
- { name: 'Renaissance', tag: 'illuminated codex · Cinzel/Cormorant · UPPER .10em · 140/280/520ms', bg: '#f3e8c8', panel: '#ead09a', canvas: '#e8d4a0', card: '#fbf3dc', fg: '#3a2008', muted: '#6a4a1c', border: '#8a5e1c',
- display: "'Cinzel',serif", body: "'Cormorant Garamond',serif", mono: "'IM Fell English',serif", caps: true, track: '0.08em', rBtn: 3, rNode: 4,
- run: '#8a1410', runBg: 'rgba(212,160,48,0.20)', runBc: '#8a5e1c', stop: '#8a1410', stopBg: 'rgba(138,20,16,0.12)', stopBc: '#8a1410',
- nAgent: '#2548c8', nTrig: '#8a1410', nTool: '#d4a030', ok: '#5a6a28', grid: 'rgba(138,94,28,0.28)' },
- { name: 'Greek', tag: 'marble agora · Cinzel · UPPER .18em · radius 0–2', bg: '#ede5d0', panel: '#f5efde', canvas: '#e6dcc2', card: '#faf6e9', fg: '#2a2415', muted: '#6a5d3c', border: '#b8a878',
- display: "'Cinzel',serif", body: "'Cormorant Garamond',serif", mono: "'Courier Prime',monospace", caps: true, track: '0.14em', rBtn: 0, rNode: 2,
- run: '#284b82', runBg: 'rgba(40,75,130,0.12)', runBc: '#284b82', stop: '#7a1a18', stopBg: 'rgba(122,26,24,0.10)', stopBc: '#7a1a18',
- nAgent: '#284b82', nTrig: '#7a1a18', nTool: '#c8a040', ok: '#6a7a32', grid: 'rgba(106,93,60,0.28)' },
- { name: 'Edo', tag: 'washi + sumi-e · Shippori Mincho · radius 0 · 90/220/520ms organic', bg: '#f4ecd8', panel: '#faf3e0', canvas: '#ede4ca', card: '#fdf8ea', fg: '#1a1410', muted: '#6a5e48', border: '#c8b890',
- display: "'Shippori Mincho',serif", body: "'Shippori Mincho',serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0.06em', rBtn: 0, rNode: 0,
- run: '#b41e1e', runBg: 'rgba(180,30,30,0.08)', runBc: '#b41e1e', stop: '#1a1410', stopBg: 'rgba(26,20,16,0.08)', stopBc: '#1a1410',
- nAgent: '#b41e1e', nTrig: '#e89aa8', nTool: '#4a6a3a', ok: '#4a6a3a', grid: 'rgba(106,94,72,0.28)' },
- { name: 'Steampunk', tag: 'brass & rivets · IM Fell English SC · UPPER .10em · mechanical', bg: '#2a1f12', panel: '#3a2a18', canvas: '#1a1208', card: '#4a3620', fg: '#e8d8b0', muted: '#b8a070', border: '#6a4a20',
- display: "'IM Fell English SC',serif", body: "'IM Fell English',serif", mono: "'Special Elite',monospace", caps: true, track: '0.08em', rBtn: 3, rNode: 4,
- run: '#d8a848', runBg: 'rgba(216,168,72,0.20)', runBc: '#d8a848', stop: '#b8602a', stopBg: 'rgba(184,96,42,0.18)', stopBc: '#b8602a',
- nAgent: '#d8a848', nTrig: '#b8602a', nTool: '#8a8a4a', ok: '#8a8a4a', grid: 'rgba(184,160,112,0.25)' },
- { name: 'Atomic', tag: '1962 Eames · Bevan/Lato · bouncy 1.6 overshoot', bg: '#f0e6d2', panel: '#faf2dc', canvas: '#e8dcc0', card: '#ffffff', fg: '#2a3a4a', muted: '#5a6a7a', border: '#c8b890',
- display: "'Bevan',serif", body: "'Lato',sans-serif", mono: "'Space Mono',monospace", caps: true, track: '0.05em', rBtn: 2, rNode: 4,
- run: '#3a9aa0', runBg: 'rgba(58,154,160,0.12)', runBc: '#3a9aa0', stop: '#e85a26', stopBg: 'rgba(232,90,38,0.12)', stopBc: '#e85a26',
- nAgent: '#e85a26', nTrig: '#d8a838', nTool: '#3a9aa0', ok: '#3a9aa0', grid: 'rgba(90,106,122,0.28)' },
- { name: 'Cyber', tag: 'neon night market · Major Mono · UPPER .18em · steps(4) glitch', bg: '#050010', panel: '#0a0420', canvas: '#03000a', card: '#15103a', fg: '#f0e0ff', muted: '#a090c0', border: '#2a1f50',
- display: "'Major Mono Display',monospace", body: "'JetBrains Mono',monospace", mono: "'JetBrains Mono',monospace", caps: true, track: '0.12em', rBtn: 0, rNode: 0,
- run: '#26d97a', runBg: 'rgba(38,217,122,0.14)', runBc: '#26d97a', stop: '#f51eb6', stopBg: 'rgba(245,30,182,0.14)', stopBc: '#f51eb6',
- nAgent: '#f51eb6', nTrig: '#ffd028', nTool: '#1dd9e5', ok: '#26d97a', grid: 'rgba(160,144,192,0.30)' },
- { name: 'Wasteland', tag: 'irradiated scrap · Special Elite/VT323 · UPPER · jittery', bg: '#2a2018', panel: '#3a2c1c', canvas: '#1a1410', card: '#4a3826', fg: '#e8d8a8', muted: '#b89868', border: '#6a4a28',
- display: "'Special Elite',monospace", body: "'Special Elite',monospace", mono: "'VT323',monospace", caps: true, track: '0.08em', rBtn: 0, rNode: 0,
- run: '#c8d038', runBg: 'rgba(200,208,56,0.14)', runBc: '#c8d038', stop: '#8a3a18', stopBg: 'rgba(138,58,24,0.20)', stopBc: '#e88a28',
- nAgent: '#e88a28', nTrig: '#8a3a18', nTool: '#c8d038', ok: '#c8d038', grid: 'rgba(184,152,104,0.25)' },
- { name: 'Rot', tag: 'mossy crypt · Pirata One/EB Garamond · 140/320/680ms drift', bg: '#14181a', panel: '#1c2226', canvas: '#0a0e10', card: '#242c30', fg: '#c8d8c0', muted: '#788878', border: '#2a3a30',
- display: "'Pirata One',serif", body: "'EB Garamond',serif", mono: "'JetBrains Mono',monospace", caps: false, track: '0.04em', rBtn: 2, rNode: 4,
- run: '#78c878', runBg: 'rgba(120,200,120,0.10)', runBc: '#78c878', stop: '#e8a838', stopBg: 'rgba(232,168,56,0.10)', stopBc: '#e8a838',
- nAgent: '#78c878', nTrig: '#e8a838', nTool: '#d8d0b8', ok: '#78c878', grid: 'rgba(120,136,120,0.28)' },
- { name: 'Plague', tag: '1349 broadsheet · UnifrakturCook/EB Garamond · UPPER · stiff', bg: '#d8d4c0', panel: '#e4dfc8', canvas: '#c8c4b0', card: '#efeacf', fg: '#2a1c14', muted: '#6a5440', border: '#a89478',
- display: "'UnifrakturCook',serif", body: "'EB Garamond',serif", mono: "'Special Elite',monospace", caps: false, track: '0.05em', rBtn: 0, rNode: 0,
- run: '#783c28', runBg: 'rgba(120,60,40,0.12)', runBc: '#783c28', stop: '#1a1410', stopBg: 'rgba(26,20,16,0.10)', stopBc: '#1a1410',
- nAgent: '#783c28', nTrig: '#1a1410', nTool: '#98a838', ok: '#98a838', grid: 'rgba(106,84,64,0.25)' },
- { name: 'Surveillance', tag: 'panopticon · Anonymous Pro/IBM Plex Mono · linear scanline', bg: '#1a1c1e', panel: '#232628', canvas: '#0a0c0e', card: '#2c3034', fg: '#c8ccd0', muted: '#888c90', border: '#3a3e42',
- display: "'Anonymous Pro',monospace", body: "'IBM Plex Mono',monospace", mono: "'IBM Plex Mono',monospace", caps: true, track: '0.08em', rBtn: 0, rNode: 0,
- run: '#6acc6a', runBg: 'rgba(106,204,106,0.10)', runBc: '#6acc6a', stop: '#e82626', stopBg: 'rgba(232,38,38,0.10)', stopBc: '#e82626',
- nAgent: '#e82626', nTrig: '#d8a020', nTool: '#6acc6a', ok: '#6acc6a', grid: 'rgba(136,140,144,0.28)' },
-];
-
-function mix(hex, pct, baseHex) {
- // simple srgb mix of hex accent into base card color
- const h = (x) => [parseInt(x.slice(1,3),16), parseInt(x.slice(3,5),16), parseInt(x.slice(5,7),16)];
- const a = h(hex), b = h(baseHex);
- const m = a.map((v, i) => Math.round(v * pct + b[i] * (1 - pct)));
- return `rgb(${m[0]},${m[1]},${m[2]})`;
-}
-
-function nodeHtml(t, x, y, icon, label, color, status) {
- const fill = `linear-gradient(135deg, ${mix(color, 0.18, t.card)}, ${t.card})`;
- const pip = status === 'ok' ? t.ok : (status === 'run' ? color : t.muted);
- return `
- <div class="node" style="left:${x}px; top:${y}px; border-radius:${t.rNode}px; border-color:${color}99; background:${fill}; box-shadow:0 2px 8px ${color}30;">
- <span class="pip" style="background:${pip}; box-shadow:${status !== 'idle' ? `0 0 6px ${pip}` : 'none'};"></span>${icon}
- </div>
- <div class="nlabel" style="left:${x + 26}px; top:${y + 58}px; color:${t.fg}; font-family:${t.body};">${label}</div>`;
-}
-
-const grid = document.getElementById('grid');
-THEMES.forEach((t) => {
- const caps = t.caps ? 'text-transform:uppercase;' : '';
- const dispStyle = `font-family:${t.display}; ${caps} letter-spacing:${t.track};`;
- const tile = document.createElement('div');
- tile.className = 'tile';
- tile.innerHTML = `
- <div class="tile-head">
- <span class="nm" style="font-family:${t.display};">${t.name}</span>
- <span class="meta">${t.tag}</span>
- </div>
- <div class="screen" style="background:${t.bg}; color:${t.fg}; font-family:${t.body};">
- <div class="toolbar" style="background:${t.panel}; border-color:${t.border};">
- <div class="tb-left">
- <span class="wfname" style="${dispStyle} font-size:11.5px;">WhatsApp Assistant</span>
- </div>
- <div class="tb-right">
- <span class="btn" style="background:${t.runBg}; border-color:${t.runBc}; color:${t.run}; border-radius:${t.rBtn}px; ${dispStyle}">▶ Start</span>
- <span class="btn" style="background:${t.stopBg}; border-color:${t.stopBc}; color:${t.stop}; border-radius:${t.rBtn}px; ${dispStyle}">■ Stop</span>
- </div>
- </div>
- <div class="canvas" style="background:${t.canvas}; background-image:radial-gradient(${t.grid} 1px, transparent 1px); background-size:16px 16px;">
- <div class="stage">
- <svg class="edges">
- <path d="M 92 96 C 150 96, 170 80, 228 80" fill="none" stroke="${t.nTrig}" stroke-width="2" stroke-dasharray="5 5" opacity="0.8"></path>
- <path d="M 282 80 C 350 80, 370 96, 430 96" fill="none" stroke="${t.nAgent}" stroke-width="2" stroke-dasharray="5 5" opacity="0.8"></path>
- <path d="M 255 108 C 255 140, 200 150, 165 170" fill="none" stroke="${t.nAgent}" stroke-width="2" stroke-dasharray="5 5" opacity="0.8"></path>
- <path d="M 255 108 C 255 140, 310 150, 345 170" fill="none" stroke="${t.nTool}" stroke-width="2" stroke-dasharray="5 5" opacity="0.8"></path>
- </svg>
- ${nodeHtml(t, 40, 70, '💬', 'WhatsApp Receive', t.nTrig, 'ok')}
- ${nodeHtml(t, 228, 54, '🤖', 'AI Agent', t.nAgent, 'run')}
- ${nodeHtml(t, 430, 70, '📤', 'WhatsApp Send', t.nTrig, 'idle')}
- ${nodeHtml(t, 130, 170, '🧠', 'Memory', t.nAgent, 'idle')}
- ${nodeHtml(t, 320, 170, '🔍', 'Web Search', t.nTool, 'idle')}
- </div>
- </div>
- <div class="statusbar" style="background:${t.panel}; border-color:${t.border}; color:${t.muted}; font-family:${t.mono};">
- <span style="color:${t.ok};"><span class="dot" style="background:${t.ok};"></span>ONLINE</span>
- <span class="sep">|</span>
- <span>WF: <span style="color:${t.fg};">Test</span></span>
- <span class="sep">|</span>
- <span>NODES: <span style="color:${t.fg};">5</span></span>
- <span class="right"><span>THEME: <span style="color:${t.fg};">${t.name.toUpperCase()}</span></span><span class="sep">|</span><span>14:02:33</span></span>
- </div>
- </div>`;
- grid.appendChild(tile);
-});
-
-function fitStages() {
- document.querySelectorAll('.canvas').forEach((cv) => {
- const stage = cv.querySelector('.stage');
- if (!stage) return;
- const s = Math.min(1, (cv.clientWidth - 8) / 540, (cv.clientHeight - 4) / 250);
- stage.style.transform = `translateX(-50%) scale(${s})`;
- });
-}
-fitStages();
-window.addEventListener('resize', fitStages);
-</script>
-</body>
-</html>
diff --git a/docs-internal/design-system/guidelines/theme-matrix.html b/docs-internal/design-system/guidelines/theme-matrix.html
deleted file mode 100644
index 64db6581..00000000
--- a/docs-internal/design-system/guidelines/theme-matrix.html
+++ /dev/null
@@ -1,152 +0,0 @@
-<!-- @dsCard group="Brand" viewport="1100x720" name="Theme Matrix" subtitle="All 12 product themes — surfaces, accents, type, radii, motion" -->
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>OpenCompany — Theme Matrix</title>
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Bevan&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Courier+Prime&family=EB+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IM+Fell+English+SC&family=IM+Fell+English:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700&family=Major+Mono+Display&family=Pirata+One&family=Shippori+Mincho:wght@400;500;600;700&family=Space+Mono&family=Special+Elite&family=UnifrakturCook:wght@700&family=VT323&display=swap">
-<style>
- * { box-sizing: border-box; }
- body { margin: 0; background: #0d1117; font-family: 'Geist', system-ui, sans-serif; }
- .matrix { display: flex; flex-direction: column; }
- .theme-row {
- display: grid;
- grid-template-columns: 190px 200px 168px 1fr 150px;
- gap: 18px; align-items: center;
- padding: 16px 22px;
- border-bottom: 1px solid rgba(128,128,128,0.25);
- }
- .t-name { font-size: 17px; font-weight: 700; line-height: 1.1; }
- .t-world { font-size: 11px; opacity: 0.75; margin-top: 3px; font-family: 'Geist', sans-serif; }
- .t-meta { font-family: 'JetBrains Mono', monospace; font-size: 9px; opacity: 0.6; margin-top: 6px; line-height: 1.5; }
- .surfaces { display: flex; gap: 4px; }
- .surfaces .sw { flex: 1; height: 44px; border-radius: 4px; border: 1px solid rgba(128,128,128,0.45); }
- .surf-label { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; opacity: 0.55; margin-top: 5px; }
- .accents { display: flex; gap: 5px; flex-wrap: wrap; }
- .accents .chip { width: 34px; height: 34px; border-radius: 6px; border: 1px solid rgba(128,128,128,0.4); }
- .acc-label { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; opacity: 0.55; margin-top: 5px; }
- .type-display { font-size: 21px; line-height: 1.15; }
- .type-body { font-size: 12.5px; margin-top: 4px; opacity: 0.9; }
- .type-mono { font-size: 10.5px; margin-top: 5px; opacity: 0.65; }
- .demo { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
- .demo-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; font-size: 11px; font-weight: 600; border: 1px solid; line-height: 1; white-space: nowrap; }
- .demo-motion { font-family: 'JetBrains Mono', monospace; font-size: 9px; opacity: 0.6; }
- .hdr { padding: 18px 22px 10px; color: #e6edf3; }
- .hdr h1 { margin: 0; font-size: 18px; font-weight: 600; }
- .hdr p { margin: 4px 0 0; font-size: 12px; color: #8b949e; }
-</style>
-</head>
-<body>
-<div class="hdr">
- <h1>OpenCompany theme matrix — 12 material systems, one token contract</h1>
- <p>Each row is rendered in that theme's own tokens (from client/src/themes/*.css). Same UI, different era. Analysis: guidelines/THEMES.md</p>
-</div>
-<div class="matrix" id="matrix"></div>
-<script>
-const THEMES = [
- { name: 'Light', world: 'Quiet grey-blue workspace (default)', bg: '#f5f7fa', panel: '#fafbfc', canvas: '#ffffff', elevated: '#ffffff', fg: '#1a1d21', muted: '#4b5563', border: '#d1d5db',
- accents: ['#2563eb', '#7c3aed', '#059669', '#dc2626'], accNames: 'primary · accent · success · destructive',
- display: "'Geist', sans-serif", body: "'Geist', sans-serif", mono: "'JetBrains Mono', monospace", caps: false, track: '0',
- radius: '8px', btn: { bg: 'rgba(37,99,235,0.10)', bc: 'rgba(37,99,235,0.5)', fg: '#2563eb' },
- motion: '90/180/320ms · smooth · snd:parchment' },
- { name: 'Dark', world: 'Solarized teal + Dracula neon (signature)', bg: '#002b36', panel: '#073642', canvas: '#002b36', elevated: '#0d1f2d', fg: '#f8f8f2', muted: '#94a8d6', border: '#586e75',
- accents: ['#50fa7b', '#8be9fd', '#bd93f9', '#ff79c6'], accNames: 'run · save · tools · stop',
- display: "'Geist', sans-serif", body: "'Geist', sans-serif", mono: "'JetBrains Mono', monospace", caps: false, track: '0',
- radius: '8px', btn: { bg: 'rgba(80,250,123,0.15)', bc: 'rgba(80,250,123,0.6)', fg: '#50fa7b' },
- motion: '90/180/320ms · smooth · snd:terminal' },
- { name: 'Renaissance', world: 'Illuminated codex, Florentine workshop', bg: '#f3e8c8', panel: '#ead09a', canvas: '#e8d4a0', elevated: '#fbf3dc', fg: '#3a2008', muted: '#6a4a1c', border: '#8a5e1c',
- accents: ['#d4a030', '#8a1410', '#2548c8', '#f0c850'], accNames: 'gold · crimson · lapis · gold-bright',
- display: "'Cinzel', serif", body: "'Cormorant Garamond', serif", mono: "'IM Fell English', serif", caps: true, track: '0.10em',
- radius: '4px', btn: { bg: 'rgba(212,160,48,0.20)', bc: '#8a5e1c', fg: '#8a1410' },
- motion: '140/280/520ms · organic · snd:parchment · quill cursor' },
- { name: 'Greek', world: 'Sun-bleached marble agora', bg: '#ede5d0', panel: '#f5efde', canvas: '#e6dcc2', elevated: '#faf6e9', fg: '#2a2415', muted: '#6a5d3c', border: '#b8a878',
- accents: ['#284b82', '#7a1a18', '#c8a040', '#6a7a32'], accNames: 'lapis · oxblood · gold · olive',
- display: "'Cinzel', serif", body: "'Cormorant Garamond', serif", mono: "'Courier Prime', monospace", caps: true, track: '0.18em',
- radius: '2px', btn: { bg: 'rgba(40,75,130,0.12)', bc: '#284b82', fg: '#284b82' },
- motion: '120/240/460ms · smooth · snd:marble' },
- { name: 'Edo', world: 'Washi paper, sumi-e ink, hanko seal', bg: '#f4ecd8', panel: '#faf3e0', canvas: '#ede4ca', elevated: '#fdf8ea', fg: '#1a1410', muted: '#6a5e48', border: '#c8b890',
- accents: ['#b41e1e', '#1a1410', '#4a6a3a', '#e89aa8'], accNames: 'vermillion · sumi · bamboo · sakura',
- display: "'Shippori Mincho', serif", body: "'Shippori Mincho', serif", mono: "'JetBrains Mono', monospace", caps: false, track: '0.06em',
- radius: '0', btn: { bg: 'rgba(180,30,30,0.08)', bc: '#b41e1e', fg: '#b41e1e' },
- motion: '90/220/520ms · organic · snd:ink' },
- { name: 'Steampunk', world: 'Brass, copper, riveted leather — Verne', bg: '#2a1f12', panel: '#3a2a18', canvas: '#1a1208', elevated: '#4a3620', fg: '#e8d8b0', muted: '#b8a070', border: '#6a4a20',
- accents: ['#d8a848', '#b8602a', '#8a3a1a', '#4a2818'], accNames: 'brass · copper · rust · leather',
- display: "'IM Fell English SC', serif", body: "'IM Fell English', serif", mono: "'Special Elite', monospace", caps: true, track: '0.10em',
- radius: '4px', btn: { bg: 'linear-gradient(180deg, rgba(216,168,72,0.25), rgba(216,168,72,0.06))', bc: '#d8a848', fg: '#d8a848' },
- motion: '110/240/480ms · mechanical · snd:clockwork · rivets' },
- { name: 'Atomic', world: '1962 Eames optimism, NASA brochure', bg: '#f0e6d2', panel: '#faf2dc', canvas: '#e8dcc0', elevated: '#ffffff', fg: '#2a3a4a', muted: '#5a6a7a', border: '#c8b890',
- accents: ['#e85a26', '#3a9aa0', '#d8a838', '#2a3a4a'], accNames: 'atomic orange · turquoise · mustard · slate',
- display: "'Bevan', serif", body: "'Lato', sans-serif", mono: "'Space Mono', monospace", caps: true, track: '0.06em',
- radius: '4px', btn: { bg: 'rgba(232,90,38,0.12)', bc: '#e85a26', fg: '#e85a26' },
- motion: '100/200/380ms · bouncy (1.6 overshoot) · snd:vibraphone' },
- { name: 'Cyber', world: 'Neuromancer night market, pirate terminal', bg: '#050010', panel: '#0a0420', canvas: '#03000a', elevated: '#15103a', fg: '#f0e0ff', muted: '#a090c0', border: '#2a1f50',
- accents: ['#f51eb6', '#1dd9e5', '#26d97a', '#ffd028'], accNames: 'neon magenta · cyan · green · yellow',
- display: "'Major Mono Display', monospace", body: "'JetBrains Mono', monospace", mono: "'JetBrains Mono', monospace", caps: true, track: '0.18em',
- radius: '0', btn: { bg: 'rgba(245,30,182,0.14)', bc: '#f51eb6', fg: '#f51eb6' },
- motion: '60/120/240ms · steps(4) glitch · snd:terminal · CRT flicker + reticle cursor' },
- { name: 'Wasteland', world: 'Irradiated dust, scrap-metal warnings', bg: '#2a2018', panel: '#3a2c1c', canvas: '#1a1410', elevated: '#4a3826', fg: '#e8d8a8', muted: '#b89868', border: '#6a4a28',
- accents: ['#e88a28', '#8a3a18', '#c8d038', '#d8c8a0'], accNames: 'ochre · rust · rad-yellow · bone',
- display: "'Special Elite', monospace", body: "'Special Elite', monospace", mono: "'VT323', monospace", caps: true, track: '0.10em',
- radius: '0', btn: { bg: 'rgba(232,140,40,0.14)', bc: '#e88a28', fg: '#e88a28' },
- motion: '60/180/320ms · jittery · snd:scrap' },
- { name: 'Rot', world: 'Moss-overgrown crypt, guttering candles', bg: '#14181a', panel: '#1c2226', canvas: '#0a0e10', elevated: '#242c30', fg: '#c8d8c0', muted: '#788878', border: '#2a3a30',
- accents: ['#78c878', '#e8a838', '#d8d0b8', '#4a3838'], accNames: 'moss · candle · bone · crypt',
- display: "'Pirata One', serif", body: "'EB Garamond', serif", mono: "'JetBrains Mono', monospace", caps: false, track: '0.04em',
- radius: '4px', btn: { bg: 'rgba(120,200,120,0.10)', bc: '#78c878', fg: '#78c878' },
- motion: '140/320/680ms · drift (slowest) · snd:crypt' },
- { name: 'Plague', world: 'Quarantine notices, 1349 broadsheet', bg: '#d8d4c0', panel: '#e4dfc8', canvas: '#c8c4b0', elevated: '#efeacf', fg: '#2a1c14', muted: '#6a5440', border: '#a89478',
- accents: ['#783c28', '#98a838', '#1a1410', '#efeacf'], accNames: 'dried blood · bile · crow · linen',
- display: "'UnifrakturCook', serif", body: "'EB Garamond', serif", mono: "'Special Elite', monospace", caps: true, track: '0.06em',
- radius: '0', btn: { bg: 'rgba(120,60,40,0.12)', bc: '#783c28', fg: '#783c28' },
- motion: '100/220/460ms · stiff · snd:bell' },
- { name: 'Surveillance', world: '1970s panopticon control room', bg: '#1a1c1e', panel: '#232628', canvas: '#0a0c0e', elevated: '#2c3034', fg: '#c8ccd0', muted: '#888c90', border: '#3a3e42',
- accents: ['#e82626', '#6acc6a', '#d8a020', '#888c90'], accNames: 'REC red · phosphor · amber · concrete',
- display: "'Anonymous Pro', monospace", body: "'IBM Plex Mono', monospace", mono: "'IBM Plex Mono', monospace", caps: true, track: '0.10em',
- radius: '0', btn: { bg: 'rgba(232,38,38,0.10)', bc: '#e82626', fg: '#e82626' },
- motion: '60/140/240ms · linear scanline · snd:telex · CCTV cursor' },
-];
-
-const matrix = document.getElementById('matrix');
-THEMES.forEach((t) => {
- const row = document.createElement('div');
- row.className = 'theme-row';
- row.style.background = t.bg;
- row.style.color = t.fg;
- const caps = t.caps ? 'text-transform: uppercase;' : '';
- row.innerHTML = `
- <div>
- <div class="t-name" style="font-family: ${t.display}; ${caps} letter-spacing: ${t.track};">${t.name}</div>
- <div class="t-world" style="color: ${t.muted};">${t.world}</div>
- <div class="t-meta" style="color: ${t.muted};">${t.motion}</div>
- </div>
- <div>
- <div class="surfaces">
- <div class="sw" style="background: ${t.bg}; border-color: ${t.border};"></div>
- <div class="sw" style="background: ${t.panel}; border-color: ${t.border};"></div>
- <div class="sw" style="background: ${t.canvas}; border-color: ${t.border};"></div>
- <div class="sw" style="background: ${t.elevated}; border-color: ${t.border};"></div>
- </div>
- <div class="surf-label" style="color: ${t.muted};">app · panel · canvas · elevated</div>
- </div>
- <div>
- <div class="accents">
- ${t.accents.map((a) => `<div class="chip" style="background: ${a};"></div>`).join('')}
- </div>
- <div class="acc-label" style="color: ${t.muted};">${t.accNames}</div>
- </div>
- <div>
- <div class="type-display" style="font-family: ${t.display}; ${caps} letter-spacing: ${t.track};">Workflow deployed</div>
- <div class="type-body" style="font-family: ${t.body};">Your own AI assistant that does real work.</div>
- <div class="type-mono" style="font-family: ${t.mono};">ONLINE | WF: TEST | NODES: 12</div>
- </div>
- <div class="demo">
- <span class="demo-btn" style="background: ${t.btn.bg}; border-color: ${t.btn.bc}; color: ${t.btn.fg}; border-radius: ${t.radius}; font-family: ${t.display}; ${caps} letter-spacing: ${t.track};">▶ Start</span>
- <span class="demo-motion" style="color: ${t.muted};">radius ${t.radius}</span>
- </div>`;
- matrix.appendChild(row);
-});
-</script>
-</body>
-</html>
diff --git a/docs-internal/design-system/readme.md b/docs-internal/design-system/readme.md
index 20235840..4a26ef09 100644
--- a/docs-internal/design-system/readme.md
+++ b/docs-internal/design-system/readme.md
@@ -11,7 +11,7 @@ Design system for **OpenCompany** — opencompany.sh's open-source, local-first
1. **OpenCompany app** (`localhost:3000`) — the core product. A three-zone desktop workspace: workflow sidebar (left), node canvas (center), component palette (right), top toolbar, bottom status bar, multi-tab console dock. Recreated in `ui_kits/opencompany/`.
2. **Marketing/docs** (opencompany.sh, docs.opencompany.sh) — not in the repo; no UI kit was fabricated for them. Use the foundations here plus the README voice when designing those.
-The app ships 12 visual themes (light, dark, Renaissance, Cyber, Edo, Steampunk…). This design system encodes the two canonical ones: **light** (default `:root`) and **dark** (`class="dark"` — the signature look used in every screenshot and demo).
+The app ships 3 visual themes: light, dark and Atomic. This design system encodes the two canonical ones: **light** (default `:root`) and **dark** (`class="dark"` — the signature look used in every screenshot and demo).
---
@@ -64,10 +64,10 @@ The app ships 12 visual themes (light, dark, Renaissance, Cyber, Edo, Steampunk
- `styles.css` — global entry; imports everything in `tokens/`.
- `tokens/` — `colors.css`, `typography.css`, `spacing.css`, `motion.css`, `animations.css`, `fonts.css`, `base.css`.
-- `guidelines/` — foundation specimen cards (Design System tab), plus `THEMES.md` (deep analysis of the app's 12-theme architecture) and `theme-matrix.html` (visual comparison of all 12 themes).
+- `guidelines/` — foundation specimen cards (Design System tab), plus `THEMES.md` (the app's theme architecture).
- `reference/themes/` — pointer README only; the snapshots went stale and were retired in favor of the authoritative `client/src/themes/`.
- `HANDOFF.md` — merged design-handoff brief + recorded product amendments (read alongside `IMPLEMENTATION.md`).
-- `reference-mockup/` — 17-panel × 12-theme fidelity target (`Panel Theme Matrix.dc.html`, open in a browser).
+- `reference-mockup/` — 17-panel × 3-theme fidelity target (`Panel Theme Matrix.dc.html`, open in a browser).
- `assets/` — `product-canvas-screenshot.png`; `diagrams/` is a pointer to the live [`docs/diagrams/`](../../docs/diagrams/), the only copy of the 20 diagrams.
- `components/buttons/` — ActionButton (6 intents), Button (shadcn variants).
- `components/forms/` — Input, Select, RadioGroup, Textarea, Switch, Checkbox, Slider, ApiKeyInput.
@@ -83,5 +83,5 @@ The app ships 12 visual themes (light, dark, Renaissance, Cyber, Edo, Steampunk
- **Fonts substituted:** Geist served from Google Fonts instead of the app's bundled `@fontsource-variable/geist` (same typeface, different delivery). Drop real `.woff2` files into `tokens/` + add `@font-face` if pixel-exact metrics matter.
- **Logo:** the Open Council mark and the outlined Newsreader wordmark live in the app as SVG paths (`client/src/components/brand/geometry.ts`); the wordmark card copies them and draws them in `--fg-default`, as the app does (black on light, white on dark). The favicon, the desktop icon and the icon-only logo files in `media/brand/` (SVGs, plus square PNG renders) use the same mark path. The README hero is still a GitHub user-attachment.
- opencompany.sh marketing site isn't in the repo; no marketing UI kit was invented.
-- The app's 10 themed skins are analyzed in `guidelines/THEMES.md` (token contract, per-theme matrix, porting recipe) with the authoritative sources in `client/src/themes/` — but only light/dark are encoded as live token scopes here. Ask to port a skin (e.g. Cyber) into `tokens/` if you want it usable.
-- **Motion** is documented in `guidelines/ANIMATIONS.md` and encoded in `tokens/animations.css` (per-theme `--dur`/`--ease`/`--motion-style` scopes + signature keyframes for all 12 themes). Live demo: `guidelines/animations-all-themes.html`.
+- The app's one themed skin, Atomic, is analyzed in `guidelines/THEMES.md` (token contract, theme table, porting recipe) with the authoritative source in `client/src/themes/atomic.css` — but only light/dark are encoded as live token scopes here. Ask to port Atomic into `tokens/` if you want it usable.
+- **Motion** is documented in `guidelines/ANIMATIONS.md` and encoded in `tokens/animations.css` (per-theme `--dur`/`--ease`/`--motion-style` scopes + signature keyframes for the three themes).
diff --git a/docs-internal/design-system/reference-mockup/Panel Theme Matrix.dc.html b/docs-internal/design-system/reference-mockup/Panel Theme Matrix.dc.html
index 07c2b10b..1cf274f4 100644
--- a/docs-internal/design-system/reference-mockup/Panel Theme Matrix.dc.html
+++ b/docs-internal/design-system/reference-mockup/Panel Theme Matrix.dc.html
@@ -10,7 +10,7 @@
<helmet data-dc-atomics>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Bevan&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Courier+Prime:wght@400;700&family=EB+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IM+Fell+English+SC&family=IM+Fell+English:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700;900&family=Pirata+One&family=Shippori+Mincho:wght@400;500;600;700&family=Space+Mono:wght@400;700&family=Special+Elite&family=VT323&display=swap">
+<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bevan&family=Geist:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@400;700;900&family=Space+Mono:wght@400;700&display=swap">
<style>
*{box-sizing:border-box}
body{margin:0;background:#0d0f13;color:#e8eaed;font-family:'Geist',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
@@ -29,20 +29,6 @@
@keyframes ocpulse{
0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--node-pulse-color) 80%,transparent),0 0 14px 2px color-mix(in srgb,var(--node-pulse-color) 50%,transparent)}
50%{box-shadow:0 0 0 10px color-mix(in srgb,var(--node-pulse-color) 40%,transparent),0 0 28px 6px color-mix(in srgb,var(--node-pulse-color) 60%,transparent)}}
- @keyframes ren-pulse-exec{
- 0%,100%{box-shadow:0 0 0 1px var(--node-pulse-color),0 0 10px 1px color-mix(in srgb,var(--node-pulse-color) 40%,transparent)}
- 50%{box-shadow:0 0 0 2px var(--node-pulse-color),0 0 22px 5px color-mix(in srgb,var(--node-pulse-color) 60%,transparent)}}
- @keyframes ren-flicker{0%,100%{opacity:.5}50%{opacity:.8}}
- @keyframes cyber-pulse-exec{
- 0%,49%{box-shadow:0 0 0 1px var(--node-pulse-color),0 0 10px var(--node-pulse-color)}
- 50%,100%{box-shadow:0 0 0 1px var(--node-pulse-color),0 0 26px var(--node-pulse-color),0 0 44px color-mix(in srgb,var(--node-pulse-color) 50%,transparent)}}
- @keyframes cyber-blink{0%,49%{opacity:1}50%,100%{opacity:.4}}
- @keyframes cyber-flicker{0%,92%,100%{opacity:1}93%{opacity:.88}94%{opacity:1}96%{opacity:.92}}
- @keyframes cyber-roll{0%{transform:translateY(-100%)}100%{transform:translateY(900%)}}
- @keyframes surv-pulse-exec{
- 0%,49%{box-shadow:0 0 0 1px var(--node-pulse-color),0 0 6px color-mix(in srgb,var(--node-pulse-color) 40%,transparent)}
- 50%,100%{box-shadow:0 0 0 1px var(--node-pulse-color),0 0 18px color-mix(in srgb,var(--node-pulse-color) 70%,transparent)}}
- @keyframes surv-blink{50%{opacity:.2}}
@keyframes trigger-listening{
0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--node-pulse-color) 0%,transparent),0 0 9px 1px color-mix(in srgb,var(--node-pulse-color) 38%,transparent)}
50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--node-pulse-color) 20%,transparent),0 0 20px 4px color-mix(in srgb,var(--node-pulse-color) 55%,transparent)}}
@@ -56,31 +42,9 @@
<header style="flex:none;display:flex;align-items:center;gap:20px;padding:0 22px;height:56px;border-bottom:1px solid #2b2f37;background:#15171c;position:sticky;top:0;z-index:20">
<div style="display:flex;align-items:baseline;gap:10px">
<span style="font-size:15px;font-weight:600;letter-spacing:-.01em">OpenCompany · panel × theme matrix</span>
- <span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">17 PANELS × 12 THEMES · {{ selName }}</span>
+ <span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">17 PANELS × 3 THEMES · {{ selName }}</span>
</div>
<div style="display:flex;align-items:center;gap:6px;margin-left:auto">
- <span style="font:500 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.1em;color:#a3abb8">FAMILY</span>
- <button type="button" onClick="{{ setAll }}" style="position:relative;font:500 11px/1 'Geist',sans-serif;padding:6px 11px;border-radius:6px;cursor:pointer;background:transparent;border:1px solid #3c424c;color:#9aa1ac">
- <sc-if value="{{ famIs.all }}" hint-placeholder-val="{{ true }}"><span style="position:absolute;inset:-1px;border-radius:6px;background:rgba(139,233,253,.14);border:1px solid rgba(139,233,253,.5)"></span></sc-if>
- <sc-if value="{{ famIs.all }}" hint-placeholder-val="{{ true }}"><span style="position:relative;color:#8be9fd">All 12</span></sc-if>
- <sc-if value="{{ famNot.all }}"><span style="position:relative">All 12</span></sc-if>
- </button>
- <button type="button" onClick="{{ setBase }}" style="position:relative;font:500 11px/1 'Geist',sans-serif;padding:6px 11px;border-radius:6px;cursor:pointer;background:transparent;border:1px solid #3c424c;color:#9aa1ac">
- <sc-if value="{{ famIs.base }}"><span style="position:absolute;inset:-1px;border-radius:6px;background:rgba(139,233,253,.14);border:1px solid rgba(139,233,253,.5)"></span></sc-if>
- <sc-if value="{{ famIs.base }}"><span style="position:relative;color:#8be9fd">Base 2</span></sc-if>
- <sc-if value="{{ famNot.base }}" hint-placeholder-val="{{ true }}"><span style="position:relative">Base 2</span></sc-if>
- </button>
- <button type="button" onClick="{{ setUto }}" style="position:relative;font:500 11px/1 'Geist',sans-serif;padding:6px 11px;border-radius:6px;cursor:pointer;background:transparent;border:1px solid #3c424c;color:#9aa1ac">
- <sc-if value="{{ famIs.uto }}"><span style="position:absolute;inset:-1px;border-radius:6px;background:rgba(139,233,253,.14);border:1px solid rgba(139,233,253,.5)"></span></sc-if>
- <sc-if value="{{ famIs.uto }}"><span style="position:relative;color:#8be9fd">Utopian 5</span></sc-if>
- <sc-if value="{{ famNot.uto }}" hint-placeholder-val="{{ true }}"><span style="position:relative">Utopian 5</span></sc-if>
- </button>
- <button type="button" onClick="{{ setDys }}" style="position:relative;font:500 11px/1 'Geist',sans-serif;padding:6px 11px;border-radius:6px;cursor:pointer;background:transparent;border:1px solid #3c424c;color:#9aa1ac">
- <sc-if value="{{ famIs.dys }}"><span style="position:absolute;inset:-1px;border-radius:6px;background:rgba(139,233,253,.14);border:1px solid rgba(139,233,253,.5)"></span></sc-if>
- <sc-if value="{{ famIs.dys }}"><span style="position:relative;color:#8be9fd">Dystopian 5</span></sc-if>
- <sc-if value="{{ famNot.dys }}" hint-placeholder-val="{{ true }}"><span style="position:relative">Dystopian 5</span></sc-if>
- </button>
- <span style="width:1px;height:22px;background:#2b2f37;margin:0 6px"></span>
<button type="button" onClick="{{ togglePlay }}" style="position:relative;font:500 11px/1 'Geist',sans-serif;padding:6px 11px;border-radius:6px;cursor:pointer;background:transparent;border:1px solid #3c424c;color:#9aa1ac">
<sc-if value="{{ playing }}" hint-placeholder-val="{{ true }}"><span style="position:absolute;inset:-1px;border-radius:6px;background:rgba(80,250,123,.13);border:1px solid rgba(80,250,123,.5)"></span></sc-if>
<sc-if value="{{ playing }}" hint-placeholder-val="{{ true }}"><span style="position:relative;color:#50fa7b">■ Motion on</span></sc-if>
@@ -109,7 +73,7 @@
</button>
</sc-for>
<div style="padding:20px 16px 8px;font:500 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.12em;color:#a3abb8">SHOWING</div>
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="display:flex;align-items:center;gap:8px;padding:5px 16px">
<span style="display:flex;flex:none;width:34px;height:16px;border-radius:3px;overflow:hidden;border:1px solid #2b2f37">
<span style="flex:1;background:{{ t.bg }}"></span>
@@ -134,7 +98,7 @@
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">280px · client/src/components/ui/WorkflowSidebar.tsx</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -191,7 +155,7 @@
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">320px · ui/ComponentPalette.tsx · search filters every theme at once</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -253,7 +217,7 @@
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">3-column modal · ParameterPanel.tsx · press Run to fill the output column</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -357,7 +321,7 @@
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">ui/SettingsPanel.tsx · switches + slider are live</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -453,7 +417,7 @@
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">credentials/CredentialsModal.tsx + ApiKeyPanel.tsx</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -501,10 +465,10 @@
<div style="display:flex;align-items:baseline;gap:12px;margin:0 0 16px">
<span style="font:600 11.5px/1 ui-monospace,Menlo,monospace;background:#1b1e25;border:1px solid #2b2f37;color:#8be9fd;padding:4px 8px;border-radius:5px">06</span>
<span style="font-size:16px;font-weight:600">Console Dock</span>
- <span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">ui/ConsolePanel.tsx · tabs switch all 12 together</span>
+ <span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">ui/ConsolePanel.tsx · tabs switch all three together</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -564,7 +528,7 @@
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">output/OutputPanel.tsx · Response / Thinking / Raw JSON collapsibles</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -622,7 +586,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">350px · ui/InputNodesPanel.tsx on shared/DataPanel.tsx</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -668,7 +632,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">parameterPanel/ContextPanel.tsx · journal + active replay</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -749,7 +713,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">parameterPanel/MemoryToolPanel.tsx</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -793,7 +757,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">parameterPanel/TaskManagerPanel.tsx · click a row</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -850,7 +814,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">parameterPanel/TeamMonitorPanel.tsx</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -892,7 +856,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">parameterPanel/ProcessManagerPanel.tsx · 9-column process table</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -971,7 +935,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">parameterPanel/GalleryPanel.tsx · gallery/WorkspaceBrowser.tsx · fileIcons.tsx tones</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -1062,7 +1026,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">48px + 24px chrome · ui_kits Toolbar.jsx · ModeToggle.jsx · StatusBar.jsx</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -1130,7 +1094,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">Dashboard.tsx · SquareNode.tsx · per-theme --canvas-grid + ornaments · one node per glow state: selected, executing ×2, armed, success</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -1141,11 +1105,6 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<div style="{{ t.stack }}"></div>
<div style="{{ t.canvas }}"></div>
<div style="{{ t.dots }}"></div>
- <sc-if value="{{ t.hasFloor }}"><div style="{{ t.floor }}"></div></sc-if>
- <sc-if value="{{ t.hasMarquee }}"><div style="position:absolute;top:12px;right:16px;z-index:42;pointer-events:none;font-family:var(--font-mono);font-size:11px;letter-spacing:.2em;color:var(--node-pulse-color);text-shadow:0 0 4px var(--node-pulse-color);animation:cyber-blink 1.6s steps(2) infinite;animation-play-state:var(--play)">{{ t.marquee }}</div></sc-if>
- <sc-if value="{{ t.hasCrt }}"><div style="position:absolute;inset:0;pointer-events:none;z-index:40;background:repeating-linear-gradient(0deg,transparent 0 2px,rgba(0,0,0,0.25) 2px 3px);animation:cyber-flicker 5s linear infinite;animation-play-state:var(--play)"></div></sc-if>
- <sc-if value="{{ t.hasScan }}"><div style="position:absolute;left:0;right:0;height:12%;pointer-events:none;z-index:41;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--node-pulse-color) 18%,transparent),transparent);animation:cyber-roll 8s linear infinite;animation-play-state:var(--play)"></div></sc-if>
- <sc-if value="{{ t.isRen }}"><div style="position:absolute;inset:0;pointer-events:none;z-index:38;background:radial-gradient(circle 220px at 22% 24%,color-mix(in srgb,var(--action-config) 12%,transparent),transparent 70%);animation:ren-flicker 6s ease-in-out infinite;animation-play-state:var(--play)"></div></sc-if>
<svg width="620" height="488" viewBox="0 0 620 488" style="position:absolute;inset:0;z-index:1;pointer-events:none">
<g fill="none" stroke="color-mix(in srgb,var(--fg-default) 62%,transparent)" stroke-width="1.5" stroke-dasharray="5 5" stroke-linejoin="round">
@@ -1233,7 +1192,7 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font:400 11px/1 ui-monospace,Menlo,monospace;color:#a3abb8">tokens/animations.css + themes/base.css · easing carries the personality; the glow ladder is rest → hover → selected → executing → success → error</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:26px">
- <sc-for list="{{ themes }}" as="t" hint-placeholder-count="12">
+ <sc-for list="{{ themes }}" as="t" hint-placeholder-count="3">
<div style="{{ t.vars }}">
<div style="display:flex;align-items:baseline;gap:7px;margin:0 0 7px 2px">
<span style="font:600 11px/1 ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#e8eaed">{{ t.name }}</span>
@@ -1307,11 +1266,6 @@ https://github.com/zeenie-ai/OpenCompany/pull/482
<span style="font-family:var(--font-mono);font-size:11px;color:var(--fg-muted)">pips</span>
</div>
</div>
- <div style="margin-top:auto;position:relative;height:34px;overflow:hidden;border:1px solid var(--border-default);border-radius:var(--radius-md);background:var(--bg-canvas)">
- <sc-if value="{{ t.hasScan }}"><span style="position:absolute;left:0;right:0;height:40%;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--node-pulse-color) 22%,transparent),transparent);animation:cyber-roll 3s linear infinite;animation-play-state:var(--play)"></span></sc-if>
- <sc-if value="{{ t.isRen }}"><span style="position:absolute;inset:0;background:radial-gradient(circle 60px at 30% 50%,color-mix(in srgb,var(--action-config) 22%,transparent),transparent 70%);animation:ren-flicker 6s ease-in-out infinite;animation-play-state:var(--play)"></span></sc-if>
- <span style="position:absolute;left:8px;top:50%;transform:translateY(-50%);font-family:var(--font-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-muted)">ambient: {{ t.ambient }}</span>
- </div>
</div>
</div>
</div>
@@ -1345,43 +1299,7 @@ const THEMES = [
ok:'#22c55e', warn:'#f59e0b', bad:'#ef4444', info:'#38bdf8',
na:'#bd93f9', nm:'#8be9fd', nt:'#50fa7b', ng:'#ff79c6', nw:'#ffb86c',
type:'Geist · sentence case', motion:'90/180/320 smooth', snd:'terminal' },
- { k:'renaissance', n:'Renaissance', fam:'UTOPIAN', w:'illuminated codex', dark:false,
- bg:'#f3e8c8', pan:'#ead09a', cv:'#e8d4a0', el:'#fbf3dc', inp:'#fbf3dc',
- fg:'#3a2008', mu:'#5a3c12', fa:'#9a7a44', bd:'#8a5e1c', st:'#6a4410',
- disp:"'Cinzel',serif", body:"'Cormorant Garamond',serif", mono:"'IM Fell English',serif", monoLabel:'IM Fell',
- caps:'uppercase', tr:'0.10em', base:'14px', r:[2,3,4,12],
- run:'hsl(78 63% 25%)', stop:'hsl(2 79% 30%)', save:'hsl(41 65% 51%)', cfg:'hsl(35 71% 44%)', sec:'hsl(211 56% 23%)', tools:'hsl(32 53% 48%)',
- ok:'hsl(78 63% 25%)', warn:'hsl(35 71% 44%)', bad:'hsl(2 79% 30%)', info:'hsl(211 56% 23%)',
- na:'#2548c8', nm:'#d4a030', nt:'hsl(78 63% 25%)', ng:'#8a1410', nw:'#f0c850',
- type:'Cinzel + Cormorant · UPPER .10em', motion:'140/280/520 organic', snd:'parchment' },
- { k:'greek', n:'Greek', fam:'UTOPIAN', w:'sun-bleached marble agora', dark:false,
- bg:'#ede5d0', pan:'#f5efde', cv:'#e6dcc2', el:'#faf6e9', inp:'#faf6e9',
- fg:'#2a2415', mu:'#6a5d3c', fa:'#9a8d6c', bd:'#b8a878', st:'#8a7a50',
- disp:"'Cinzel',serif", body:"'Cormorant Garamond',serif", mono:"'Courier Prime',monospace", monoLabel:'Courier Prime',
- caps:'uppercase', tr:'0.18em', base:'14px', r:[0,0,2,2],
- run:'hsl(71 41% 33%)', stop:'hsl(1 66% 29%)', save:'hsl(41 56% 52%)', cfg:'hsl(41 56% 52%)', sec:'hsl(217 53% 33%)', tools:'hsl(217 53% 33%)',
- ok:'hsl(71 41% 33%)', warn:'hsl(41 56% 52%)', bad:'hsl(1 66% 29%)', info:'hsl(217 53% 33%)',
- na:'#284b82', nm:'#c8a040', nt:'#6a7a32', ng:'#7a1a18', nw:'#284b82',
- type:'Cinzel + Cormorant · UPPER .18em', motion:'120/240/460 smooth', snd:'marble' },
- { k:'edo', n:'Edo', fam:'UTOPIAN', w:'washi paper + sumi-e ink', dark:false,
- bg:'#f4ecd8', pan:'#faf3e0', cv:'#ede4ca', el:'#fdf8ea', inp:'#fdf8ea',
- fg:'#1a1410', mu:'#6a5e48', fa:'#9a8e70', bd:'#c8b890', st:'#a09070',
- disp:"'Shippori Mincho',serif", body:"'Shippori Mincho',serif", mono:"'JetBrains Mono',monospace", monoLabel:'JetBrains',
- caps:'none', tr:'0.06em', base:'14px', r:[0,0,0,0],
- run:'hsl(100 29% 32%)', stop:'hsl(0 71% 41%)', save:'hsl(0 71% 41%)', cfg:'hsl(41 60% 49%)', sec:'hsl(24 25% 8%)', tools:'hsl(100 29% 32%)',
- ok:'hsl(100 29% 32%)', warn:'hsl(41 60% 49%)', bad:'hsl(0 71% 41%)', info:'hsl(24 25% 8%)',
- na:'#1a1410', nm:'#b41e1e', nt:'#4a6a3a', ng:'#e89aa8', nw:'#b41e1e',
- type:'Shippori Mincho · .06em', motion:'90/220/520 organic', snd:'ink' },
- { k:'steampunk', n:'Steampunk', fam:'UTOPIAN', w:'brass, copper, riveted leather', dark:true,
- bg:'#2a1f12', pan:'#3a2a18', cv:'#1a1208', el:'#4a3620', inp:'#2a1f12',
- fg:'#e8d8b0', mu:'#d6c199', fa:'#8a7450', bd:'#6a4a20', st:'#8a6430',
- disp:"'IM Fell English SC',serif", body:"'IM Fell English',serif", mono:"'Special Elite',monospace", monoLabel:'Special Elite',
- caps:'uppercase', tr:'0.10em', base:'14px', r:[2,4,8,8],
- run:'hsl(79 41% 38%)', stop:'hsl(14 68% 32%)', save:'hsl(40 64% 56%)', cfg:'hsl(40 64% 56%)', sec:'hsl(200 39% 47%)', tools:'hsl(18 63% 44%)',
- ok:'hsl(79 41% 38%)', warn:'hsl(40 64% 56%)', bad:'hsl(14 68% 32%)', info:'hsl(200 39% 47%)',
- na:'#d8a848', nm:'#b8602a', nt:'hsl(79 41% 38%)', ng:'#8a3a1a', nw:'#d8a848',
- type:'IM Fell SC · UPPER .10em', motion:'110/240/480 mechanical', snd:'clockwork' },
- { k:'atomic', n:'Atomic', fam:'UTOPIAN', w:'1962 Eames optimism', dark:false,
+ { k:'atomic', n:'Atomic', fam:'SKIN', w:'1962 Eames optimism', dark:false,
bg:'#f0e6d2', pan:'#faf2dc', cv:'#e8dcc0', el:'#ffffff', inp:'#ffffff',
fg:'#2a3a4a', mu:'#4a5867', fa:'#8a9aaa', bd:'#c8b890', st:'#a09880',
disp:"'Bevan',serif", body:"'Lato',sans-serif", mono:"'Space Mono',monospace", monoLabel:'Space Mono',
@@ -1390,51 +1308,6 @@ const THEMES = [
ok:'hsl(120 21% 45%)', warn:'hsl(41 67% 53%)', bad:'hsl(14 81% 53%)', info:'hsl(184 46% 43%)',
na:'#e85a26', nm:'#3a9aa0', nt:'hsl(130 60% 28%)', ng:'#d8a838', nw:'#2a3a4a',
type:'Bevan + Lato · UPPER .06em', motion:'100/200/380 bouncy', snd:'vibraphone' },
- { k:'cyber', n:'Cyber', fam:'DYSTOPIAN', w:'Neuromancer night market', dark:true,
- bg:'#050010', pan:'#0a0420', cv:'#03000a', el:'#15103a', inp:'#0a0420',
- fg:'#f0e0ff', mu:'#a090c0', fa:'#6a5a90', bd:'#2a1f50', st:'#4a3a80',
- disp:"'Space Mono','JetBrains Mono',monospace", body:"'JetBrains Mono',monospace", mono:"'JetBrains Mono',monospace", monoLabel:'JetBrains',
- caps:'uppercase', tr:'0.18em', base:'13px', r:[0,0,0,0],
- run:'hsl(147 71% 50%)', stop:'hsl(347 100% 56%)', save:'hsl(184 79% 51%)', cfg:'hsl(46 100% 58%)', sec:'hsl(316 92% 54%)', tools:'hsl(316 92% 54%)',
- ok:'hsl(147 71% 50%)', warn:'hsl(46 100% 58%)', bad:'hsl(347 100% 56%)', info:'hsl(184 79% 51%)',
- na:'#f51eb6', nm:'#1dd9e5', nt:'#26d97a', ng:'#ffd028', nw:'#f51eb6',
- type:'Space Mono · UPPER .18em · 13px · display swapped for legibility', motion:'60/120/240 steps() glitch', snd:'terminal' },
- { k:'wasteland', n:'Wasteland', fam:'DYSTOPIAN', w:'irradiated scrap-metal dust', dark:true,
- bg:'#2a2018', pan:'#3a2c1c', cv:'#1a1410', el:'#4a3826', inp:'#2a2018',
- fg:'#e8d8a8', mu:'#e0cba4', fa:'#8a7048', bd:'#6a4a28', st:'#8a6438',
- disp:"'Special Elite',monospace", body:"'Special Elite',monospace", mono:"'VT323',monospace", monoLabel:'VT323',
- caps:'uppercase', tr:'0.10em', base:'14px', r:[0,0,0,0],
- run:'hsl(64 56% 41%)', stop:'hsl(6 75% 41%)', save:'hsl(28 80% 53%)', cfg:'hsl(64 56% 51%)', sec:'hsl(28 80% 53%)', tools:'hsl(64 56% 51%)',
- ok:'hsl(64 56% 41%)', warn:'hsl(64 56% 51%)', bad:'hsl(6 75% 41%)', info:'hsl(28 80% 53%)',
- na:'#e88a28', nm:'#c8d038', nt:'#c8d038', ng:'#8a3a18', nw:'#d8c8a0',
- type:'Special Elite · UPPER .10em', motion:'60/180/320 jittery', snd:'scrap' },
- { k:'rot', n:'Rot', fam:'DYSTOPIAN', w:'moss-overgrown crypt', dark:true,
- bg:'#14181a', pan:'#1c2226', cv:'#0a0e10', el:'#242c30', inp:'#1c2226',
- fg:'#c8d8c0', mu:'#9dae9d', fa:'#56685c', bd:'#2a3a30', st:'#3e5246',
- disp:"'Pirata One',serif", body:"'EB Garamond',serif", mono:"'JetBrains Mono',monospace", monoLabel:'JetBrains',
- caps:'none', tr:'0.04em', base:'14px', r:[1,2,4,4],
- run:'hsl(120 43% 63%)', stop:'hsl(0 49% 44%)', save:'hsl(35 78% 56%)', cfg:'hsl(35 78% 56%)', sec:'hsl(200 36% 53%)', tools:'hsl(120 43% 63%)',
- ok:'hsl(120 43% 63%)', warn:'hsl(35 78% 56%)', bad:'hsl(0 49% 44%)', info:'hsl(200 36% 53%)',
- na:'#78c878', nm:'#d8d0b8', nt:'#78c878', ng:'#e8a838', nw:'#e8a838',
- type:'Pirata One + EB Garamond', motion:'140/320/680 drift', snd:'crypt' },
- { k:'plague', n:'Plague', fam:'DYSTOPIAN', w:'1349 quarantine broadsheet', dark:false,
- bg:'#d8d4c0', pan:'#e4dfc8', cv:'#c8c4b0', el:'#efeacf', inp:'#efeacf',
- fg:'#2a1c14', mu:'#584230', fa:'#9a8470', bd:'#a89478', st:'#7a6450',
- disp:"'Cinzel',serif", body:"'EB Garamond',serif", mono:"'Special Elite',monospace", monoLabel:'Special Elite',
- caps:'uppercase', tr:'0.06em', base:'14px', r:[0,0,0,0],
- run:'hsl(75 47% 30%)', stop:'hsl(14 50% 31%)', save:'hsl(14 50% 31%)', cfg:'hsl(65 49% 44%)', sec:'hsl(213 17% 35%)', tools:'hsl(14 50% 31%)',
- ok:'hsl(75 47% 30%)', warn:'hsl(65 49% 44%)', bad:'hsl(14 50% 31%)', info:'hsl(213 17% 35%)',
- na:'#783c28', nm:'#98a838', nt:'#98a838', ng:'#783c28', nw:'#1a1410',
- type:'Cinzel + EB Garamond · display swapped for legibility', motion:'100/220/460 stiff', snd:'bell' },
- { k:'surveillance', n:'Surveillance', fam:'DYSTOPIAN', w:'1970s panopticon control room', dark:true,
- bg:'#1a1c1e', pan:'#232628', cv:'#0a0c0e', el:'#2c3034', inp:'#232628',
- fg:'#c8ccd0', mu:'#b4b8bc', fa:'#62666a', bd:'#3a3e42', st:'#52565a',
- disp:"'Anonymous Pro',monospace", body:"'IBM Plex Mono',monospace", mono:"'IBM Plex Mono',monospace", monoLabel:'IBM Plex',
- caps:'uppercase', tr:'0.10em', base:'13px', r:[0,0,0,0],
- run:'hsl(120 49% 61%)', stop:'hsl(0 81% 53%)', save:'hsl(120 49% 61%)', cfg:'hsl(41 74% 49%)', sec:'hsl(0 81% 53%)', tools:'hsl(213 51% 56%)',
- ok:'hsl(120 49% 61%)', warn:'hsl(41 74% 49%)', bad:'hsl(0 81% 53%)', info:'hsl(213 51% 56%)',
- na:'#6acc6a', nm:'#d8a020', nt:'#6acc6a', ng:'#e82626', nw:'#888c90',
- type:'Anonymous Pro + IBM Plex · 13px', motion:'60/140/240 linear scan', snd:'telex' },
];
/* Motion contract + canvas decoration, per theme.
@@ -1448,122 +1321,22 @@ const MOTION = {
dark: { d:[90,180,320], ease:'cubic-bezier(0.2,0.7,0.3,1)', style:'smooth',
curve:'M0,100 C20,30 30,0 100,0', pulse:'node-pulse 1.4s ease-in-out infinite', glow:'#38bdf8',
grid:'none', gsize:'auto', gop:1 },
- renaissance: { d:[140,280,520], ease:'cubic-bezier(0.4,0,0.2,1)', style:'organic',
- curve:'M0,100 C40,100 20,0 100,0', pulse:'ren-pulse-exec 2s ease-in-out infinite', glow:'#2548c8',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%238a5e1c' stroke-width='0.4' opacity='0.35'><path d='M40 22 Q35 32, 30 32 Q26 32, 28 28 Q32 26, 40 28 Q48 26, 52 28 Q54 32, 50 32 Q45 32, 40 22 Z'/><path d='M40 28 L40 40 M36 36 L44 36'/><circle cx='40' cy='42' r='2'/></g></svg>")`, gsize:'auto',
- stack:`radial-gradient(ellipse at center,transparent 30%,rgba(90,50,18,0.25) 100%)`, ssize:'auto', gop:1,
- frame:'inset 0 0 0 2px #8a5e1c, inset 0 0 0 6px #d4a030, inset 0 0 0 8px #5a3a14, inset 0 0 60px rgba(90,50,18,0.3)',
- ambient:'candle flicker 6s' },
- greek: { d:[120,240,460], ease:'cubic-bezier(0.3,0.7,0.4,1)', style:'smooth',
- curve:'M0,100 C30,30 40,0 100,0', pulse:'node-pulse 1.4s ease-in-out infinite', glow:'#284b82',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g fill='none' stroke='%234a3818' stroke-width='0.4' opacity='0.18'><path d='M0 40 H10 V20 H30 V60 H50 V20 H70 V40 H80'/></g></svg>")`, gsize:'auto', gop:1 },
- edo: { d:[90,220,520], ease:'cubic-bezier(0.4,0,0.2,1)', style:'organic',
- curve:'M0,100 C40,100 20,0 100,0', pulse:'node-pulse 1.6s ease-in-out infinite', glow:'#b41e1e',
- grid:`none`, gsize:'auto',
- stack:`radial-gradient(ellipse 600px 200px at 80% 90%,rgba(26,20,16,0.10),transparent 60%)`, ssize:'auto', gop:1 },
- steampunk: { d:[110,240,480], ease:'cubic-bezier(0.5,0,0.4,1.1)', style:'mechanical',
- curve:'M0,100 C50,100 40,-10 100,0', pulse:'node-pulse 1.4s ease-in-out infinite', glow:'#d8a848',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g fill='%23b88838' opacity='0.10'><circle cx='40' cy='40' r='1.5'/><circle cx='10' cy='10' r='1'/><circle cx='70' cy='70' r='1'/></g></svg>")`, gsize:'auto',
- stack:`radial-gradient(circle at 20% 20%,var(--node-model) 0%,transparent 1.5%),radial-gradient(circle at 80% 30%,var(--node-model) 0%,transparent 1.5%),radial-gradient(circle at 30% 80%,var(--node-model) 0%,transparent 1.5%),radial-gradient(circle at 90% 90%,var(--node-model) 0%,transparent 1.5%)`, ssize:'auto', gop:1 },
atomic: { d:[100,200,380], ease:'cubic-bezier(0.34,1.6,0.5,1)', style:'bouncy',
curve:'M0,100 C34,-60 50,0 100,0', pulse:'node-pulse 1.4s ease-in-out infinite', glow:'#3a9aa0',
grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g stroke='%232a3a4a' stroke-width='0.6' fill='none' opacity='0.18'><path d='M40 80 L120 80 M80 40 L80 120 M50 50 L110 110 M110 50 L50 110'/></g></svg>")`, gsize:'auto',
stack:`radial-gradient(circle at 12% 15%,var(--node-agent) 0%,transparent 0.8%),radial-gradient(circle at 88% 12%,var(--node-model) 0%,transparent 0.6%),radial-gradient(circle at 18% 88%,var(--node-trigger) 0%,transparent 0.7%),radial-gradient(circle at 82% 90%,var(--node-agent) 0%,transparent 0.5%),radial-gradient(circle at 50% 50%,var(--node-model) 0%,transparent 0.4%)`, ssize:'auto', gop:1 },
- cyber: { d:[60,120,240], ease:'steps(4,end)', style:'glitch',
- curve:'M0,100 L25,100 L25,75 L50,75 L50,50 L75,50 L75,25 L100,25 L100,0',
- pulse:'cyber-pulse-exec 1.6s steps(2) infinite', glow:'#1dd9e5',
- grid:'repeating-linear-gradient(0deg,transparent 0 23px,rgba(245,30,182,0.10) 23px 24px),repeating-linear-gradient(90deg,transparent 0 23px,rgba(29,217,229,0.10) 23px 24px)', gsize:'auto', gop:1,
- crt:true, scan:true, ambient:'CRT flicker 5s + scanline 8s',
- stack:'radial-gradient(ellipse at 50% 100%,rgba(245,30,182,0.25),transparent 60%),linear-gradient(180deg,transparent 0%,transparent 50%,rgba(29,217,229,0.04) 50%,rgba(29,217,229,0.08) 100%),linear-gradient(rgba(245,30,182,0.08) 1px,transparent 1px),linear-gradient(90deg,rgba(29,217,229,0.08) 1px,transparent 1px)',
- ssize:'auto,auto,24px 24px,24px 24px',
- floor:'linear-gradient(180deg,transparent,rgba(245,30,182,0.10) 80%),repeating-linear-gradient(180deg,transparent 0 20px,rgba(29,217,229,0.4) 20px 21px)',
- marquee:'\u25c6 SIGNAL \u25c6 NIGHT_MARKET.7 \u25c6 03:47:22' },
- wasteland: { d:[60,180,320], ease:'cubic-bezier(0.6,0,0.4,1)', style:'jittery',
- curve:'M0,100 C60,100 40,0 100,0', pulse:'node-pulse 1.3s ease-in-out infinite', glow:'#c8d038',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><g stroke='%23e88a28' stroke-width='0.4' fill='none' opacity='0.10'><path d='M40 10 Q60 60 30 100 Q10 140 50 180 M120 0 Q140 80 100 140 M180 30 Q160 80 190 130'/></g></svg>")`, gsize:'auto', gop:1 },
- rot: { d:[140,320,680], ease:'cubic-bezier(0.4,0,0.6,1)', style:'drift',
- curve:'M0,100 C40,100 60,0 100,0', pulse:'node-pulse 2.2s ease-in-out infinite', glow:'#78c878',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g stroke='%234a6a4a' stroke-width='0.4' fill='none' opacity='0.25'><path d='M0 30 H80 M30 0 V80 M0 60 H80 M60 0 V80'/></g></svg>")`, gsize:'auto',
- stack:`radial-gradient(circle 200px at 25% 30%,rgba(232,168,56,0.06),transparent 70%),radial-gradient(circle 180px at 78% 65%,rgba(232,168,56,0.05),transparent 70%)`, ssize:'auto', gop:1 },
- plague: { d:[100,220,460], ease:'cubic-bezier(0.4,0,0.6,1)', style:'stiff',
- curve:'M0,100 C40,100 60,0 100,0', pulse:'node-pulse 1.6s ease-in-out infinite', glow:'hsl(14 50% 31%)',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><g stroke='%23783c28' stroke-width='1.6' fill='none' opacity='0.10' stroke-linecap='square'><path d='M40 40 L60 60 M60 40 L40 60'/><path d='M180 80 L200 100 M200 80 L180 100'/><path d='M80 180 L100 200 M100 180 L80 200'/></g></svg>")`, gsize:'auto', gop:1 },
- surveillance: { d:[60,140,240], ease:'linear', style:'scanline',
- curve:'M0,100 L100,0', pulse:'surv-pulse-exec 1s steps(2) infinite', glow:'hsl(0 81% 53%)',
- grid:`url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1920' height='1080'><g stroke='%23e82626' stroke-width='1' fill='none' opacity='0.18'><path d='M40 40 H120 M40 40 V120 M1880 40 H1800 M1880 40 V120 M40 1040 H120 M40 1040 V960 M1880 1040 H1800 M1880 1040 V960'/><circle cx='960' cy='540' r='40' opacity='0.2'/><path d='M960 480 V600 M900 540 H1020' opacity='0.25'/></g></svg>"),repeating-linear-gradient(0deg,transparent 0 3px,rgba(106,204,106,0.04) 3px 4px),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><g stroke='%23888c90' stroke-width='0.4' fill='none' opacity='0.12'><path d='M0 20 H40 M20 0 V40'/></g></svg>")`, gsize:'100% 100%,auto,auto', gop:1,
- scan:true, ambient:'REC blink + scanline' },
};
/* THEMED_GLYPHS subset — verbatim inner markup from
* client/src/assets/icons/themedGlyphs.ts (six of the 29 IconKeys the panels
- * use). Renaissance keeps its heraldic cartouche wrap; Cyber keeps its neon
- * drop-shadow wrap and currentColor fills. Themes with no entry fall through
- * to the neutral lucide set, exactly as <NodeIcon> does. */
+ * use); Atomic is the only theme with a set. Themes with no entry fall
+ * through to the neutral lucide set, exactly as <NodeIcon> does. */
const SVG_OPEN = '<svg viewBox="0 0 32 32" fill="none" width="100%" height="100%">';
-const SVG_OPEN_CYBER = '<svg viewBox="0 0 32 32" fill="none" width="100%" height="100%" style="filter:drop-shadow(0 0 3px currentColor)">';
-const CARTOUCHE = '<path d="M4 4 H28 V22 Q28 28, 16 30 Q4 28, 4 22 Z" fill="#fbf3dc" stroke="#5a3a14" stroke-width="1.5"/><path d="M5 5 H27 V22 Q27 27, 16 29 Q5 27, 5 22 Z" fill="none" stroke="#d4a030" stroke-width="0.8"/>';
const w = (i) => SVG_OPEN + i + '</svg>';
-const wC = (i) => SVG_OPEN_CYBER + i + '</svg>';
-const wR = (i) => SVG_OPEN + CARTOUCHE + i + '</svg>';
const LU = (i) => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" width="100%" height="100%">' + i + '</svg>';
const GLYPHS = {
- renaissance: {
- send: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030"><path d="M9 22 L24 14 L11 13 L13 17 L9 22 Z"/></g>'),
- tool: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030"><path d="M10 22 L18 14 M22 12 L24 14 M22 12 L20 10 M22 12 Q26 8, 20 8 L18 10 Z"/><circle cx="11" cy="22" r="1.5" fill="#5a3a14"/></g>'),
- trigger: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030"><path d="M16 8 L12 18 L16 18 L14 24 L20 14 L16 14 Z"/></g>'),
- agent: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030" stroke-linejoin="round"><circle cx="16" cy="13" r="4"/><path d="M9 22 Q16 17, 23 22 L23 25 Q16 27, 9 25 Z"/><path d="M14 12 L13 9 M18 12 L19 9" stroke-width="1"/></g>'),
- folder: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030"><path d="M9 12 L13 12 L15 14 L23 14 L23 23 L9 23 Z"/></g>'),
- search: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="none"><circle cx="14" cy="14" r="4"/><path d="M17 17 L22 22"/></g>'),
- settings: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030"><circle cx="16" cy="16" r="3"/><path d="M16 9 L16 12 M16 20 L16 23 M9 16 L12 16 M20 16 L23 16 M11 11 L13 13 M19 19 L21 21 M11 21 L13 19 M19 13 L21 11"/></g>'),
- credentials: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#d4a030"><circle cx="14" cy="16" r="4"/><path d="M18 16 L24 16 L24 18 M22 16 L22 19"/></g>'),
- memory: wR('<g stroke="#5a3a14" stroke-width="1.4" fill="#fbf3dc"><rect x="9" y="10" width="14" height="14"/><path d="M9 14 L23 14 M9 18 L23 18 M13 10 L13 24 M19 10 L19 24" stroke-width="0.8"/></g>'),
- },
- cyber: {
- send: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><path d="M5 16 L27 6 L20 27 L17 18 L8 16 Z" fill="currentColor" fill-opacity="0.2"/></g>'),
- tool: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><rect x="6" y="14" width="20" height="4"/><path d="M10 14 L10 12 L14 12 L14 14 M18 18 L18 20 L22 20 L22 18"/></g>'),
- trigger: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><path d="M16 4 L11 16 L16 16 L13 28 L21 14 L16 14 Z" fill="currentColor" fill-opacity="0.3"/></g>'),
- agent: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><rect x="9" y="6" width="14" height="20"/><rect x="12" y="11" width="2" height="2" fill="currentColor"/><rect x="18" y="11" width="2" height="2" fill="currentColor"/><path d="M12 18 L20 18 M14 22 L18 22"/><path d="M16 6 L16 4 M16 26 L16 28" stroke-dasharray="1 1"/></g>'),
- folder: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><path d="M5 10 L13 10 L15 12 L27 12 L27 24 L5 24 Z"/></g>'),
- search: wC('<g stroke="currentColor" stroke-width="1.4" fill="none"><circle cx="14" cy="14" r="6"/><path d="M19 19 L26 26"/></g>'),
- settings: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><circle cx="16" cy="16" r="3"/><circle cx="16" cy="16" r="8"/><path d="M16 4 L16 8 M16 24 L16 28 M4 16 L8 16 M24 16 L28 16"/></g>'),
- credentials: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><circle cx="12" cy="16" r="4"/><path d="M16 16 L28 16 L28 19 M24 16 L24 20 M20 16 L20 18"/></g>'),
- memory: wC('<g stroke="currentColor" stroke-width="1.2" fill="none"><rect x="7" y="9" width="18" height="14"/><path d="M7 13 L25 13 M7 17 L25 17 M7 21 L25 21 M11 9 L11 23 M16 9 L16 23 M21 9 L21 23"/></g>'),
- },
- greek: {
- send: w('<g stroke="#284b82" stroke-width="1.4" fill="#c8a040"><path d="M5 27 L27 5 L19 13 L13 11 L11 19 L5 27 Z"/></g>'),
- tool: w('<g stroke="#284b82" stroke-width="1.4" fill="none"><path d="M6 22 L18 10 M22 6 L26 10 M24 8 Q28 4, 22 4 L18 8 Z" fill="#c8a040"/><circle cx="7" cy="22" r="1.5" fill="#284b82"/></g>'),
- trigger: w('<g stroke="#284b82" stroke-width="1.4" fill="#c8a040"><path d="M16 5 L8 17 L14 17 L12 27 L24 13 L18 13 L20 5 Z"/></g>'),
- agent: w('<g stroke="#284b82" stroke-width="1.4" fill="#284b82"><circle cx="16" cy="11" r="3.5" fill="none"/><path d="M9 23 Q9 17, 16 17 Q23 17, 23 23 Z" fill="none"/><path d="M14 9 L13 7 L19 7 L18 9" stroke-width="1"/></g>'),
- folder: w('<g stroke="#284b82" stroke-width="1.4" fill="#c8a040"><path d="M5 10 L13 10 L15 12 L27 12 L27 24 L5 24 Z"/><path d="M5 14 L27 14"/></g>'),
- search: w('<g stroke="#284b82" stroke-width="1.6" fill="none"><circle cx="13" cy="13" r="6"/><path d="M18 18 L26 26"/></g>'),
- settings: w('<g stroke="#284b82" stroke-width="1.4" fill="none"><circle cx="16" cy="16" r="3"/><circle cx="16" cy="16" r="8"/><path d="M16 4 L16 8 M16 24 L16 28 M4 16 L8 16 M24 16 L28 16 M8 8 L11 11 M21 21 L24 24 M8 24 L11 21 M21 11 L24 8"/></g>'),
- credentials: w('<g stroke="#284b82" stroke-width="1.4" fill="#c8a040"><circle cx="12" cy="16" r="4" fill="none"/><path d="M16 16 L28 16 L28 19 M24 16 L24 20 M20 16 L20 18"/></g>'),
- memory: w('<g stroke="#284b82" stroke-width="1.4" fill="none"><rect x="6" y="8" width="20" height="16"/><path d="M6 13 L26 13 M6 18 L26 18 M11 8 L11 24 M21 8 L21 24"/></g>'),
- },
- edo: {
- send: w('<g stroke="#1a1410" stroke-width="1.6" fill="#b41e1e" stroke-linejoin="round"><path d="M5 27 L27 5 L17 13 L13 11 L13 17 L5 27 Z"/></g>'),
- tool: w('<g stroke="#1a1410" stroke-width="1.8" fill="none" stroke-linecap="round"><path d="M6 24 L20 10 M22 8 L24 10 M22 8 Q26 4, 22 4 L20 6"/></g>'),
- trigger: w('<g stroke="#1a1410" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M17 4 L10 17 L15 17 L13 28 L22 14 L17 14 Z" fill="#b41e1e" fill-opacity="0.15"/></g>'),
- agent: w('<g stroke="#1a1410" stroke-width="1.6" fill="none" stroke-linecap="round"><circle cx="16" cy="11" r="3.5"/><path d="M9 24 Q9 18, 16 18 Q23 18, 23 24"/></g>'),
- folder: w('<g stroke="#1a1410" stroke-width="1.6" fill="none"><path d="M5 11 L13 11 L15 13 L27 13 L27 24 L5 24 Z"/></g>'),
- search: w('<g stroke="#1a1410" stroke-width="1.6" fill="none" stroke-linecap="round"><circle cx="13" cy="13" r="6"/><path d="M18 18 L25 25"/></g>'),
- settings: w('<g stroke="#1a1410" stroke-width="1.6" fill="none"><circle cx="16" cy="16" r="3"/><path d="M16 5 L16 9 M16 23 L16 27 M5 16 L9 16 M23 16 L27 16 M8 8 L11 11 M21 21 L24 24 M8 24 L11 21 M21 11 L24 8"/></g>'),
- credentials: w('<g stroke="#1a1410" stroke-width="1.6" fill="none"><circle cx="12" cy="16" r="4"/><path d="M16 16 L27 16 L27 19 M24 16 L24 20 M20 16 L20 18"/></g>'),
- memory: w('<g stroke="#1a1410" stroke-width="1.6" fill="none"><rect x="6" y="9" width="20" height="14"/><path d="M6 13 L26 13 M6 18 L26 18 M13 9 L13 23 M19 9 L19 23"/></g>'),
- },
- steampunk: {
- send: w('<g stroke="#4a2818" stroke-width="1.3" fill="#d8a848"><path d="M5 27 L27 5 L19 13 L13 11 L13 19 L5 27 Z"/></g>'),
- tool: w('<g stroke="#4a2818" stroke-width="1.3" fill="#d8a848"><circle cx="16" cy="16" r="6"/><path d="M16 8 L16 12 M16 20 L16 24 M8 16 L12 16 M20 16 L24 16 M11 11 L13 13 M19 19 L21 21 M11 21 L13 19 M19 13 L21 11"/><circle cx="16" cy="16" r="2" fill="#b8602a"/></g>'),
- trigger: w('<g stroke="#4a2818" stroke-width="1.3" fill="#d8a848"><circle cx="16" cy="16" r="9"/><path d="M16 8 L16 16 L20 19" stroke-width="1.6"/><circle cx="16" cy="16" r="1.5" fill="#4a2818"/></g>'),
- agent: w('<g stroke="#4a2818" stroke-width="1.3" fill="#d8a848"><circle cx="16" cy="11" r="3.5"/><path d="M9 24 Q9 18, 16 18 Q23 18, 23 24 Z"/><circle cx="16" cy="11" r="1" fill="#4a2818"/></g>'),
- folder: w('<g stroke="#4a2818" stroke-width="1.3" fill="#b8602a"><path d="M5 11 L13 11 L15 13 L27 13 L27 24 L5 24 Z"/><circle cx="7" cy="22" r="0.8" fill="#4a2818"/><circle cx="25" cy="22" r="0.8" fill="#4a2818"/></g>'),
- search: w('<g stroke="#4a2818" stroke-width="1.5" fill="none"><circle cx="13" cy="13" r="6"/><path d="M18 18 L25 25" stroke-width="2"/></g>'),
- settings: w('<g stroke="#4a2818" stroke-width="1.3" fill="#d8a848"><path d="M16 4 L18 8 L22 6 L22 11 L26 13 L24 16 L26 19 L22 21 L22 26 L18 24 L16 28 L14 24 L10 26 L10 21 L6 19 L8 16 L6 13 L10 11 L10 6 L14 8 Z"/><circle cx="16" cy="16" r="3" fill="#b8602a"/></g>'),
- credentials: w('<g stroke="#4a2818" stroke-width="1.3" fill="#d8a848"><circle cx="12" cy="16" r="4"/><circle cx="12" cy="16" r="1.5" fill="#4a2818"/><path d="M16 16 L27 16 L27 20 M23 16 L23 20 M19 16 L19 18"/></g>'),
- memory: w('<g stroke="#4a2818" stroke-width="1.3" fill="#b8602a"><rect x="6" y="9" width="20" height="14"/><path d="M6 14 L26 14 M6 19 L26 19" stroke="#d8a848"/><circle cx="9" cy="11" r="0.8" fill="#4a2818"/><circle cx="23" cy="11" r="0.8" fill="#4a2818"/><circle cx="9" cy="21" r="0.8" fill="#4a2818"/><circle cx="23" cy="21" r="0.8" fill="#4a2818"/></g>'),
- },
atomic: {
send: w('<g stroke="#2a3a4a" stroke-width="2" fill="#e85a26" stroke-linejoin="round"><path d="M4 28 L28 4 L18 14 L12 11 L11 19 Z"/></g>'),
tool: w('<g stroke="#2a3a4a" stroke-width="2" fill="#3a9aa0" stroke-linejoin="round"><path d="M5 25 L18 12 M22 8 L26 12 M22 8 Q28 2, 22 4 L18 8 Z"/></g>'),
@@ -1575,32 +1348,10 @@ const GLYPHS = {
credentials: w('<g stroke="#2a3a4a" stroke-width="2" fill="#d8a838"><circle cx="12" cy="16" r="4"/><path d="M16 16 L28 16 L28 20 M23 16 L23 21 M19 16 L19 19"/></g>'),
memory: w('<g stroke="#2a3a4a" stroke-width="2" fill="#3a9aa0"><rect x="5" y="9" width="22" height="14" rx="3"/><path d="M5 14 L27 14 M5 19 L27 19" stroke="#2a3a4a"/></g>'),
},
- wasteland: {
- send: w('<g stroke="#e88a28" stroke-width="2" fill="#e88a28" fill-opacity="0.3" stroke-linejoin="round"><path d="M5 27 L27 5 L19 13 L13 11 L13 19 L5 27 Z"/></g>'),
- tool: w('<g stroke="#e88a28" stroke-width="2" fill="none" stroke-linejoin="round"><path d="M5 25 L17 13 M19 11 L21 13 M19 11 Q25 5, 21 7 L17 11 Z"/><path d="M5 25 L7 27"/></g>'),
- trigger: w('<g stroke="#c8d038" stroke-width="2" fill="#c8d038" fill-opacity="0.3" stroke-linejoin="round"><path d="M16 4 L9 18 L15 18 L12 28 L23 13 L17 13 L19 4 Z"/></g>'),
- agent: w('<g stroke="#e88a28" stroke-width="2" fill="none" stroke-linejoin="round"><path d="M12 7 L20 7 L20 14 L23 14 L23 24 L9 24 L9 14 L12 14 Z"/><rect x="13" y="10" width="2" height="2" fill="#e88a28"/><rect x="17" y="10" width="2" height="2" fill="#e88a28"/></g>'),
- folder: w('<g stroke="#e88a28" stroke-width="2" fill="none" stroke-linejoin="round"><path d="M5 11 L13 11 L15 13 L27 13 L27 24 L5 24 Z"/></g>'),
- search: w('<g stroke="#e88a28" stroke-width="2" fill="none" stroke-linecap="square"><circle cx="13" cy="13" r="6"/><path d="M18 18 L25 25"/></g>'),
- settings: w('<g stroke="#e88a28" stroke-width="2" fill="none"><circle cx="16" cy="16" r="3"/><path d="M16 4 L16 9 M16 23 L16 28 M4 16 L9 16 M23 16 L28 16 M8 8 L11 11 M21 21 L24 24 M8 24 L11 21 M21 11 L24 8"/></g>'),
- credentials: w('<g stroke="#e88a28" stroke-width="2" fill="none"><circle cx="12" cy="16" r="4"/><path d="M16 16 L27 16 L27 20 M23 16 L23 20"/></g>'),
- memory: w('<g stroke="#e88a28" stroke-width="2" fill="none"><rect x="6" y="9" width="20" height="14"/><path d="M6 13 L26 13 M6 18 L26 18 M11 9 L11 23 M21 9 L21 23"/></g>'),
- },
- rot: {
- send: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="#78c878" fill-opacity="0.2" stroke-linejoin="round"><path d="M5 27 L27 5 L19 13 L13 11 L13 19 L5 27 Z"/></g>'),
- tool: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><path d="M6 25 L18 13 M22 9 L24 11 M22 9 Q26 5, 22 5 L18 9 Z" fill="#78c878" fill-opacity="0.3"/></g>'),
- trigger: w('<g stroke="#78c878" stroke-width="1.6" fill="none" stroke-linecap="round"><path d="M16 5 L11 17 L16 17 L13 27 L21 14 L16 14 Z" fill="#78c878" fill-opacity="0.2"/></g>'),
- agent: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><circle cx="16" cy="11" r="3.5"/><path d="M9 24 Q9 18, 16 18 Q23 18, 23 24"/><path d="M14 13 L14 16 M18 13 L18 16" stroke="#78c878" stroke-width="0.8"/></g>'),
- folder: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><path d="M5 11 L13 11 L15 13 L27 13 L27 24 L5 24 Z"/></g>'),
- search: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><circle cx="13" cy="13" r="6"/><path d="M18 18 L25 25"/></g>'),
- settings: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><circle cx="16" cy="16" r="3"/><path d="M16 4 L16 9 M16 23 L16 28 M4 16 L9 16 M23 16 L28 16 M8 8 L11 11 M21 21 L24 24 M8 24 L11 21 M21 11 L24 8"/></g>'),
- credentials: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><circle cx="12" cy="16" r="4"/><path d="M16 16 L27 16 L27 20 M23 16 L23 20"/></g>'),
- memory: w('<g stroke="#d8d0b8" stroke-width="1.4" fill="none"><rect x="6" y="9" width="20" height="14"/><path d="M6 13 L26 13 M6 18 L26 18 M11 9 L11 23 M21 9 L21 23"/></g>'),
- },
};
-/* Neutral lucide fallback — light, dark, plague and surveillance declare no
- * THEMED_GLYPHS entries, so <NodeIcon> resolves them through lucide. */
+/* Neutral lucide fallback — light and dark declare no THEMED_GLYPHS
+ * entries, so <NodeIcon> resolves them through lucide. */
const LUCIDE = {
folder: LU('<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/>'),
search: LU('<circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/>'),
@@ -1622,10 +1373,6 @@ const glyph = (themeKey, key, size) => {
});
};
-// Mid-luminance dark grounds: their --fg-default is a mid cream/sage, so the
-// accent has to be pulled much further toward it than on a true near-black.
-const ACCENT_MIX = { renaissance: '26%', steampunk: '28%', wasteland: '24%', rot: '32%', surveillance: '26%' };
-
const PALETTE = [
{ id:'ai', label:'AI', icon:'🤖', role:'na', items:[
{ icon:'🤖', name:'AI Agent', desc:'LangGraph agent with memory and tools' },
@@ -1660,7 +1407,7 @@ const PANELS = [
class Component extends DCLogic {
state = {
- fam: 'ALL', zoom: 1, query: '', tab: 'console',
+ zoom: 1, query: '', tab: 'console',
sw: { sidebar: true, palette: true, skill: true },
temp: 70, ratio: 80, ran: false,
wf: 'w2', task: 't1', view: 'grid',
@@ -1679,7 +1426,7 @@ class Component extends DCLogic {
'--bg-hover': t.dark ? 'rgba(255,255,255,.05)' : 'rgba(0,0,0,.04)',
'--bg-active': t.dark ? 'rgba(255,255,255,.08)' : 'rgba(0,0,0,.06)',
'--fg-default': t.fg, '--fg-muted': t.mu, '--fg-faint': t.fa,
- '--accent-text-mix': ACCENT_MIX[t.k] || (t.dark ? '65%' : '34%'),
+ '--accent-text-mix': t.dark ? '65%' : '34%',
'--border-default': t.bd, '--border-strong': t.st,
'--font-display': t.disp, '--font-body': t.body, '--font-mono': t.mono,
'--type-uppercase': t.caps, '--type-tracking-display': t.tr,
@@ -1710,8 +1457,7 @@ class Component extends DCLogic {
renderVals() {
const s = this.state;
- const fam = s.fam;
- const themes = THEMES.filter((t) => fam === 'ALL' || t.fam === fam).map((t) => {
+ const themes = THEMES.map((t) => {
const m = MOTION[t.k];
return {
key: t.k, name: t.n, fam: t.fam, world: t.w, upper: t.n.toUpperCase(),
@@ -1726,12 +1472,6 @@ class Component extends DCLogic {
dots: { position: 'absolute', inset: 0, pointerEvents: 'none', zIndex: 0,
backgroundImage: 'radial-gradient(color-mix(in srgb,var(--fg-muted) 30%,transparent) 1px,transparent 1px)',
backgroundSize: '20px 20px' },
- floor: { position: 'absolute', left: 0, right: 0, bottom: 0, height: '50%',
- pointerEvents: 'none', zIndex: 0, opacity: 0.4,
- transform: 'perspective(300px) rotateX(60deg)', transformOrigin: 'bottom',
- backgroundImage: m.floor },
- hasFloor: !!m.floor, marquee: m.marquee || '', hasMarquee: !!m.marquee,
- isRen: t.k === 'renaissance',
pulseAnim: m.pulse, glow: m.glow,
pulseAnimSq: m.pulse.replace(/ [\d.]+s /, ' 1.5s '),
themedIcons: !!GLYPHS[t.k],
@@ -1750,8 +1490,6 @@ class Component extends DCLogic {
mStyle: m.style, ease: m.ease, curve: m.curve,
durF: m.d[0] + 'ms', durD: m.d[1] + 'ms', durS: m.d[2] + 'ms',
pulseName: m.pulse.split(' ')[0] + ' · ' + m.pulse.split(' ')[1],
- hasScan: !!m.scan, hasCrt: !!m.crt,
- ambient: m.ambient || '—',
slideAnim: 'ocslide ' + (m.d[2] * 2.4) + 'ms ' + m.ease + ' infinite alternate',
};
});
@@ -1784,12 +1522,6 @@ class Component extends DCLogic {
zoomLabel: Math.round(s.zoom * 100) + '%',
zoomIn: () => this.setState({ zoom: Math.min(1.2, +(s.zoom + 0.1).toFixed(2)) }),
zoomOut: () => this.setState({ zoom: Math.max(0.4, +(s.zoom - 0.1).toFixed(2)) }),
- famIs: { all: fam === 'ALL', base: fam === 'BASE', uto: fam === 'UTOPIAN', dys: fam === 'DYSTOPIAN' },
- famNot: { all: fam !== 'ALL', base: fam !== 'BASE', uto: fam !== 'UTOPIAN', dys: fam !== 'DYSTOPIAN' },
- setAll: () => this.setState({ fam: 'ALL' }),
- setBase: () => this.setState({ fam: 'BASE' }),
- setUto: () => this.setState({ fam: 'UTOPIAN' }),
- setDys: () => this.setState({ fam: 'DYSTOPIAN' }),
query: s.query,
onQuery: (e) => this.setState({ query: e.target.value }),
tab: { chat: s.tab === 'chat', console: s.tab === 'console', term: s.tab === 'terminal' },
diff --git a/docs-internal/design-system/reference/themes/README.md b/docs-internal/design-system/reference/themes/README.md
index 085d5354..cfe80e33 100644
--- a/docs-internal/design-system/reference/themes/README.md
+++ b/docs-internal/design-system/reference/themes/README.md
@@ -6,8 +6,8 @@ shadcn bridge, and lacked the `--code-*` / `--tint-*` tiers), and a second
vendored copy is exactly how they went stale.
**Read the live files instead:** [`client/src/themes/`](../../../../client/src/themes/)
-— 14 files (`base.css`, `animations.css`, `light.css`, `dark.css` + the 10
-skins). They ARE the design system's theme layer; the external handoff
+— 5 files (`base.css`, `animations.css`, `light.css`, `dark.css` and the
+one skin, `atomic.css`). They ARE the design system's theme layer; the external handoff
bundle shipped a byte-identical copy of them and named them its source of
truth.
diff --git a/docs-internal/design-system/tokens/animations.css b/docs-internal/design-system/tokens/animations.css
index 47a6272d..82386615 100644
--- a/docs-internal/design-system/tokens/animations.css
+++ b/docs-internal/design-system/tokens/animations.css
@@ -1,17 +1,14 @@
/* ============================================================================
- * OpenCompany — animation system (all 12 themes)
+ * OpenCompany — animation system (light, dark, atomic)
*
* Source: client/src/themes/base.css + each theme file's Motion block and
* decorative keyframes. This file declares:
* 1. Per-theme motion scopes — dur/ease/motion-style by [data-theme].
* 2. The signature keyframes every theme draws from.
- * 3. Reusable helper classes (pulse, blink, ambient overlays).
+ * 3. Reusable helper classes (pulse, blink).
*
* Motion personality lives in the EASING FUNCTION, not just duration:
- * smooth (light/dark/greek) · organic (renaissance/edo) ·
- * mechanical (steampunk) · bouncy 1.6 overshoot (atomic) ·
- * glitch steps(4) (cyber) · jittery (wasteland) · drift 680ms (rot) ·
- * stiff (plague) · scanline linear (surveillance).
+ * smooth (light/dark) · bouncy 1.6 overshoot (atomic).
*
* The executing-node pulse uses --node-pulse-color (a theme-chosen high
* contrast accent), NEVER the node's own role color, so the glow stays
@@ -29,77 +26,19 @@
}
/* ---- Per-theme motion contracts ---- */
-[data-theme="renaissance"] {
- --dur-fast: 140ms; /* @kind other */ --dur-default: 280ms; /* @kind other */ --dur-slow: 520ms; /* @kind other */
- --ease-default: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.7, -0.1, 0.3, 1.2); /* @kind other */
- --motion-style: organic; /* @kind other */
- --pulse-keyframe: ren-pulse-exec; /* @kind other */ --pulse-duration: 2s; /* @kind other */ --pulse-timing: ease-in-out; /* @kind other */
-}
-[data-theme="greek"] {
- --dur-fast: 120ms; /* @kind other */ --dur-default: 240ms; /* @kind other */ --dur-slow: 460ms; /* @kind other */
- --ease-default: cubic-bezier(0.3, 0.7, 0.4, 1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.6, -0.05, 0.3, 1.4); /* @kind other */
- --motion-style: smooth; /* @kind other */
-}
-[data-theme="edo"] {
- --dur-fast: 90ms; /* @kind other */ --dur-default: 220ms; /* @kind other */ --dur-slow: 520ms; /* @kind other */
- --ease-default: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.7, -0.1, 0.3, 1.2); /* @kind other */
- --motion-style: organic; /* @kind other */
-}
-[data-theme="steampunk"] {
- --dur-fast: 110ms; /* @kind other */ --dur-default: 240ms; /* @kind other */ --dur-slow: 480ms; /* @kind other */
- --ease-default: cubic-bezier(0.5, 0, 0.4, 1.1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.7, -0.1, 0.3, 1.2); /* @kind other */
- --motion-style: mechanical; /* @kind other */
-}
[data-theme="atomic"] {
--dur-fast: 100ms; /* @kind other */ --dur-default: 200ms; /* @kind other */ --dur-slow: 380ms; /* @kind other */
--ease-default: cubic-bezier(0.34, 1.6, 0.5, 1); /* @kind other */
--ease-emphasis: cubic-bezier(0.34, 1.6, 0.5, 1); /* @kind other */
--motion-style: bouncy; /* @kind other */
}
-[data-theme="cyber"] {
- --dur-fast: 60ms; /* @kind other */ --dur-default: 120ms; /* @kind other */ --dur-slow: 240ms; /* @kind other */
- --ease-default: steps(4, end); /* @kind other */
- --ease-emphasis: steps(8, end); /* @kind other */
- --motion-style: glitch; /* @kind other */
- --pulse-keyframe: cyber-pulse-exec; /* @kind other */ --pulse-duration: 1.6s; /* @kind other */ --pulse-timing: steps(2); /* @kind other */
-}
-[data-theme="wasteland"] {
- --dur-fast: 60ms; /* @kind other */ --dur-default: 180ms; /* @kind other */ --dur-slow: 320ms; /* @kind other */
- --ease-default: cubic-bezier(0.6, 0, 0.4, 1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.6, 0, 0.4, 1); /* @kind other */
- --motion-style: jittery; /* @kind other */
-}
-[data-theme="rot"] {
- --dur-fast: 140ms; /* @kind other */ --dur-default: 320ms; /* @kind other */ --dur-slow: 680ms; /* @kind other */
- --ease-default: cubic-bezier(0.4, 0, 0.6, 1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.4, 0, 0.6, 1); /* @kind other */
- --motion-style: drift; /* @kind other */
- --pulse-duration: 2.2s; /* @kind other */
-}
-[data-theme="plague"] {
- --dur-fast: 100ms; /* @kind other */ --dur-default: 220ms; /* @kind other */ --dur-slow: 460ms; /* @kind other */
- --ease-default: cubic-bezier(0.4, 0, 0.6, 1); /* @kind other */
- --ease-emphasis: cubic-bezier(0.4, 0, 0.6, 1); /* @kind other */
- --motion-style: stiff; /* @kind other */
-}
-[data-theme="surveillance"] {
- --dur-fast: 60ms; /* @kind other */ --dur-default: 140ms; /* @kind other */ --dur-slow: 240ms; /* @kind other */
- --ease-default: linear; /* @kind other */
- --ease-emphasis: linear; /* @kind other */
- --motion-style: scanline; /* @kind other */
- --pulse-keyframe: surv-pulse-exec; /* @kind other */ --pulse-duration: 1s; /* @kind other */ --pulse-timing: steps(2); /* @kind other */
-}
/* ============================================================================
* Signature keyframes
* ========================================================================== */
-/* Default 3-layer executing pulse (light/dark/greek/edo/steampunk/atomic/
- * wasteland/rot/plague). Glow scales out and back. */
+/* Default 3-layer executing pulse (light, dark and atomic). Glow scales
+ * out and back. */
@keyframes node-pulse {
0%, 100% {
box-shadow:
@@ -115,36 +54,6 @@
}
}
-/* Renaissance — candle-flame pulse (smooth, never fully dark). */
-@keyframes ren-pulse-exec {
- 0%, 100% { box-shadow: 0 0 0 1px var(--node-pulse-color, #2548c8), 0 0 10px 1px color-mix(in srgb, var(--node-pulse-color, #2548c8) 40%, transparent); }
- 50% { box-shadow: 0 0 0 2px var(--node-pulse-color, #2548c8), 0 0 22px 5px color-mix(in srgb, var(--node-pulse-color, #2548c8) 60%, transparent); }
-}
-@keyframes ren-flicker { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.8; } }
-
-/* Cyber — hard digital strobe (steps), CRT flicker + rolling scanline. */
-@keyframes cyber-pulse-exec {
- 0%, 49% { box-shadow: 0 0 0 1px var(--node-pulse-color, #1dd9e5), 0 0 10px var(--node-pulse-color, #1dd9e5); }
- 50%, 100% { box-shadow: 0 0 0 1px var(--node-pulse-color, #1dd9e5), 0 0 26px var(--node-pulse-color, #1dd9e5), 0 0 44px color-mix(in srgb, var(--node-pulse-color, #1dd9e5) 50%, transparent); }
-}
-@keyframes cyber-flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.88; } 94% { opacity: 1; } 96% { opacity: 0.92; } }
-@keyframes cyber-roll { 0% { transform: translateY(-100%); } 100% { transform: translateY(900%); } }
-@keyframes cyber-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.4; } }
-@keyframes cyber-glitch {
- 0%, 100% { transform: translateX(0); }
- 20% { transform: translateX(-2px); }
- 40% { transform: translateX(2px); }
- 60% { transform: translateX(-1px); }
- 80% { transform: translateX(1px); }
-}
-
-/* Surveillance — REC-red glow strobe + status LED blink. */
-@keyframes surv-pulse-exec {
- 0%, 49% { box-shadow: 0 0 0 1px var(--node-pulse-color, #e82626), 0 0 6px color-mix(in srgb, var(--node-pulse-color, #e82626) 40%, transparent); }
- 50%, 100% { box-shadow: 0 0 0 1px var(--node-pulse-color, #e82626), 0 0 18px color-mix(in srgb, var(--node-pulse-color, #e82626) 70%, transparent); }
-}
-@keyframes surv-blink { 50% { opacity: 0.2; } }
-
/* ---- Trigger nodes: "listening / armed" state ----
* Triggers (whatsappReceive, cronScheduler, webhookTrigger, start) glow
* CONTINUOUSLY while waiting for events — distinct from the one-shot
@@ -199,16 +108,7 @@
.opencompany-bolt { animation: trigger-bolt 1.8s ease-in-out infinite; }
.opencompany-pip-pulse { animation: opencompany-pip-blink 1.4s ease-in-out infinite; }
-/* Ambient overlays — add once at the app frame for cyber / surveillance. */
-.opencompany-scanline::after {
- content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 50;
- height: 12%;
- background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--node-pulse-color, #1dd9e5) 18%, transparent), transparent);
- animation: cyber-roll 8s linear infinite;
-}
-.opencompany-crt { animation: cyber-flicker 5s linear infinite; }
-
@media (prefers-reduced-motion: reduce) {
- .opencompany-pulse, .opencompany-crt, .opencompany-scanline::after,
+ .opencompany-pulse,
.opencompany-trigger-armed, .opencompany-trigger-fire, .opencompany-bolt, .opencompany-pip-pulse { animation: none !important; }
}
diff --git a/docs-internal/design-system/tokens/motion.css b/docs-internal/design-system/tokens/motion.css
index 5484d5cc..d40ba65d 100644
--- a/docs-internal/design-system/tokens/motion.css
+++ b/docs-internal/design-system/tokens/motion.css
@@ -14,5 +14,5 @@
}
/* The executing-node pulse, per-theme motion contracts, signature keyframes
- * (node-pulse, cyber-*, surv-*, ren-*), and the `.opencompany-pulse` helper live
+ * (node-pulse, trigger-listening), and the `.opencompany-pulse` helper live
* in tokens/animations.css. See guidelines/ANIMATIONS.md for the full system. */
diff --git a/docs-internal/design-system/tokens/typography.css b/docs-internal/design-system/tokens/typography.css
index be85daae..3defe7d8 100644
--- a/docs-internal/design-system/tokens/typography.css
+++ b/docs-internal/design-system/tokens/typography.css
@@ -2,7 +2,7 @@
* OpenCompany — typography tokens
* App font: Geist (loaded via @fontsource-variable/geist in the real app;
* here served from Google Fonts — see tokens/fonts.css).
- * Mono: JetBrains Mono (Cyber theme / code) falling back to system mono.
+ * Mono: JetBrains Mono (code) falling back to system mono.
* Base UI size is 14px — OpenCompany is a dense desktop tool.
* ========================================================================== */
diff --git a/docs-internal/design-system/ui_kits/opencompany/PanelsModals.jsx b/docs-internal/design-system/ui_kits/opencompany/PanelsModals.jsx
index 0a62d349..8e135778 100644
--- a/docs-internal/design-system/ui_kits/opencompany/PanelsModals.jsx
+++ b/docs-internal/design-system/ui_kits/opencompany/PanelsModals.jsx
@@ -73,7 +73,7 @@ function SettingsModal({ open, onClose }) {
</SettingsSection>
<SettingsSection title="Audio" icon={<Icon name="Volume2" size={16} />} tone="tool">
- <SettingsRow label="Sound Effects" description="Play per-theme click / hover / save / error sounds. Each theme ships a different pack (parchment, terminal, marble, ink, clockwork, ...)">
+ <SettingsRow label="Sound Effects" description="Play per-theme click / hover / save / error sounds. Each theme has its own pack (parchment for Light, terminal for Dark, vibraphone for Atomic)">
<Switch defaultChecked />
</SettingsRow>
</SettingsSection>