Skins UI

Tokens

Every token a skin reads, with its light and dark value.

Every token is a CSS variable named --sk-*. Colours are also Tailwind colours, so --sk-muted becomes text-sk-muted, bg-sk-muted and the rest. Hue values below show Skins Blue, the colour you picked.

Surfaces

The grounds a skin is drawn on, from the page itself up to things that float above it.

5 tokens
  • --sk-floor
    #ffffff#0a0a0a

    The page behind everything.

  • --sk-surface
    #ffffff#121212

    Cards, inputs and secondary buttons.

  • --sk-raised
    #ffffff#191919

    Something lifted above a surface.

  • --sk-overlay
    #ffffff#1c1c1c

    Menus, popovers, tooltips and dialogs.

  • --sk-well
    #fafafa#161616

    A recessed area, such as a track or a code block.

Text

Ink passes AA on every surface. Faint is for things that are not text, such as placeholders and dividers.

3 tokens
  • --sk-ink
    #0a0a0a#fafafa

    Body text and labels.

  • --sk-muted
    #6b6b6b#a3a3a3

    Secondary text and descriptions.

  • --sk-faint
    #a3a3a3#5c5c5c

    Disabled marks and quiet icons.

Lines

See-through, so they read the same on any surface.

3 tokens
  • --sk-hairline
    rgb(0 0 0 / 0.06)rgb(255 255 255 / 0.07)

    The lightest edge, between parts of one thing.

  • --sk-border
    rgb(0 0 0 / 0.09)rgb(255 255 255 / 0.11)

    The usual edge of a control or card.

  • --sk-border-strong
    rgb(0 0 0 / 0.17)rgb(255 255 255 / 0.17)

    An edge that needs to be found, such as a focused field.

States

Tints laid over whatever is below, so hover and press work on every surface.

3 tokens
  • --sk-hover
    rgb(0 0 0 / 0.04)rgb(255 255 255 / 0.05)

    Under the pointer.

  • --sk-press
    rgb(0 0 0 / 0.075)rgb(255 255 255 / 0.085)

    While held down.

  • --sk-menu-on
    rgb(0 0 0 / 0.05)rgb(255 255 255 / 0.07)

    The highlighted row in a menu or list.

Accent

Made from your Hue colour. These change when you pick a new one.

  • 50
  • 100
  • 200
  • 300
  • 400
  • 500
  • 600
  • 700
  • 800
  • 900
  • 950
  • deep
  • 2
  • 3
11 tokens
  • --sk-accent
    #146bff#146bff

    Primary buttons and other solid accent fills.

  • --sk-accent-hover
    #005ded#005ded

    The accent fill under the pointer.

  • --sk-accent-active
    #0053d5#0053d5

    The accent fill while pressed.

  • --sk-accent-fg
    #ffffff#ffffff

    Text and icons on the accent fill.

  • --sk-accent-subtle
    #e3edff#0c1f41

    A soft accent tint, for badges and notices.

  • --sk-accent-subtle-fg
    #0054d8#a6c7ff

    Text on the soft tint.

  • --sk-accent-border
    #a6c7ff#0054d8

    An accent edge.

  • --sk-indicator
    #146bff#146bff

    Switch tracks and checkboxes, at 3:1 on the page.

  • --sk-indicator-fg
    #ffffff#ffffff

    The thumb or check mark on an indicator.

  • --sk-link
    #0054d8#a6c7ff

    Links in text.

  • --sk-ring
    #4b8cff#77a9ff

    The keyboard focus ring.

Status

Fixed colours that never follow Hue, so a warning always looks like a warning.

12 tokens
  • --sk-danger
    #c81e1e#f87171

    Error text and icons.

  • --sk-danger-soft
    #fdeded#2a1214

    A soft error background.

  • --sk-danger-solid
    #dc2626#dc2626

    Buttons that destroy something.

  • --sk-danger-solid-hover
    #c81e1e#c81e1e

    The danger fill under the pointer.

  • --sk-danger-solid-active
    #b21b1b#b21b1b

    The danger fill while pressed.

  • --sk-danger-solid-fg
    #ffffff#ffffff

    Text on the danger fill.

  • --sk-success
    #177a45#7dcf9f

    Success text and icons.

  • --sk-success-soft
    #e7f6ee#112219

    A soft success background.

  • --sk-warning
    #a35400#ffb35c

    Warning text and icons.

  • --sk-warning-soft
    #fdf1e3#2a1d0e

    A soft warning background.

  • --sk-info
    #0b63c4#6cb6ff

    Info text and icons.

  • --sk-info-soft
    #e8f1fd#0f1d2e

    A soft info background.

Shadows

Each comes with its own hairline edge. Use them as Tailwind shadows, such as shadow-sk-card.

  • ring
  • card
  • raised
  • popover
  • modal
  • inset
  • ring
  • card
  • raised
  • popover
  • modal
  • inset
7 tokens
  • --sk-shadow-ring

    Only the hairline edge.

  • --sk-shadow-card

    Cards resting on the page.

  • --sk-shadow-raised

    Something lifted, such as a dragged item.

  • --sk-shadow-popover

    Menus, popovers and tooltips.

  • --sk-shadow-modal

    Dialogs.

  • --sk-shadow-inset

    A recessed field or track.

  • --sk-edge-light

    A faint highlight along the top edge.

Motion

Three speeds, and a quicker exit for each. Bigger things move slower.

7 tokens
  • --sk-motion-fast
    100ms

    Colour changes, presses and small icons.

  • --sk-motion-base
    150ms

    Controls changing state, such as a switch.

  • --sk-motion-slow
    220ms

    Panels, popovers and dialogs.

  • --sk-motion-fast-exit
    60ms

    Leaving at the fast speed.

  • --sk-motion-base-exit
    120ms

    Leaving at the base speed.

  • --sk-motion-slow-exit
    160ms

    Leaving at the slow speed.

  • --sk-ease-out
    cubic-bezier(0.22, 1, 0.36, 1)

    The curve for anything appearing or moving.

Fonts

Skins use your fonts. Set these to change them.

3 tokens
  • --sk-font-sans
    ui-sans-serif, system-ui, sans-serif

    Body text and labels.

  • --sk-font-display
    var(--sk-font-sans)

    Headings. Falls back to the sans font.

  • --sk-font-mono
    ui-monospace, "SF Mono", Menlo, monospace

    Code and numbers that line up.