xinetzone/SpecWeave / .agents/skills/21th-design
21th-design
VerifiedUse this skill to generate well-branded interfaces and assets for 21th — an analytics dashboard system with light/dark themes, mono-led typography, square geometry, offset shadows, and restrained electric-blue accents. Contains token CSS, parsed token JSON, component specs, and preview HTML for dashboard UI work. Use when the user needs 21th-style UI, dashboards, or design assets, or asks to apply the 21th tokens and components.
21th Design Skill
Use this skill for dense analytics dashboard work in the 21th visual language. Read the available files, then build static HTML prototypes or production UI that stays square, compact, and contrast-heavy.
If the user invokes this skill without much direction, ask what dashboard surface they need, then propose an on-brand layout using the existing token and component files.
Quick map
SKILL.md— agent entry point for the 21th librarycolors_and_type.css— live light/dark tokens for color, type, radius, shadow, spacing, and semantic aliasescss.json— parsed hex, font, shadow, radius, and spacing valuescomponents/index.json— component inventory plus cross-component patternscomponents/button.json— action control guidance and sample labelscomponents/card.json— panel surface guidancecomponents/chart-panel.json— chart container guidancecomponents/data-table.json— reporting grid guidancecomponents/input.json— filter and search field guidancecomponents/sidebar-nav.json— dashboard navigation shell guidancepreview/component-button.html— rendered button states and sizespreview/component-card.html— rendered card treatmentspreview/component-chart-panel.html— rendered chart panel treatmentspreview/component-data-table.html— rendered data table treatmentspreview/component-input.html— rendered input and select-like field statespreview/component-sidebar-nav.html— rendered sidebar navigation treatments
Essentials at a glance
- Working primary is
#111111, while the brand signal is#0040ff: use black for core controls and reserve the electric blue for charts, highlights, and one emphasized action per row. - Light mode runs on
#c5c9c9page background,#d8dadacards, and#111111text; dark mode flips to#0a0a0apage,#1a1a1apanels, and#fffffftext for the same high-contrast dashboard read. - Typography is deliberately code-leaning:
Geist Monodrives both--font-sansand--font-mono, whileGeistis the serif-side support face; the interface should feel technical, compact, and editorial rather than friendly. - Tracking defaults to
-0.05em; keep labels tight, especially on structural copy and small uppercase markers that need a terse command-center cadence. - Radius is
0px(0rem) across the system; square corners are not a suggestion, they are the core shape language that keeps every panel and control feeling strict and analytical. - Spacing starts at
4px; the default button height is36px, small buttons are30px, large buttons are42px, standard inputs are40px, and large select-like fields are44px. - Shadows are hard-offset, not soft: the base shadow language is
2px 2px 0px 0px #000000with0pxblur, so elevation should read like a printed keyline or mechanical stamp. - Destructive color is
#d73333in light mode and#ef4444in dark mode; use it sparingly for deletion, danger, or irreversible state changes only. - The signature interaction quirk is mechanical motion: buttons hover with
translate(-1px, -1px)and press withtranslate(1px, 1px), so feedback should feel punched and tactile rather than soft. - Voice stays short and operational, using real labels like “Create View”, “Export CSV”, “Search accounts”, “Overview”, “Analytics”, and “Weekly Summary”; keep copy concise, functional, and emoji-free.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |