UI theming
Brand, logo, colours, font, HUD placement, tabs, sounds, prompts.
Everything is in config.lua; no HTML or CSS editing needed.
Brand
Config.Brand = {
name = 'Hydro-Clean', -- every {brand} in the locales
logo = 'assets/brand/hydroclean-mark.svg', -- under web/, png/svg/webp/jpg
plate = 'HYDRO', -- rental plate prefix, 5 letters max
}Drop your logo into web/assets/brand/ and point logo at it. Only files under web/assets/ are accepted (no remote images). The tablet header lines ("Strawberry Ave", "Pressure washing contractors") are locale strings brand.* — change them in Locales.
Colours and font
Config.UI.theme = {
accent = '#3cc8e8', -- buttons, bars, highlights
accentInk = '#04222b', -- text on the accent
bg = '', surface = '', ink = '', muted = '', good = '', bad = '', -- '' = built-in
font = '', -- e.g. "'Rajdhani', sans-serif" (install the font in web/assets/fonts/)
}Colours are 6-digit hex. They reach the page as CSS variables, so one block re-themes the tablet, the HUD, the prompts and the gauge. The interface is dark by design (it sits on top of the game).
HUD, tabs, photos, sounds
Config.UI.hud = { position = 'right', scale = 1.0 } -- 'left' | 'right', 0.6-1.6
Config.UI.tabs = { overview = true, contracts = true, yard = true, equipment = true }
Config.UI.photos = true -- site and van photos on the tablet
Config.UI.sounds = true -- the spray soundYour server's own prompts and progress bar
Config.UI.prompts = 'own' -- 'bridge' = your text UI through cc_lib (ox_lib, okokTextUI, cd_drawtextui, qb)
Config.UI.progress = 'own' -- 'bridge' = your progress bar through cc_lib (ox_lib, qb-progressbar, esx)The pressure gauge minigame stays ours (turn it off with Config.Features.gauge = false). Notifications always go through cc_lib's notify bridge.
Controls
Config.Prompt.keys (E, G, H, X, Y), Config.Tool.sprayKey, aimKey, Config.Tips.key — GTA control ids, see the FiveM controls list.
Preview without a server
tools/preview/preview.html (in the source repo, not the zip) opens the real web/ page with mock data: ?scene=rental|owned|none|hud&page=overview|contracts|yard|gear&accent=f2b84b&left=1.
