# Scutarius installer boot-menu theme: the generated splash as the background, # the menu BELOW its artwork. Copied as /theme.txt next to splash.jpg # and font.pf2 (SCUTARIUS_THEME, patch 0010); boot/*/grub/grub-efi.cfg load it. # # Without a theme GRUB draws its default menu box over the whole screen, and # the splash's artwork (the top quarter of the image) sat behind the entries. # # ONE FONT: the installer ships exactly one, font.pf2 (GRUB_FONT, ascii.pf2 on # both arches), which is GNU Unifont Regular 16. A theme naming any other font # would silently fall back to it, so every font here is that one, and # check-theme-geometry.py --installer fails if the shipped font's name differs. # # NO PIXMAPS: the selection is shown by colour alone. Pixmaps would need the # png module, which the signed GRUB images do not carry built in. # # GEOMETRY: percentages of the canvas; the installer asks for 1024x768 and # falls back to 800x600 (x86: 800x600 only), and the splash is stretched to # either. stage.sh runs profiles/branding/tools/check-theme-geometry.py # --installer against the splash it has just generated, so the menu is # checked against the artwork's MEASURED extent, not a remembered one. desktop-image: "splash.jpg" desktop-color: "#1f2226" title-text: "" terminal-font: "GNU Unifont Regular 16" terminal-left: "4%" terminal-top: "30%" terminal-width: "92%" terminal-height: "66%" + boot_menu { left = 15% top = 30% width = 70% height = 52% item_font = "GNU Unifont Regular 16" selected_item_font = "GNU Unifont Regular 16" item_color = "#ece8df" selected_item_color = "#c9a266" item_height = 24 item_padding = 0 item_spacing = 4 icon_width = 0 icon_height = 0 scrollbar = false } # The countdown and the key hint the text menu printed; gfxmenu shows neither # unless the theme does. "e" is how a console= is added by hand. + label { id = "__timeout__" left = 0 top = 86% width = 100% align = "center" font = "GNU Unifont Regular 16" color = "#a9a397" text = "The highlighted entry will be started in %d seconds." } + label { left = 0 top = 91% width = 100% align = "center" font = "GNU Unifont Regular 16" color = "#a9a397" text = "Arrow keys to choose, Enter to boot, e to edit the entry, c for a command line." }