Themes

Same components, different world. Pick one in the sidebar.

Acme Dashboard
Liveadmin@acme.co
Navigation
DashboardUsersProductsOrdersReports
Status
APIOK
Queue3
Errors1
Revenue
$12,840
+14%
Users
1,284
+8%
Errors
23
+2
Recent Orders
IDCustomerStatus
#1042Alice KimShipped
#1041Bob ChenPending
#1040Carol WuFailed
#1039Dan ParkShipped
Quick Actions
Select category...
Note: Deleted users cannot be recovered.
ActivityLogsWebhooks
2m agoUser alice@acme.co logged in
5m agoOrder #1042 shipped successfully
12m agoPayment failed for order #1040

Available themes

ThemeLightDark
PorcelainIndustrial precisionX-ray lightbox
TobaccoGolden hour libraryWhiskey bar at midnight
MarigoldScreen-printed posterNeon signs at night
EucalyptusEnterprise titaniumMission control

Import a theme in your CSS. All design tokens and dark mode are included.

@import "@beaket/ui/themes/porcelain.css";

Dark mode

Every theme ships with a dark variant. Import one CSS file and dark mode works automatically — no flags, no extra imports, no toggle configuration required.

How it works

Each theme file contains both light and dark tokens. Dark mode activates via @media (prefers-color-scheme: dark), following the user's OS setting. Shadows auto-flip through token references — no overrides needed.

Manual control

To override OS detection, set beaket-color-scheme in localStorage:

// Force dark
localStorage.setItem("beaket-color-scheme", "dark");

// Force light
localStorage.setItem("beaket-color-scheme", "light");

// Follow OS (default)
localStorage.removeItem("beaket-color-scheme");