mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-06 10:02:11 +00:00
* feat: add dark mode support to web UI Add a persisted, system-aware theme with a Light/Dark/System toggle in the sidebar user menu. An inline head script applies the stored theme before paint to avoid a flash, and the agents-ui surface gets dark overrides for its --ui-* variables. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: use static theme init script to satisfy CodeQL Build the no-FOUC theme script from a fully static string literal instead of interpolating THEME_STORAGE_KEY, so no value flows into code construction (CodeQL "Improper code sanitization"). Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: avoid theme flip on hydration for persisted preferences Only apply a theme after the stored preference is read, instead of eagerly applying the default "system" theme on first effect. This prevented a brief flip to the OS theme (then back) on load for users with a saved preference that differs from their OS setting. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| __root.tsx | ||
| admin.tsx | ||
| agents.tsx | ||
| cloud-agents.tsx | ||
| index.tsx | ||
| integrations.tsx | ||
| login.tsx | ||
| my-settings.tsx | ||
| review.tsx | ||
| review_.repositories.$owner.tsx | ||
| review_.styles.tsx | ||
| usage.tsx | ||