opx_infinitytheme
theme
Last updated on
The server's colour scheme and surface style, set in one config file and pushed to every player's interface.
Sets the look of every OPX screen: accent colour, alarm colour, panel darkness, scanline, tilt and corner cut. The operator sets them once; every player gets the same theme and cannot pick their own. From one accent hex the module derives the whole colour ladder (idle, deep, hi, text, alarm and two panel grounds). A key left out keeps the interface's shipped value. Without this module the interface keeps its shipped red.
| Side | both |
| Requires | none |
| Contract | theme v1 — server |
| Config | config/theme.lua (server script) |
| Data | none |
- The config is a server script: clients never hold a copy and only receive the resolved values.
- Bad values are refused at start with a line in the server log, one per value.
Configuration
config/theme.lua sets OPX.Config.MODULES.theme.