openclaw/carapace / openclaw-carapace
openclaw-carapace
VerifiedBuild or modify OpenClaw application UI using canonical semantic tokens, themes, shared CSS foundations, consumer adapters, and established local primitives. Use for product interfaces, component styling, theme work, or design-token integration.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.7 KB |
| references/application-surfaces.md | markdown | 7.8 KB |
| references/consumer-adapters.md | markdown | 2.4 KB |
| references/embedded-surfaces.md | markdown | 14.3 KB |
| references/terminal-ui.md | markdown | 8.8 KB |
| references/tokens.md | markdown | 2.9 KB |
references/consumer-adapters.md
View on GitHub# Consumer Adapters
## Plain CSS And Astro
Use the complete contract when the global reset is desired:
```css
@import "@openclaw/carapace";
```
For a controlled migration, import `tokens.css`, `themes.css`, and
`typography.css`, then `components.css`. Retain consumer-specific layout CSS.
Theme switching remains application-owned. The canonical public-site selector is
`html[data-theme="light"|"dark"]`.
Product applications may additionally import the opt-in candidate layers:
```css
@import "@openclaw/carapace/themes/product.css";
@import "@openclaw/carapace/candidate/controls.css";
@import "@openclaw/carapace/candidate/feedback.css";
@import "@openclaw/carapace/candidate/application.css";
```
Use the application layer for shell, pane, and settings anatomy. Keep routes,
data, persistence, and framework behavior local.
## Tailwind 4
Import in this order:
```css
@import "@openclaw/carapace/tokens.css";
@import "@openclaw/carapace/themes.css";
@import "@openclaw/carapace/typography.css";
@import "@openclaw/carapace/components.css";
@import "@openclaw/carapace/themes/product.css";
@import "@openclaw/carapace/compat/clawhub.css";
@import "@openclaw/carapace/tailwind.css";
```
The Tailwind adapter exposes theme utilities. `components.css` provides
framework-neutral classes; keep Radix, React, route, and product behavior in the
consumer.
## Native macOS
Map the shared application anatomy to SwiftUI and AppKit instead of importing
the CSS. Preserve native title bars, materials, window sizing, sheets, keyboard
commands, focus behavior, and accessibility semantics. Align hierarchy,
spacing roles, control intent, and status meaning rather than web-specific
markup.
The ClawHub compatibility adapter understands:
- `data-theme-family="claw"`
- `data-theme-resolved="light"|"dark"`
- `data-theme-mode="system"`
- the existing unprefixed token aliases
Remove aliases only after source search and browser validation prove that no
consumer uses them.
## Static Documentation Builders
Copy or resolve the focused CSS exports as build inputs. Import tokens, themes,
and typography before the docs shell CSS. Do not import `base.css` until the
generated navigation, prose, search, code, and Mermaid views have been compared
in a real browser.
## Versioning
Install an immutable Git tag. Runtime CSS and skill guidance use the same tag.
Dependabot or a scheduled update workflow may propose a newer tag, but migration
and visual validation remain consumer responsibilities.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |