Skip to content

PastelTheme

Type class

"Pastel": a soft light theme on a warm off-white background, with muted pastel series colors. Calm and editorial. Pairs with PastelDark.

More info: Themes

Sources

This information about PastelTheme is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

PastelTheme extends Theme.

PastelTheme is not extended by any other symbol.

Properties

PastelTheme does not have any properties.

Methods

constructor(root: Root,
isReal: boolean
)

Returns PastelTheme

3 inherited items
new(root: Root)

StaticReturns InstanceTypeInherited from Theme

Use this method to create an instance of this class.

More info: Getting started: new element syntax

rule(themeClass: K,
themeTags: Array
)

Returns TemplateInherited from Theme

Returns the rule for a class and theme tags, as a Template. Settings set on it go to every element of that class (or a class extending it) that has all of these tags. The same class and tags return the same rule.

More info: Themes

ruleRaw(themeClass: string,
themeTags: Array
)

Returns TemplateInherited from Theme

Same as rule(), but takes any class name, without type checks.

More info: Themes

Events

PastelTheme does not have any events.