behind the Hideout

Color System

The palette of Halo Syahrul: daisyUI tokens, the soft tokens on top of them, both themes side by side, and the contrast of the pairs the site actually uses.

Light and dark, side by side

Values read from src/designs/styles/globals.css at build time.
tokenlightdark
  • --color-base-100
    #FAF6EF
    #17130F
  • --color-base-200
    #F3EBDD
    #201B16
  • --color-base-300
    #ECE4D8
    #2F2821
  • --color-base-content
    #2A2420
    #F3ECE2
  • --color-primary
    #C9822E
    #E8A55A
  • --color-secondary
    #2F9E8F
    #5CC7B8
  • --color-accent
    #7C6CD9
    #A89CF0
  • --color-error
    #D9636B
    #E98A8F

Soft tokens

The --gd-* variables. @theme inline maps them to Tailwind colours (bg-card, text-muted, bg-teal-soft...), so one class works in both themes with no dark: variant.
tokenlightdark
  • --gd-card
    bg-card
    #FFFFFF
    #201B16
  • --gd-line
    border-line
    #ECE4D8
    #2F2821
  • --gd-muted
    text-muted
    #7A6F64
    #A89C8E
  • --gd-brand-soft
    bg-brand-soft
    #FBEBD3
    #3A2B1B
  • --gd-teal
    text-teal
    #2F9E8F
    #5CC7B8
  • --gd-teal-soft
    bg-teal-soft
    #DDF2EE
    #1C302C
  • --gd-rose
    text-rose
    #D9636B
    #E98A8F
  • --gd-rose-soft
    bg-rose-soft
    #FBE3E3
    #3A2224
  • --gd-lilac
    text-lilac
    #7C6CD9
    #A89CF0
  • --gd-lilac-soft
    bg-lilac-soft
    #ECE8FB
    #2A2640
  • --gd-terminal
    bg-terminal
    #2A2420
    #0F0C0A

Contrast

WCAG 2 contrast ratio, computed from the hex values above. AA needs 4.5:1 for body text and 3:1 for large text (24px, or 18.66px bold). A pair marked AA large is fine for headings and tags, not for paragraphs.
  • body text on page
    --color-base-content on --color-base-100
    Aa 123
    14.21:1AAA
    light
    Aa 123
    15.76:1AAA
    dark
  • body text on card
    --color-base-content on --gd-card
    Aa 123
    15.31:1AAA
    light
    Aa 123
    14.56:1AAA
    dark
  • muted text on page
    --gd-muted on --color-base-100
    Aa 123
    4.55:1AA
    light
    Aa 123
    6.87:1AA
    dark
  • muted text on card
    --gd-muted on --gd-card
    Aa 123
    4.90:1AA
    light
    Aa 123
    6.35:1AA
    dark
  • brand link on page
    --color-primary on --color-base-100
    Aa 123
    2.90:1fail
    light
    Aa 123
    8.76:1AAA
    dark
  • button text on primary
    --color-primary-content on --color-primary
    Aa 123
    3.13:1AA large
    light
    Aa 123
    8.76:1AAA
    dark
  • text on secondary
    --color-secondary-content on --color-secondary
    Aa 123
    3.28:1AA large
    light
    Aa 123
    9.08:1AAA
    dark
  • text on accent
    --color-accent-content on --color-accent
    Aa 123
    4.20:1AA large
    light
    Aa 123
    7.64:1AAA
    dark
  • teal tag
    --gd-teal on --gd-teal-soft
    Aa 123
    2.81:1fail
    light
    Aa 123
    6.84:1AA
    dark
  • lilac tag
    --gd-lilac on --gd-lilac-soft
    Aa 123
    3.50:1AA large
    light
    Aa 123
    5.99:1AA
    dark
  • rose note
    --gd-rose on --gd-rose-soft
    Aa 123
    2.89:1fail
    light
    Aa 123
    5.92:1AA
    dark
  • body text on rose-soft
    --color-base-content on --gd-rose-soft
    Aa 123
    12.54:1AAA
    light
    Aa 123
    12.49:1AAA
    dark
  • body text on brand-soft
    --color-base-content on --gd-brand-soft
    Aa 123
    13.07:1AAA
    light
    Aa 123
    11.62:1AAA
    dark
  • terminal text #F3ECE2
    #F3ECE2 on --gd-terminal
    Aa 123
    13.06:1AAA
    light
    Aa 123
    16.62:1AAA
    dark

Active theme

These read the CSS variables of the theme you are on now. Switch the theme in the navbar and they follow. Click one to copy its value.

Base

base-100
base-200
base-300
base-content

Brand

primary
primary-content
secondary
secondary-content
accent
accent-content

Neutral

neutral
neutral-content

Soft

card
brand-soft
teal-soft
rose-soft
lilac-soft
terminal

State

info
success
warning
error