Class for a theme.
Theme name.
Optionalopt_blockStyles: { [key: string]: BlockStyle }A map from style names (strings) to objects with style attributes for blocks.
Optionalopt_categoryStyles: { [key: string]: CategoryStyle }A map from style names (strings) to objects with style attributes for categories.
Optionalopt_componentStyles: ComponentStyleA map of Blockly component names to style value.
The block styles map.
The category styles map.
The UI components styles map.
The font style.
The theme name. This can be used to reference a specific theme in CSS.
Whether or not to add a 'hat' on top of all blocks with no previous or output connections.
Gets the style for a given Blockly UI component. If the style value is a string, we attempt to find the value of any named references.
The name of the component.
The style value.
Overrides or adds a style to the blockStyles map.
The name of the block style.
The block style.
Overrides or adds a style to the categoryStyles map.
The name of the category style.
The category style.
Configure a specific Blockly UI component with a style value.
The name of the component.
The style value.
Configure a theme's start hats.
True if the theme enables start hats, false otherwise.
Fake class which should be extended to avoid inheriting static properties