litellm/ui
Claude cf059b94cc
feat(ui): wire up dark mode toggle in dashboard
Centralizes dark mode state in ThemeContext so a single source manages the
`dark` class on <html>, persists the preference to localStorage, and wraps
children with antd's ConfigProvider (darkAlgorithm). The previously
hidden navbar toggle is now rendered and functional.

- ThemeContext now exposes isDarkMode / toggleDarkMode and applies the
  Tailwind `dark` class + antd dark algorithm based on the stored value.
- Navbar isDarkMode / toggleDarkMode props are optional and fall back to
  the context; the toggle is no longer gated behind a `false &&` flag.
- Root page and dashboard layout consume the context instead of holding
  their own local dark mode state / duplicate ConfigProvider.
- Tailwind dark variants added to navbar and dashboard shell so the most
  visible surfaces respect the theme.
- globals.css adds `.dark` overrides for the body background tokens.

https://claude.ai/code/session_01SkckoL68328QgB5ifQwntT
2026-05-19 16:13:23 +00:00
..
litellm-dashboard feat(ui): wire up dark mode toggle in dashboard 2026-05-19 16:13:23 +00:00
Dockerfile feat: add componentized proxy deployment with gateway, backend, ui, and migrations (#27557) 2026-05-16 09:25:17 -07:00
nginx.conf feat: add componentized proxy deployment with gateway, backend, ui, and migrations (#27557) 2026-05-16 09:25:17 -07:00