OPX//77
opx_infinitytheme

Server

Last updated on

The theme contract on the server — read the resolved theme.

local theme = OPX.Api.Get('theme')

From server code inside opx_infinity. Read only; there is no setter.

Current

A copy of the resolved payload. Empty when nothing is configured.

theme.Current()

Returns

Payload

Colours are { r, g, b } integers 0–255. Keys appear only when the matching config key is set.

KeyFromRange
accent, idle, deep, hi, text, alarm, plate, plateLitACCENT (alarm from ALARM when set)0–255 per channel
plateAlphaPLATE_OPACITY0.20–0.98
plateQuietAlphaPLATE_OPACITY − 0.200.00–0.98
plateLitAlphaPLATE_OPACITY + 0.120.20–1.00
interlaceAlpha0.05 × INTERLACE0.00–0.15
tiltDegTILT0–15
cutSm, cutMd, cutLg6, 12, 20 × CUT (rounded)1–24, 1–48, 1–80

On this page