Themes
Reference docs for themes.
Use one of the built-in themes.
Or define your own.
Themes
THEME_OPENAUTH
Default “
…
”
Built-in default OpenAuth theme.
THEME_SST
Default “
…
”
Built-in theme based on SST.
THEME_SUPABASE
Default “
…
”
Built-in theme based on Supabase.
THEME_TERMINAL
Default “
…
”
Built-in theme based on Terminal.
THEME_VERCEL
Default “
…
”
Built-in theme based on Vercel.
ColorScheme
ColorScheme.dark
Type string
The value for dark mode.
ColorScheme.light
Type string
The value for light mode.
Theme
-
background?
string
|
ColorScheme
-
css?
string
-
favicon?
string
-
font?
Object
-
logo?
string
|
ColorScheme
-
primary
string
|
ColorScheme
-
radius?
“
none
”
|
“
sm
”
|
“
md
”
|
“
lg
”
|
“
full
”
-
title?
string
A type to define your custom theme.
Theme.background?
Type string
|
ColorScheme
The background color of the theme.
Takes a color or both light and dark colors.
Theme.css?
Type string
Custom CSS that’s added to the page in a <style>
tag.
This can be used to import custom fonts.
Theme.favicon?
Type string
A URL to the favicon of your app.
Theme.font?
Type Object
The font family and scale of the theme.
Theme.font.family?
Type string
The font family of the theme.
Theme.font.scale?
Type string
Default “1”
The font scale of the theme. Can be used to increase or decrease the font sizes across the UI.
Theme.logo?
Type string
|
ColorScheme
A URL to the logo of your app.
Takes a single image or both light and dark mode versions.
Theme.primary
Type string
|
ColorScheme
The primary color of the theme.
Takes a color or both light and dark colors.
Theme.radius?
Type “
none
”
|
“
sm
”
|
“
md
”
|
“
lg
”
|
“
full
”
The border radius of the UI elements.
Theme.title?
Type string
The name of your app. Also used as the title of the page.