# AXEM-SX GRUB2 THEME
# Font names MUST match PF2 embedded names exactly (verify with: strings <file>.pf2 | grep -A1 PFF2NAME)
#   AlanSans-Bold-18.pf2    → "Alan Sans Bold 18"
#   AlanSans-Regular-16.pf2 → "Alan Sans Regular 16"
#   AlanSans-Regular-14.pf2 → "Alan Sans Regular 14"

# --- Background ---
desktop-image: "background.png"
# --- desktop-image-scale-method: stretch --- ** this line of code caused the breakage of the theme many times *** ---
desktop-color: "#0B0F14"

# --- Title bar (hidden) ---
title-text: ""
title-color: "#FFFFFF"
title-font: "Alan Sans Bold 18"
terminal-font: "Alan Sans Regular 16"

# --- AXEM-SX Logo (top-left) ---
+ image {
    file = "logo.png"
    left = 5%
    top = 8%
    width = 188
    height = 62
}

# --- Boot menu ---
+ boot_menu {
    left = 5%
    width = 40%
    top = 25%
    height = 38%

    item_font = "Alan Sans Regular 14"
    item_color = "#FFFFFF"
    item_height = 32
    item_spacing = 2

    selected_item_color = "#FFD700"
    selected_item_font = "Alan Sans Bold 18"

    scrollbar = false
}

# --- Timeout progress bar (immediately below menu) ---
+ progress_bar {
    id = "__timeout__"
    left = 5%
    width = 40%
    top = 65%
    height = 22

    font = "Alan Sans Regular 14"
    text_color = "#FFFFFF"
    fg_color = "#FFD700"
    bg_color = "#111111"
    border_color = "#111111"
    text = "@TIMEOUT_NOTIFICATION_SHORT@"
}

# --- Brandname (below progress bar) ---
+ image {
    file = "brandname.png"
    left = 5%
    top = 71%
    width = 180
    height = 32
}

# --- Footer help text (near bottom) ---
+ label {
    left = 5%
    top = 94%
    text = "Use arrow keys to select.  ENTER to boot.  E to edit.  C for console."
    font = "Alan Sans Regular 14"
    color = "#888888"
    align = "left"
}
