api
Themes
themes
The top-level themes configuration, which includes presets and defaults for managing themes globally and individually.
object (default: {}) Defines individual themes and their fallback hierarchies. Each preset can be a simple array or a detailed object.
object (default: {namespace: [/^@_/], rootNodes: ["*"], file: "en", app: "en"}) Global defaults applied to all themes, simplifying preset configurations. Includes file, app, namespaces, and rootNodes.
themes.defaults
Defines global defaults for themes to simplify configuration.
string (default: "en") Default fallback theme for unmatched files.
string (default: "en") Default app-wide theme.
array (default: [/^@_/]) Folders ignored as themes. Supports regex patterns.
array (default: ["*"]) Default root nodes applied to all presets.
themePreset
Represents an individual theme preset. Can be configured as a simple array or a detailed object for fine-grained control.
array (default: []) Ordered list of theme preferences. Compound themes can be defined as nested arrays.
array (default: []) Specifies the root nodes for this preset.