harperreed/dotfiles / .claude/skills-archive/nothing-design
nothing-design
VerifiedThis skill should be used when the user explicitly says "Nothing style", "Nothing design", "/nothing-design", or directly asks to use/apply the Nothing design system. NEVER trigger automatically for generic UI or design tasks.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.0 KB |
| references/components.md | markdown | 6.1 KB |
| references/platform-mapping.md | markdown | 1.9 KB |
| references/tokens.md | markdown | 5.8 KB |
references/platform-mapping.md
View on GitHub# Nothing Design System — Platform Mapping
## 1. HTML / CSS / WEB
Load fonts via Google Fonts `<link>` or `@import`. Use CSS custom properties, `rem` for type, `px` for spacing/borders. Dark/light via `prefers-color-scheme` or class toggle.
```css
:root {
--black: #000000;
--surface: #111111;
--surface-raised: #1A1A1A;
--border: #222222;
--border-visible: #333333;
--text-disabled: #666666;
--text-secondary: #999999;
--text-primary: #E8E8E8;
--text-display: #FFFFFF;
--accent: #D71921;
--accent-subtle: rgba(215,25,33,0.15);
--success: #4A9E5C;
--warning: #D4A843;
--interactive: #5B9BF6;
--space-xs: 4px;
--space-sm: 8px;
--space-md: 16px;
--space-lg: 24px;
--space-xl: 32px;
--space-2xl: 48px;
--space-3xl: 64px;
--space-4xl: 96px;
}
```
---
## 2. SWIFTUI / iOS
Register fonts in Info.plist, bundle `.ttf` files. Use `@Environment(\.colorScheme)` for mode switching.
```swift
extension Color {
static let ndBlack = Color(hex: "000000")
static let ndSurface = Color(hex: "111111")
static let ndSurfaceRaised = Color(hex: "1A1A1A")
static let ndBorder = Color(hex: "222222")
static let ndBorderVisible = Color(hex: "333333")
static let ndTextDisabled = Color(hex: "666666")
static let ndTextSecondary = Color(hex: "999999")
static let ndTextPrimary = Color(hex: "E8E8E8")
static let ndTextDisplay = Color.white
static let ndAccent = Color(hex: "D71921")
static let ndSuccess = Color(hex: "4A9E5C")
static let ndWarning = Color(hex: "D4A843")
static let ndInteractive = Color(hex: "5B9BF6")
}
```
Light mode values in tokens.md Dark/Light table. Derive Font extension from font stack table (trivial: `.custom("Doto"/"SpaceGrotesk-Regular"/"SpaceMono-Regular", size:)`).
---
## 3. PAPER (DESIGN TOOL)
Use `get_font_family_info` to verify fonts before writing styles. Direct hex values (no CSS variables). Dark mode as default canvas, light mode as separate artboard.
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 |