From 154bb069476e9e3a438b76774a739e980b49494e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 27 Sep 2026 18:23:03 +0200 Subject: feat(palette): add a translucent scrim role for fullscreen overlays The power menu's ground was a hardcoded rgba(36, 39, 58, 0.88), Macchiato's base, so every other scheme drew its overlay with a Macchiato tint. Each roles file now defines scrim as its own background at 88% alpha, udt-palette emits it into palette.rasi, and powermenu.rasi uses @scrim. scrim is the first translucent palette entry, so udt-accent's QML palette no longer drops the alpha pair: an opaque colour still goes out as #rrggbb, a translucent one as QML's #aarrggbb. Co-Authored-By: Claude Opus 5.5 --- palette/roles-macchiato.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'palette/roles-macchiato.conf') diff --git a/palette/roles-macchiato.conf b/palette/roles-macchiato.conf index aa34d7b..dcbe493 100644 --- a/palette/roles-macchiato.conf +++ b/palette/roles-macchiato.conf @@ -14,6 +14,10 @@ surface = surface0 surface_alt = surface1 border = surface1 +# The translucent ground behind a fullscreen overlay (power menu, screenshot +# menu): the background, faded so the session shows through. +scrim = base/88 + # Text, brightest to dimmest. fg = text fg_dim = subtext0 -- cgit v1.2.3