dvarapala द्वारपाल

Accepted ADR 0006 · 2026-10-24

#6. Themed like the desktop, but nothing can be made hard to read

#Context

The approval window used fixed colours on a near-opaque card, deliberately: it runs with a cleared environment and root-owned XDG directories so that no user GTK CSS (which any process of the user, an agent included, can write) can restyle it, for example to hide a command. Next to Vayu's other popups (Vyom's glass panels, in whatever theme varna applies) it looked like a different program, and users asked for one look across the desktop.

#Decision

The window takes Vyom's layout (a mode pill in the top bar, rounded command cards, key caps in the footer, the same type and buttons) and the user's varna colours, read from ~/.local/state/varna/palette.json as data, never as CSS, and only through checks that make tampering useless:

The card stays at 0.84 opacity (Vyom's panels: 0.55), so what's behind the window never reads as part of it even without the compositor's blur.

#Consequences

← All decisions · source