StudioTheme

Show Deprecated
Not Creatable
Not Replicated

Summary

Properties

Events

Methods


Returns the color corresponding to the arguments provided.

Properties

Events

Methods

GetColor

Plugin Security

The GetColor() function returns the Color3 corresponding to the arguments provided. For instance, if you would like to get the Color3 of the Studio "MainButton" when it's disabled, you can use the following code:


1settings().Studio.Theme:GetColor(Enum.StudioStyleGuideColor.MainButton, Enum.StudioStyleGuideModifier.Disabled)
2```lua
3
4See the `Enum.StudioStyleGuideColor` reference for a list of Studio elements and `Enum.StudioStyleGuideModifier` for a list of modifiers.
5

Parameters

styleguideitem: StudioStyleGuideColor

The element you want to get the theme color for.

The modifier you want to place on the StyleGuideColor element.

Default Value: "Default"

Returns

The corresponding Color3 theme value.