# wisp.css A minimal, monospace-first CSS stylesheet with automatic light/dark mode. See it live on https://wisp.place or https://sites.wisp.place/wisp.place/wisp.css for a demo. ## Quick Start ### CDN ```html ``` ### Self-hosted Just copy `wisp.css` to your project and link to it: ```html ``` ## Features - **Automatic dark mode** via `prefers-color-scheme` - **CSS custom properties** for easy theming - **JetBrains Mono** typography - **Components**: cards, buttons, alerts, forms - **Utility classes**: spacing, flexbox, text styling - **Responsive** with mobile-first breakpoints ## CSS Variables All variables use the `--wisp-` prefix. Unprefixed aliases are also available for convenience. ### Colors ```css --wisp-bg /* Main background */ --wisp-bg-alt /* Alternate background (cards, etc) */ --wisp-text /* Primary text */ --wisp-text-muted /* Secondary text */ --wisp-text-subtle /* Tertiary text */ --wisp-border /* Strong borders */ --wisp-border-light /* Light borders */ --wisp-accent /* Accent/link color */ --wisp-cta-bg /* Button background */ --wisp-cta-text /* Button text */ --wisp-code-bg /* Code block background */ --wisp-success /* Success state */ --wisp-danger /* Error/danger state */ --wisp-warning /* Warning state */ --wisp-info /* Info state */ ``` ### Customizing Override variables in your own CSS: ```css :root { --wisp-accent: oklch(0.65 0.20 200); /* Blue accent */ } ``` ## Components ### Cards ```html