diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 10:33:26 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 10:33:26 +0200 |
| commit | a08ffb69ac7553350e1e5259bb0101ea997a70ae (patch) | |
| tree | 295de32eaf5c24b576c822751e394d14ba7d1acd /docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md | |
| parent | 27c22afb02a819c8d9e28c9232e515716e92f263 (diff) | |
| download | grub-theme-udt-a08ffb69ac7553350e1e5259bb0101ea997a70ae.tar.gz grub-theme-udt-a08ffb69ac7553350e1e5259bb0101ea997a70ae.zip | |
Thin the countdown bar to 4px
GRUB 2.14 draws the progress bar at least 28px tall regardless of its
height property (measured with ./preview; not explained by the font or
the minimal-size code in the source). Keep the component at 28px and
draw it with pixmap styles whose top slice is a 24px transparent strip,
leaving a 4px surface track filled with accent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md')
| -rw-r--r-- | docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md b/docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md index ed97584..f64ff8c 100644 --- a/docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md +++ b/docs/superpowers/specs/2026-09-29-grub-theme-udt-design.md @@ -35,8 +35,9 @@ the layout echoes sddm-theme-udt's left panel. - `+ boot_menu`: `item_color = @FG_DIM@`, `selected_item_color = @FG@`, Noto Sans Regular, no icons (`icon_width = 0`); - `+ label` with `id = "__timeout__"`, colour `@FG_FAINT@`; - - `+ progress_bar` with `id = "__timeout__"`, `fg_color = @ACCENT@`, - `bg_color = @SURFACE@`, a few pixels high. + - `+ progress_bar` with `id = "__timeout__"`: a 4px `surface` track + filled with `accent`. GRUB 2.14 will not draw it under 28px, so it is + 28px with pixmap styles whose `bar_n.png` is a 24px transparent slice. - **Selected item:** `selected_item_pixmap_style = "select_*.png"`. The `w` slice is a 4px `accent` bar, the `c` and `e` slices are solid `surface`. - **Console:** `terminal-box: "terminal_box_*.png"`, all nine slices solid |
