원클릭으로
darkmatter-styles
Applies the Darkmatter aesthetic - Commit Mono font,
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Applies the Darkmatter aesthetic - Commit Mono font,
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | darkmatter-styles |
| description | Applies the Darkmatter aesthetic - Commit Mono font, |
The Darkmatter aesthetic: dark, minimal, monospace. No frameworks, no decorative flourishes. Everything is functional and stark.
The canonical reset, tokens, fonts, and component styles ship in the andromeda-darkmatter-css crate. Do not duplicate the CSS per app — mount the crate's router and link its stylesheet.
Add to Cargo.toml:
[dependencies]
andromeda-darkmatter-css = { path = "../../crates/darkmatter-css" }
Mount in the Axum app:
let app = Router::new()
.route("/", get(index))
.merge(andromeda_darkmatter_css::router());
Link from templates:
<link rel="stylesheet" href="/assets/darkmatter.css" />
<meta name="theme-color" content="#121113" />
The crate serves:
/assets/darkmatter.css — full stylesheet (reset + tokens + components)/assets/fonts/CommitMono-400-Regular.otf, …-700-Regular.otf/darkmatter — live component gallery (reference when building)| Token | Value | Usage |
|---|---|---|
| Background | #121113 | All surfaces — html, inputs, buttons, textarea |
| Foreground | #ffffff | All text and borders |
| Border | 1px solid white | Inputs, buttons, textarea |
| Gray Dark | #1e1c1f | Code block backgrounds |
| Gray Mid | #333 | Dividers, list item borders, section separators |
| Gray Light | #555 | Tertiary borders (blockquote borders) |
No accent colors, no gradients. Background, white, and grays only.
Use opacity on white text instead of gray hex colors for secondary/tertiary text:
| Level | Opacity | Usage |
|---|---|---|
| Primary | 1.0 | Headings, body text, links |
| Secondary | 0.7 | Labels, form labels, blockquotes |
| Tertiary | 0.5 | Nav links dimmed, table headers, dates, metadata, empty states |
| Muted | 0.3 | Null/placeholder values |
| Error | 0.8 | Error messages |
Do NOT use color: #888 for secondary text. Always use opacity on white text instead.
"Commit Mono" (served by the crate), fallback monospace, sans-serif* { font-family: ... }| Size | Usage |
|---|---|
| 28px | Site logo/title (bold, uppercase) |
| 18px | Markdown h1 |
| 16px | Markdown h2, note/item titles, primary labels |
| 15px | Markdown h3 |
| 14px | Body text, inputs, buttons, markdown h4-h6 |
| 13px | Inline code, error messages |
| 12px | Nav links, form labels, metadata, dates, table headers, action links |
The stylesheet ships ready-to-use classes. Prefer these over writing new rules:
.header, .logo, .links, .footer.form, .form-row, .form-field, .form-actions, .checkbox-field, .switch, .switch-sliderbutton, .btn, .link-button, .link-button.danger.item-list / .item / .item-title / .item-meta.admin-list, .admin-list-item, .admin-toolbar, .admin-list-actions.error, .success, .empty.tag, .status-badge, .status-published, .status-draft.spinner, .scroll-x, .hidden, .inline-formVisit /darkmatter on any app that mounts the crate to see live examples.
Only add app-specific CSS when the shared sheet does not cover the pattern. When you do:
border-radius: 0 everywhere/assets/darkmatter.css insteadborder-radius — keep all corners sharp#121113, #ffffff, and the gray tones (#1e1c1f, #333, #555)color: #888 — use opacity on white text for visual hierarchy instead