linkprofile
Menu

Reference

Theme options

The options each built-in theme understands, with the values it allows and its defaults. Set them in the long form of theme:

theme: {
  name: classic
  options: {
    mode: dark
    accent: "#ff6b6b"
  }
}
Option What it does
mode auto follows each visitor's light or dark setting; light and dark always use that one.
accent The theme's highlight colour, as a hex colour in quotes: "#rgb" or "#rrggbb". What it colours depends on the theme; see Themes, colours and dark mode.
toggle classic only. true shows a light/dark switch in auto mode; false hides it.

An option a theme doesn't know is ignored with a warning. A value outside the allowed list, or an accent that isn't a hex colour, stops the build. Options you leave out use the defaults below.

classic

Clean page with pill-shaped links and a light/dark toggle (default).

Option Values Default
accent a colour #3bd3a2
mode auto, light, dark auto
toggle true, false true

bento

Frosted tiles in a two-column grid, first link full width (dark by default).

Option Values Default
accent a colour #8b5cf6
mode dark, light, auto dark

cover

Card under an accent banner, with the avatar overlapping its edge.

Option Values Default
accent a colour #4f46e5
mode auto, light, dark auto

editorial

Bold headline on an accent gradient with white link cards (dark by default).

Option Values Default
accent a colour #4f46e5
mode dark, light, auto dark

crimson

Dark obsidian page with scarlet accents, a grid backdrop and tactile link cards (dark by default).

Option Values Default
accent a colour #fe0809
mode dark, light, auto dark

Something unclear? Open an issue or edit this page on GitHub.