Ventoy Forums
Color and font in the menu (theme.txt) - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Color and font in the menu (theme.txt) (/showthread.php?tid=2237)



Color and font in the menu (theme.txt) - BKPB - 10-31-2022

Is it possible to change the color and font in the menu header (theme.txt) ? Or just the font color.

[Image: W241StB.png]

Code:
        message-font: "Poppins-48.pf2"
        title-text: "UEFI"



RE: Color and font in the menu (theme.txt) - BKPB - 10-31-2022

It turned out to change the color.
title-color: "#E51642"

[Image: uBmiurT.png]

Is it possible to increase the font size and make it bold ?


RE: Color and font in the menu (theme.txt) - AlexBryansk - 11-01-2022

In grub, the size of the shtft does not change. A new one is added.

parameter b theme.txt
title-font ="font_name"

+ be sure to ventoy.json
"theme": {
...
"fonts": [ ...
"/font_path/font_file_name.pf2"

"font_name" and "font_file_name" are different names.


Read about the "lsfonts" team in my topic click

About the theme design in click


RE: Color and font in the menu (theme.txt) - BKPB - 11-01-2022

Thanks for the help.