Theming

One setting. Every component.

djust ships 69 colour presets, each with a light and a dark mode. Components read their colours from theme tokens, so switching a preset repaints all of them at once. Pick one: only the preview changes, the link is yours to share, and a heart tells us which ones you love.

Solarpunk

solarpunk · dark — Optimistic nature — lush greens and warm amber, organic shapes

8 text pairs below WCAG AA contrast
  • light: text on code 3.3:1
  • light: text on primary 2.8:1
  • light: text on muted 4.0:1
  • light: text on success 2.8:1
  • light: text on info 3.1:1
  • light: text on brand 2.8:1
  • dark: text on muted 4.1:1
  • dark: text on destructive 4.4:1

Buttons

Badges

Default Secondary Success Warning Destructive

Alerts

Card

Project settings

Every colour on this card comes from the selected preset.

Form

Progress and people

40%
85%
JD
AL
LT

Use it

Choose the preset in settings. This is the one you are previewing:

# settings.py
LIVEVIEW_CONFIG = {
    "theme": {
        "preset": "solarpunk",
        "default_mode": "dark",
    },
}

Load the tokens in your base template. Every component, and your own CSS through hsl(var(--primary)), picks them up:

{# base.html #}
{% load theme_tags %}
<head>
  {% theme_head %}
</head>