You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cluster 2 of the #2502 CSS class drift audit: the v2026.3.13-1 upstream sync (commit 04a7853f0f, PR #2398) — the same sync that #2501 partially addressed — also renamed .nav* → .sidebar* and replaced the .theme-toggle* component with .theme-orb*. #2501 fixed the .nav-group/.topbar*/.brand* subset; this issue covers the residue.
5 remaining orphans from the same sync commit.
Orphaned class references (5)
Orphaned class
Callsites
Likely upstream target
.nav
ui/src/ui/app-render.ts:251
.sidebar (verified via git show 04a7853f0f)
.theme-toggle
ui/src/ui/app-render.helpers.ts:501
.theme-orb (defined in components.css:391)
.theme-toggle__track
app-render.helpers.ts:502
.theme-orb__menu or equivalent — verify
.theme-toggle__indicator
app-render.helpers.ts:503
verify
.theme-toggle__button
app-render.helpers.ts:505, :514, :523
.theme-orb__trigger / .theme-orb__option — verify
Note: the current class="nav ${state.settings.navCollapsed ? "nav--collapsed" : ""}" on app-render.ts:251 uses a dynamic modifier. The rename needs to change BOTH the static nav and the dynamic nav--collapsed token.
Scope
In: ui/src/ui/app-render.ts (the <aside class="nav ..."> element) and ui/src/ui/app-render.helpers.ts (the renderThemeToggle function). Map to upstream .sidebar + .theme-orb vocabulary. Verify structural equivalence — theme-toggle was a segmented-button group; theme-orb is a trigger + menu. The markup structure may need to change, not just the class names.
Problem
Cluster 2 of the #2502 CSS class drift audit: the v2026.3.13-1 upstream sync (commit
04a7853f0f, PR #2398) — the same sync that #2501 partially addressed — also renamed.nav*→.sidebar*and replaced the.theme-toggle*component with.theme-orb*. #2501 fixed the.nav-group/.topbar*/.brand*subset; this issue covers the residue.5 remaining orphans from the same sync commit.
Orphaned class references (5)
.navui/src/ui/app-render.ts:251.sidebar(verified viagit show 04a7853f0f).theme-toggleui/src/ui/app-render.helpers.ts:501.theme-orb(defined incomponents.css:391).theme-toggle__trackapp-render.helpers.ts:502.theme-orb__menuor equivalent — verify.theme-toggle__indicatorapp-render.helpers.ts:503.theme-toggle__buttonapp-render.helpers.ts:505, :514, :523.theme-orb__trigger/.theme-orb__option— verifyNote: the current
class="nav ${state.settings.navCollapsed ? "nav--collapsed" : ""}"onapp-render.ts:251uses a dynamic modifier. The rename needs to change BOTH the staticnavand the dynamicnav--collapsedtoken.Scope
ui/src/ui/app-render.ts(the<aside class="nav ...">element) andui/src/ui/app-render.helpers.ts(therenderThemeTogglefunction). Map to upstream.sidebar+.theme-orbvocabulary. Verify structural equivalence — theme-toggle was a segmented-button group; theme-orb is a trigger + menu. The markup structure may need to change, not just the class names.Acceptance criteria
app-render.tsandapp-render.helpers.tsemit only classes defined in theui/src/styles.cssimport graph for the nav aside and theme togglenode scripts/audit-css-class-drift.mjs— cluster 2 (04a7853) shows 0 orphans.nav--collapsed→ now.sidebar--collapsed)References
04a7853f0f(sync: upstream to v2026.3.13-1 (751 commits) #2398)remoteclaw/hq#57