Skip to content

StyleSheet

Not yet Class Other

Aggregates StyleRules and can be linked to DataModel trees to apply style properties to instances.

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members · 12 modern Roblox members not implemented yet

Description

Aggregates StyleRules and can be linked to DataModel trees to apply style properties to instances. Note that a StyleSheet may exist outside the DataModel, but it cannot be derived or linked to a DataModel tree in such a case.

Inheritance

Object → Instance → StyleBase → StyleSheet

Methods

Member Signature Summary
GetDerives StyleSheet:GetDerives(): Instances Returns an array of other StyleSheets from which the StyleSheet is deriving StyleRules and token definitions.
SetDerives StyleSheet:SetDerives(derives: Instances): null Sets the StyleSheet to derive StyleRules and token definitions from one or more other StyleSheets.

Roblox reference: StyleSheet

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.