aboutsummaryrefslogtreecommitdiffstats
path: root/theme.txt.in
blob: b864a8603c7a7da51fad024869c3c29f4bf0d8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# GRUB theme for the unified-desktop-theme family, scheme @SCHEME@.
# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
# Licensed under the GNU General Public License v2 only.
#
# udt-palette renders this to theme.txt; ./build assembles dist/udt/ from
# that. The next line is read by ./build for the PNG colours; GRUB skips it.
# udt: bg_alt=@BG_ALT@ bg_deep=@BG_DEEP@ surface=@SURFACE@ accent=@ACCENT@

title-text: ""
desktop-image: "background.jpg"
desktop-image-scale-method: "crop"
desktop-color: "@BG@"
terminal-font: "Inconsolata Nerd Font Mono Regular 18"
terminal-box: "terminal_box_*.png"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"

# %TITLE% is filled in by ./build from /etc/os-release.
+ label {
  left = 3%
  top = 8%
  width = 19%
  text = "%TITLE%"
  font = "Noto Sans Bold 32"
  color = "@FG@"
}

+ boot_menu {
  left = 2%
  top = 18%
  width = 21%
  height = 60%
  item_font = "Noto Sans Regular 24"
  item_color = "@FG_DIM@"
  selected_item_color = "@FG@"
  icon_width = 0
  icon_height = 0
  item_icon_space = 0
  item_height = 48
  item_padding = 12
  item_spacing = 6
  selected_item_pixmap_style = "select_*.png"
  scrollbar = false
}

+ label {
  left = 3%
  top = 82%
  width = 19%
  id = "__timeout__"
  text = "Booting in %d seconds"
  font = "Noto Sans Regular 24"
  color = "@FG_FAINT@"
}

+ progress_bar {
  id = "__timeout__"
  left = 3%
  top = 87%
  width = 19%
  height = 4
  fg_color = "@ACCENT@"
  bg_color = "@SURFACE@"
  border_color = "@SURFACE@"
}

# The panel: bg_alt at ~85% alpha, stretched over the left quarter. Last on
# purpose: GRUB paints components in reverse order, so the last one declared
# is the bottom layer. Declared first, it covers the menu and dims it.
+ image {
  left = 0
  top = 0
  width = 25%
  height = 100%
  file = "panel.png"
}