Files
stack/infra/gitea
kert 5d2f72b22f fix(styles): correct cross-root token scoping for marimo and gitea
Two related style bugs from the editorial theme port:

marimo.css — our :root token declarations never reached marimo app
descendants. Marimo declares its own tokens on .marimo (class selector,
specificity 0,1,0), which beats :root (0,0,1), so every --background,
--primary, --card, etc. inside the notebook fell back to marimo's
light-dark() defaults. Result: dark navy cell chrome, unreadable form
dropdown row, broken contrast across cells.

Fix: change every :root in marimo.css to ":root, .marimo" so our tokens
apply at the same specificity as marimo's and win by load order.

gitea home.tmpl — the .section-header div was rendering with a dark
navy background behind "Services / Infrastructure" (black text on dark
navy = invisible). Defensively force transparent bg + zero padding/border
on the section-header wrapper and its h2 so no inherited chrome leaks
through.
2026-04-10 15:47:26 -04:00
..