Skip to content

themeProvider :themeProvider

function themeProvider(Scope: Scope): themeProvider
Initializes themeProvider and returns a table containing its methods and properties.

Default Syntax

local themeProviderUtility = require(StudioComponents.Util.themeProvider)
local themeProvider = themeProviderUtility(Scope)

Shorthand

local themeProvider = require(StudioComponents.themeProvider)(Scope)

Parameters

Scope: Scope The Scope the utility will be initialized in.

Returns