Pick a theme
Set it once for every game inconfig.lua:
config.lua
Built-in themes
Make your own
A theme is just a table of colours. There’s no build step - edit, save, restart.1
Copy a built-in
Duplicate
web/themes/dark.lua and rename it, e.g. web/themes/casino.lua.2
Change the id to match the filename
The key in the table is the id you’ll use in
config.lua:web/themes/casino.lua
3
Tweak the colours
Keep all the keys - the UI expects every one of them. Values are hex:
- 6-digit for solid:
#101418 - 8-digit to add transparency:
#RRGGBBAA- the last pair is opacity (00= clear,FF= solid) rgb()/rgba()work too if you prefer
4
Use it
config.lua
5
Restart
restart awoken_minigames. That’s it - the theme is read at runtime and handed to the UI. It shows up automatically in-game and in the dev menu.Themes live in
web/themes/*.lua, which asset escrow leaves open - they’re yours to edit. You never need Node, npm, or a build to recolour anything.The live theme editor
Rather than editing hex by hand, the dev menu has a Theme button that opens a live editor: recolour every token and watch the panel change as you type. It edits the real CSS variables, so what you see is exactly what a game gets.1
Open it
With
enableDevMenu = true, run /awoken_minigames and click Theme. (It’s also in the browser dev panel - cd web && npm run dev.)2
Start from an existing theme (optional)
Load one of your
web/themes/*.lua files to tweak from, rather than starting blank.3
Recolour
Adjust any token; the panel behind the editor updates instantly.
4
Save it
Give it an id and hit Save. In-game, that writes
web/themes/<id>.lua straight into the resource for you. In the browser it downloads the .lua instead (CEF has no download manager), which you then drop into web/themes/.5
Use it
Set
theme = '<id>' in config.lua and restart awoken_minigames.The keys
Each theme file documents every key inline. The main groups:Per-call theming
Becausetheme is a shared option, you can theme a single job differently without touching the global: