跳到主要内容

Themes

Ever Teams supports multiple visual themes and adapts to user preferences.

Available Themes

ThemeDescription
LightBright interface with light backgrounds
DarkDark interface, easier on the eyes in low-light
SystemAutomatically follows the operating system theme preference

Implementation

Themes are implemented using:

  • CSS custom properties — Color tokens defined as CSS variables
  • Tailwind CSS dark: variant — Dark mode classes applied conditionally
  • next-themes — Theme state management and persistence

Theme Switching

Users can change themes from:

  • Settings → Personal → Theme selector
  • Theme toggle in the navigation bar

Persistence

Theme preference is:

  • Stored in localStorage
  • Applied on page load (prevents flash of unstyled content)
  • Synced across tabs in the same browser

Customization

The theme system uses Tailwind CSS design tokens. Key customization files:

FilePurpose
apps/web/tailwind.config.jsDesign tokens, colors, spacing
apps/web/styles/globals.cssCSS custom properties for themes
packages/ui/src/Shared component themes