8feed6d1ff
The canary boot showed the entry sitting noticeably left of the centered logo. gfxmenu's boot_menu draws items left-aligned inside the box with a ~29px inset and offers no item alignment, so centering means placing the box: left 25%->40%, width 50%->35%. Measured off the canary screenshot, not guessed; the comment records the measurement so a future label change gets re-measured instead of re-guessed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
# Felhom ISO — GRUB gfxmenu theme (scripts v1.22.0, R-38 GRUB slice).
|
|
#
|
|
# WHY A THEME AND NOT `background_image`: plain gfxterm draws the menu in the terminal's own region
|
|
# (top-left), which on our card lands the text straight across the cloud/wordmark. A gfxmenu theme is
|
|
# the only way to POSITION the menu, so the menu sits in the clean lower third that
|
|
# generate-grub-background.sh deliberately leaves empty (the card is composited into the TOP 516px of
|
|
# a 1024x768 canvas). Keep this file and the background generator's CARD/CARD_Y constants in sync —
|
|
# if the card grows, `boot_menu.top` must move down with it.
|
|
#
|
|
# Colors are design-system v2: --blue #0083D8 for the selected item, light text on the near-black
|
|
# navy (#0D1117) the card itself uses.
|
|
|
|
title-text: ""
|
|
|
|
desktop-image: "background.png"
|
|
desktop-color: "#0D1117"
|
|
|
|
# The single entry ("Felhom telepítés"). Below the card, optically centered under it.
|
|
#
|
|
# boot_menu has no item alignment — items are drawn left-aligned inside the box, at a ~29px inset
|
|
# (measured off the canary boot: box left 25% = 256px put the glyphs at x≈285). So centering is done
|
|
# by placing the BOX, not the text: 'Felhom telepítés' renders ~133px wide, so left=40% (=410px)
|
|
# puts the text at ~439..572, centered on ~505 against the card's 512. If the entry label ever
|
|
# changes length, re-measure from a canary screenshot rather than assuming.
|
|
+ boot_menu {
|
|
left = 40%
|
|
top = 70%
|
|
width = 35%
|
|
height = 14%
|
|
|
|
item_color = "#E6EDF3"
|
|
selected_item_color = "#0083D8"
|
|
item_height = 32
|
|
item_padding = 0
|
|
item_icon_space = 0
|
|
item_spacing = 2
|
|
}
|
|
|
|
# Honest countdown — the customer sees that something IS about to happen, not a frozen screen.
|
|
# NOTE: no "e: edit entry / esc: back" hint label (the stock PVE theme has one). Advertising the
|
|
# editor works against the point of the single-entry menu.
|
|
+ label {
|
|
id = "__timeout__"
|
|
text = "Indítás %d másodperc múlva..."
|
|
left = 25%
|
|
top = 84%
|
|
width = 50%
|
|
height = 30
|
|
|
|
color = "#8B949E"
|
|
align = "center"
|
|
}
|