wisp.css

A minimal, monospace-first CSS stylesheet with automatic light/dark mode.

CDN

https://sites.wisp.place/wisp.place/wisp.css/wisp.css

Ideally, download and serve it with your site. It's simple CSS - feel free to take it wholesale and modify as you like.

Typography

Heading 1

Heading 2

Heading 3

Heading 4

This is a paragraph with bold text and a link. The stylesheet uses JetBrains Mono for that clean monospace aesthetic.

This is small text for captions or metadata.

Here's some inline code in a sentence.

// Code block
const greeting = "Hello, wisp.css!";
console.log(greeting);

Buttons

Standard Buttons

CTA Buttons

Button Sizes

Cards

Default Card

This is a basic card component with some content inside.

Success Card

Use this for positive feedback or confirmations.

Danger Card

Use this for errors or destructive actions.

Warning Card

Use this for warnings or important notices.

Info Card

Use this for informational messages.

💡

Card with Icon

Use card-flex and card-icon for icon layouts.

Alerts

Success! Your changes have been saved.
Info: This is some helpful information.
Warning: Please review before continuing.
Error: Something went wrong. Please try again.

Forms

Lists

Ordered List

  1. First item with automatic numbering
  2. Second item in the list
  3. Third item completes the set

Unordered List with Bullets

  • Success item
  • Danger item
  • Warning item
  • Accent item

Spinners

Default spinner
Large spinner

Utility Classes

Text Colors

text-muted - Secondary text

text-subtle - Tertiary text

text-accent - Accent color

text-success - Success state

text-danger - Danger state

text-warning - Warning state

Text Alignment

text-left

text-center

text-right

Flexbox

justify-between items-center
flex-col with gap-2

Spacing

p-4 (padding)
p-2 with mb-4 (margin-bottom)
gap-4
between
items

Color Palette

Colors automatically adapt to light/dark mode via CSS custom properties.

bg
--wisp-bg
bg-alt
--wisp-bg-alt
text
--wisp-text
accent
--wisp-accent
success
--wisp-success
danger
--wisp-danger
warning
--wisp-warning
info
--wisp-info