This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
[U] Themes
Madman10K edited this page Aug 10, 2023
·
5 revisions
You can create a theme file either by using the editor or by doing it by hand
- Go to the
Top bar
- Click on
Settings
- Click on
Theme Editor
- Manipulate the settings
- Optionally: Select a font from
Content/
- Once you are ready to save, choose the name of the file
- The file will be saved under your project's directory's
Config/Settings/
- Open
Config/Settings/Renderer.yaml
and type in the name of the config file(excluding file extension) - Load up the editor again
-
Create a file with the name of the theme and an extension of
.uvktheme
-
Edit values with every YAML sequence of 4 members being mapped to
RGBA
, Example:textCol: [1.0, 1.0, 1.0, 1.0] windowBg: [0.1, 0.1, 0.1, 1.0] header: [0.2, 0.2, 0.2, 1.0] headerHovered: [0.3, 0.3, 0.3, 1.0] headerActive: [0.15, 0.15, 0.15, 1.0] button: [0.2, 0.2, 0.2, 1.0] buttonHovered: [0.3, 0.3, 0.3, 1.0] buttonActive: [0.15, 0.15, 0.15, 1.0] frame: [0.2, 0.2, 0.2, 1.0] frameHovered: [0.3, 0.3, 0.3, 1.0] frameActive: [0.15, 0.15, 0.15, 1.0] tab: [0.15, 0.15, 0.15, 1.0] tabHovered: [0.4, 0.4, 0.4, 1.0] tabActive: [0.3, 0.3, 0.3, 1.0] tabUnfocused: [0.15, 0.15, 0.15, 1.0] tabUnfocusedActive: [0.2, 0.2, 0.2, 1.0] titleBg: [0.15, 0.15, 0.15, 1.0] titleBgCollapsed: [0.95, 0.15, 0.95, 1.0] titleBgActive: [0.15, 0.15, 0.15, 1.0] menubarBg: [0.01, 0.01, 0.01, 1.0] popupBg: [0.1, 0.1, 0.1, 1.0] font: "jb.ttf" font-size: 13 window-rounding: 1.0
-
Optionally: Add a font from your project's
Content/
folder -
Always have all the fields because not having some may crash the program
-
Open
Config/Settings/Renderer.yaml
and type in the name of the config file(excluding file extension) -
Reload the editor
This project is supported by all the people who joined our discord server and became beta testers. If you want to join the discord you can click here
- Home
- Beginner concepts
- Advanced concepts
- Engine developer and contributor resources