Skip to content

PetroleumTheme

Type class

"Petroleum": a restrained, near-monochrome dark theme, with pale gold text on a near-black #0a0e12 background. Its series colors are golds with one green accent: crude amber #c8890a, gas flare #f5d090, pipeline green #6a8a70, sulfur #a89050 and bronze #8b6914.

More info: Themes

Sources

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

Inheritance

PetroleumTheme extends Theme.

PetroleumTheme is not extended by any other symbol.

Properties

PetroleumTheme does not have any properties.

Methods

constructor(root: Root,
isReal: boolean
)

Returns PetroleumTheme

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

PetroleumTheme does not have any events.