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
| ID | Customer | Status |
|---|---|---|
| #1042 | Alice Kim | Shipped |
| #1041 | Bob Chen | Pending |
| #1040 | Carol Wu | Failed |
| #1039 | Dan Park | Shipped |
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
| Theme | Light | Dark |
|---|---|---|
| Porcelain | Industrial precision | X-ray lightbox |
| Tobacco | Golden hour library | Whiskey bar at midnight |
| Marigold | Screen-printed poster | Neon signs at night |
| Eucalyptus | Enterprise titanium | Mission 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");