Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(ui): theme native scrollbars across the MSO shell
Rahman6a6037d702e2
diff --git a/app/globals.css b/app/globals.cssindex edcc5754..7145c6e8 100644--- a/app/globals.css+++ b/app/globals.css@@ -7,6 +7,7 @@/* ── os-rr design tokens (light / aqua default) ─────────────────────── */:root {+ color-scheme: light;/* Chrome typeface tokens. NOTE the mono token is --font-mono-ui, NOT--font-mono: the @theme inline block maps Tailwind's --font-mono to it —naming both the same created a self-referential var() cycle that nuked@@ -124,6 +125,7 @@}[data-theme="dark"] {+ color-scheme: dark;--text: #f2f2f5;--text-dim: rgba(242, 242, 245, 0.64);--text-faint: rgba(242, 242, 245, 0.4);@@ -206,12 +208,13 @@states, 10 `border-destructive/*` danger states and 6 `border-ring`. Same trapapplies to `box-border`/`box-content`, hence box-sizing moves in here too. */@layer base {- * { box-sizing: border-box; border-color: var(--color-border); }+ * { box-sizing: border-box; border-color: var(--color-border); scrollbar-width: thin; scrollbar-color: var(--text-dim) transparent; }+ @media (forced-colors: active) { * { scrollbar-color: auto; } }}/* Global :focus-visible fallback — component primitives (Button etc.) owntheir own rings; this catches native <a>/<input>, custom tabIndex divs andanything else without a bespoke focus style. WCAG 2.4.7 (Focus Visible). */-*:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }+*:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: var(--radius); }html, body { height: 100%; margin: 0; }/* Root font-size = browser default × the a11y scale, so every rem reacts live. */html { font-size: calc(100% * var(--font-scale, 1)); }diff --git a/scripts/e2e/release.mjs b/scripts/e2e/release.mjsindex ba4fdcca..e5feb34a 100644--- a/scripts/e2e/release.mjs+++ b/scripts/e2e/release.mjs@@ -55,6 +55,14 @@ try {return badge && heading ? badge.y + badge.height <= heading.y : false;}).toBe(true);}+ for (const theme of ["dark", "light"]) {+ await page.evaluate(theme => {document.documentElement.dataset.theme=theme}, theme);+ expect(await page.locator("body").evaluate(el => getComputedStyle(el).colorScheme)).toBe(theme);+ expect(await page.locator("body").evaluate(el => getComputedStyle(el).scrollbarWidth)).toBe("thin");+ }+ await page.emulateMedia({forcedColors:"active"});+ expect(await page.locator("body").evaluate(el => getComputedStyle(el).scrollbarColor)).toBe("auto");+ await page.emulateMedia({forcedColors:"none"});await mcpPublicJourney(page);await settingsAccessibilityJourney(page, fixture.base);expect(errors).toEqual([]);