interface EmailPalette

The colors of one style in one scheme, by role, each read from a token of its theme. The optional ones carry a style's particular touches.

Properties

outer: string

The page around the card (--color-bg).

card: string

The card holding the content (--color-surface).

text: string

--color-text.

sec: string

--color-text-secondary.

muted: string

--color-text-muted.

accent: string

Section titles, ranks and button fills (--color-accent).

onAccent: string

Text on an accent fill (--color-on-accent).

rule: string

Dividers and hairlines (--color-border).

soft: string

Pills and the reset link's box, as the site's badges (--color-badge-bg).

quote: string

Quoted comments and messages (--color-text-secondary unless set).

optional
date: string

Kanagawa's fujiGray dates; others use muted.

optional
brand: string

Kanagawa's oniViolet wordmark; others use text.

optional
border: string

GeoCities' ridged border.

optional
shadow: string

Melange's warm card shadow, translucent.

optional
gradient: string[]

The colors of GeoCities' rainbow or Melange's spice, left to right.

Usage

import { type EmailPalette } from "api/mail/styles.ts";