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.

TokenPurpose
--backgroundPage background.
--foregroundPrimary text and icons on the page.
--cardCard surfaces.
--card-foregroundText and icons on cards.
--popoverFloating surfaces, such as menus.
--popover-foregroundText and icons on floating surfaces.
--primaryPrimary action surfaces.
--primary-foregroundText and icons on primary actions.
--secondarySecondary action surfaces.
--secondary-foregroundText and icons on secondary actions.
--mutedQuiet surfaces.
--muted-foregroundSupporting text and icons.
--accentHighlighted or interactive surfaces.
--accent-foregroundText and icons on highlighted surfaces.
--destructiveDestructive actions and error states.
--borderDefault borders.
--inputInput boundaries.
--ringFocus rings.
--chart-1Chart color 1.
--chart-2Chart color 2.
--chart-3Chart color 3.
--chart-4Chart color 4.
--chart-5Chart color 5.
--sidebarSidebar background.
--sidebar-foregroundSidebar text and icons.
--sidebar-primaryPrimary actions in the sidebar.
--sidebar-primary-foregroundText and icons on sidebar primary actions.
--sidebar-accentHighlighted sidebar surfaces.
--sidebar-accent-foregroundText and icons on highlighted sidebar surfaces.
--sidebar-borderSidebar borders.
--sidebar-ringSidebar 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.