# GRUB2 gfxmenu pop theme, based and inspired by Vimix and Dracula grub themes
# Designed for any resolution

# Global Property
title-text: ""
desktop-image: "background.png"
desktop-image-scale-method: "stretch"
desktop-color: "#1E1E2E"
terminal-font: "Sans Bold 16"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"

# Logo image
+ image {
	left = 50%-50
	top = 35%-50
    file = "logo.png"
}

# Show the boot menu
+ boot_menu {
  left = 48%-240
  top = 45%
  width = 520
  height = 55%
  item_font = "Sans Bold 16"
  item_color = "#CDD6F4"
  selected_item_color = "#CDD6F4"
  icon_width = 32
  icon_height = 32
  item_icon_space = 20
  item_height = 36
  item_padding = 5
  item_spacing = 10
  selected_item_pixmap_style = "select_*.png"
}

# Information
+ vbox {
    left = 50%-125
    top = 80%
    width = 250
    + label { width = 250 height = 20 align = "center" color = "#f5c2e2" font = "Sans 16" text = "[↵] Boot selected OS" }
    + label { width = 250 height = 20 align = "center" color = "#cba6f7" font = "Sans 16" text = "[↑ and ↓ Key] Navigation" }
    + label { width = 250 height = 20 align = "center" color = "#f38ba8" font = "Sans 16" text = "[E] Edit Selection" }
    + label { width = 250 height = 20 align = "center" color = "#b4befe" font = "Sans 16" text = "[C] GRUB Commandline" }
}

# Show a countdown message using the label component
+ label {
  top = 95%
  left = 33%
  width = 35%
  align = "center"
  id = "__timeout__"
  text = "Booting soothly in %d seconds"
  color = "#CDD6F4"
}
