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
fix(frontend): port v4 DaisyUI CSS vars to v5 + full-width sidebar menu
Related #498
DaisyUI v5 renamed all theme CSS variables (--su->--color-success,
--p->--color-primary, --b1/2/3->--color-base-100/200/300,
--bc->--color-base-content) and the variable now holds the complete color
(so the hsl()/oklch() wrapper must be dropped). The undefined v4 short vars
resolved to black/none, which turned the dashboard connection dots/lines
black and dropped the MCP logo glow. Converted ~50 references across
Dashboard, TokenPieChart, HintsPanel and CollapsibleHintsPanel; opacity
uses become color-mix(in oklch, <color> N%, transparent).
Also: v5 .menu defaults to width:max-content, so the left sidebar nav items
(and their active highlight) only spanned content width. Added w-full to the
sidebar .menu lists (ul width 117px -> 231px, fills the rail).
Verified: dots fill oklch(0.62 0.194 149.214) (green); logo glow restored;
make build green.
<tr><td>Form labels/inputs misaligned across ~16 views</td><td>v5 removed <code>.form-control</code> and repurposed <code>.label</code>/<code>.label-text</code></td><td>Unlayered compat shim in <code>main.css</code> restoring v4 stack semantics (overrides DaisyUI's cascade layer)</td></tr>
66
+
<tr><td>Form inputs only ~half width</td><td>v5 gives <code>.input</code>/<code>.select</code>/<code>.textarea</code> an intrinsic width, so <code>form-control</code>'s flex stretch no longer fills the row</td><td><code>.form-control :where(.input,.select,.textarea){{width:100%}}</code> in the shim</td></tr>
66
67
<tr><td>Manual/Import & server-detail tabs looked like plain text</td><td><code>tabs-boxed</code>→<code>tabs-box</code>, <code>tabs-bordered</code>→<code>tabs-border</code> renamed in v5</td><td>Renamed tab containers in AddServerModal, OnboardingWizard, ServerDetail</td></tr>
67
68
<tr><td>Theme dropdown clipped (labels + title cut off-screen)</td><td>Menu too narrow (<code>w-64</code>) and <code>dropdown-end</code> pushed a wider menu off the left of the viewport from the left sidebar</td><td>Widened to <code>w-72</code> + <code>flex-nowrap</code>; dropped <code>dropdown-end</code> so it opens rightward (left edge x: −85px → +12px, on-screen)</td></tr>
69
+
<tr><td>Sidebar nav items + active highlight only content-width</td><td>v5 <code>.menu</code> defaults to <code>width: max-content</code> (v4 filled the rail)</td><td>Added <code>w-full</code> to the sidebar <code>.menu</code> lists (ul width 117px → 231px)</td></tr>
70
+
<tr><td>Dashboard connection dots/lines black; MCP logo glow gone</td><td>v5 renamed all theme CSS vars (<code>--su</code>→<code>--color-success</code>, <code>--p</code>→<code>--color-primary</code>, <code>--b1/2/3</code>, <code>--bc</code>) and the var now holds the full color (no <code>hsl()</code>/<code>oklch()</code> wrapper); undefined short vars resolved to black/none</td><td>Converted ~50 refs across Dashboard, TokenPieChart, Hints panels to v5 vars; opacity uses → <code>color-mix(in oklch, …, transparent)</code></td></tr>
<figure><figcaption>Sidebar nav — fixed (items + active highlight fill the rail)</figcaption>{img(os.path.join(EXTRAS, "sidebar-servers.png"))}</figure>
70
75
<figure><figcaption>Add-server form — fixed (labels stack, full-width inputs, boxed tabs)</figcaption>{img(form)}</figure>
0 commit comments