diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-27 18:23:03 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-27 18:23:03 +0200 |
| commit | 154bb069476e9e3a438b76774a739e980b49494e (patch) | |
| tree | 4c82e4cd7f15f40e08bd11a1749f44d910aa2abf /rofi/udt | |
| parent | 0a05e36fe5912ac6f26f2c3ecea84c8b29a3fc8a (diff) | |
| download | unified-desktop-theme-154bb069476e9e3a438b76774a739e980b49494e.tar.gz unified-desktop-theme-154bb069476e9e3a438b76774a739e980b49494e.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'rofi/udt')
| -rw-r--r-- | rofi/udt/powermenu.rasi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rofi/udt/powermenu.rasi b/rofi/udt/powermenu.rasi index d2c885a..92c5b07 100644 --- a/rofi/udt/powermenu.rasi +++ b/rofi/udt/powermenu.rasi @@ -12,11 +12,11 @@ /* The fullscreen ground is translucent so the desktop stays faintly visible * behind it, which keeps the overlay reading as a layer over the session - * rather than a screen the session was replaced by. Written as an explicit - * rgba rather than @base, since the palette entries are fully opaque. */ + * rather than a screen the session was replaced by. @scrim is the scheme's + * background at 88% alpha, the one translucent palette entry. */ window { fullscreen: true; - background-color: rgba(36, 39, 58, 0.88); + background-color: @scrim; border: 0; border-radius: 0; padding: 0; |
