# Motel OS bootloader theme.
#
# GRUB renders this before any graphics driver is loaded, so it stays simple:
# a background image, a boxed menu, and legible labels. Anything fancier risks
# a machine that cannot show its own boot menu.

title-text: ""
desktop-image: "background.png"
desktop-color: "#101418"
terminal-font: "Motel Regular 16"
terminal-box: "terminal_box_*.png"

# Distribution mark above the menu.
+ image {
    left = 50%-64
    top = 12%
    width = 128
    height = 128
    file = "logo.png"
}

+ label {
    left = 0
    top = 12%+150
    width = 100%
    align = "center"
    color = "#E8EDF2"
    font = "Motel Regular 20"
    text = "Motel OS"
}

+ boot_menu {
    left = 25%
    top = 34%
    width = 50%
    height = 46%

    item_font = "Motel Regular 16"
    item_color = "#8A97A6"
    selected_item_color = "#E8EDF2"

    item_height = 36
    item_spacing = 6
    item_padding = 10

    selected_item_pixmap_style = "select_*.png"

    scrollbar = true
    scrollbar_width = 12
    scrollbar_thumb = "slider_*.png"
}

# Countdown, so an unattended boot is not a mystery.
+ progress_bar {
    id = "__timeout__"
    left = 25%
    top = 84%
    width = 50%
    height = 16
    show_text = true
    text = "Booting in %d seconds"
    text_color = "#8A97A6"
    font = "Motel Regular 12"
    bar_style = "progress_bar_*.png"
    highlight_style = "progress_highlight_*.png"
}
