Theming
Uniquel follows the shadcn/ui token convention. Components that use semantic utilities take their colors from your project’s theme. To create a starting point, use the theme generator to preview and export light and dark themes.
Color tokens
Use role-based colors so the same interface can adapt to different themes. A foreground token is intended for text or icons on its matching surface.
| Token | Purpose |
|---|---|
--background | Page background. |
--foreground | Primary text and icons on the page. |
--card | Card surfaces. |
--card-foreground | Text and icons on cards. |
--popover | Floating surfaces, such as menus. |
--popover-foreground | Text and icons on floating surfaces. |
--primary | Primary action surfaces. |
--primary-foreground | Text and icons on primary actions. |
--secondary | Secondary action surfaces. |
--secondary-foreground | Text and icons on secondary actions. |
--muted | Quiet surfaces. |
--muted-foreground | Supporting text and icons. |
--accent | Highlighted or interactive surfaces. |
--accent-foreground | Text and icons on highlighted surfaces. |
--destructive | Destructive actions and error states. |
--border | Default borders. |
--input | Input boundaries. |
--ring | Focus rings. |
--chart-1 | Chart color 1. |
--chart-2 | Chart color 2. |
--chart-3 | Chart color 3. |
--chart-4 | Chart color 4. |
--chart-5 | Chart color 5. |
--sidebar | Sidebar background. |
--sidebar-foreground | Sidebar text and icons. |
--sidebar-primary | Primary actions in the sidebar. |
--sidebar-primary-foreground | Text and icons on sidebar primary actions. |
--sidebar-accent | Highlighted sidebar surfaces. |
--sidebar-accent-foreground | Text and icons on highlighted sidebar surfaces. |
--sidebar-border | Sidebar borders. |
--sidebar-ring | Sidebar focus rings. |
Radius
The --radius variable is the base for your rounded sizes. Adjust it in your theme or use the theme generator to export a radius scale for Tailwind.
Some older items use explicit colors or individual styles. Check their source and adjust those values to match your theme.
