XLQP Gen1
ElementsCompatibility aliases

CreateTheme

This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older CreateTheme name continue to work.

CreateTheme

Compatibility alias

CreateTheme is an alternate name for RegisterTheme. New code can use RegisterTheme.

What it does

This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older CreateTheme name continue to work.

When to use it

Use it to add a reusable custom color and style preset before applying it. Prefer RegisterTheme in new code so the method name matches the current API.

XLQPGen1:CreateTheme(name,ThemeConfig,applyNow)

local Result = Library:CreateTheme(
    "Example",
    {},
)

Behavior and return value

This alias forwards to RegisterTheme, so its options, callbacks, and returned value follow the canonical method.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.