Theme Template
This page gives you a reference shape for building a community Weebarr theme.
Weebarr themes are validated JSON token packs. They are not raw CSS, JavaScript, or asset bundles.
How Imports Work
Weebarr accepts theme imports from:
- a direct URL to a
theme.jsonfile - a
.ziparchive that containstheme.json
If you are sharing a theme with other people, a direct GitHub raw URL or a small zip with a single theme.json file is the safest format.
Required Structure
A theme manifest should contain:
idnamedescriptionauthortokens.darktokens.light
Reference Manifest
You can use this live file as a starting point:
Sample Theme JSON
{
"id": "community-theme-reference",
"name": "Community Theme Reference",
"description": "Reference token pack for building custom Weebarr themes.",
"author": "Weebarr",
"tokens": {
"dark": {
"bg": "#050911",
"bg2": "#08111b",
"pageTail": "#03060b",
"pageGlowA": "#28c7ff21",
"pageGlowB": "#ff3c7d1f",
"pageGlowC": "#502aff14",
"panel": "#101720db",
"panel2": "#141c27b8",
"panel3": "#0d121ae6",
"mediaScrim": "#05091194",
"line": "#7a97b333",
"lineStrong": "#7ebfe161",
"text": "#f5f7fb",
"muted": "#99a8bb",
"subtle": "#6f7e90",
"cyan": "#28c7ff",
"pink": "#ff3c7d",
"purple": "#b466ff",
"green": "#55e18d",
"warning": "#ffd166"
},
"light": {
"bg": "#edf6ff",
"bg2": "#f8fbff",
"pageTail": "#e9f4ff",
"pageGlowA": "#28c7ff33",
"pageGlowB": "#ff3c7d29",
"pageGlowC": "#502aff14",
"panel": "#ffffffd1",
"panel2": "#ffffffb3",
"panel3": "#ffffffe8",
"mediaScrim": "#edf6ffbd",
"line": "#425d7c33",
"lineStrong": "#28a1da6b",
"text": "#121c2b",
"muted": "#5d6e82",
"subtle": "#778699",
"cyan": "#28c7ff",
"pink": "#ff3c7d",
"purple": "#b466ff",
"green": "#55e18d",
"warning": "#ffd166"
}
}
}
Token Notes
The important theme token groups are:
bg,bg2,pageTail: page background layerspageGlowA,pageGlowB,pageGlowC: radial page glow colorspanel,panel2,panel3: panel surfacesmediaScrim: overlay/scrim surfacesline,lineStrong: borders and dividerstext,muted,subtle: typography levelscyan,pink,purple,green,warning: accent colors
Good Theme Authoring Tips
- Keep enough contrast between
textandpanel - Keep
linesubtle andlineStrongmore visible - Treat accent colors as functional, not only decorative
- Test both dark and light modes
- If you want grayscale, change the actual accent tokens too, not just icon colors
Sharing Themes
The safest sharing options are:
- commit
theme.jsoninto a repo and share the raw URL - zip only the
theme.jsonfile and share that archive
Do not ask users to paste CSS or JavaScript into Weebarr. Theme imports are intentionally token-only.