fix: rebuilt stylesheet + visible explorer rows (v3.6.30)
The compiled Tailwind stylesheet (frontend/style.css) had been stale since 2026-09-22: classes introduced later were missing from it, so the Install / Make selectable chips had no background or text colour in light mode (dark mode only looked green because an older dark:text-emerald-400 rule matched) and the new w-28 action column did not apply. - Rebuilt with `npm run build` (Tailwind + appended src/contrast.css); verified the previously missing classes (bg-emerald-100, text-emerald-700, hover:bg-emerald-200, bg-red-100, bg-blue-100, w-28, ...). - Explorer rows are visible chips now: rounded bg-gray-50 dark:bg-slate-800/60 with a hover:bg-gray-100 highlight and the colored left accent kept (module rows a subtler variant), so a right-column button is unambiguously tied to its row; ISD/app/ELF/module rows all use the same treatment. - AGENTS working conventions: an index.html change that introduces new utility classes also requires `npm run build` in frontend/. 660 frontend / 504 Python green; version 3.6.30; sw simple-v303.
This commit is contained in:
@@ -203,6 +203,9 @@ test('explorer action buttons share a fixed-width column, Install is green', ()
|
||||
delete global.t;
|
||||
// every action cell is the same fixed-width column
|
||||
assert.ok(out.includes('w-28 shrink-0'), out);
|
||||
// rows are visible chips (background + hover) so the button belongs to its row
|
||||
assert.ok(out.includes('bg-gray-50 dark:bg-slate-800/60'), out);
|
||||
assert.ok(out.includes('hover:bg-gray-100 dark:hover:bg-slate-700/50'), out);
|
||||
// the Install button (module without an instance) is green, not blue
|
||||
const inst = /<button onclick="ramInstallFromExplorer[^>]*class="([^"]*)"/.exec(out);
|
||||
assert.ok(inst, out);
|
||||
|
||||
Reference in New Issue
Block a user