Skip to main content

Module include

Module include 

Source
Expand description

External palette file inclusion support

Supports the @include:path syntax for including palettes from external files. Paths are resolved relative to the including file’s directory.

Enums§

IncludeError
Error type for include resolution failures.

Constants§

INCLUDE_PREFIX
The prefix for include syntax

Functions§

extract_include_path
Extract the path from an include reference.
is_include_ref
Check if a palette reference is an include reference.
resolve_include
Resolve an include reference to a Palette.
resolve_include_with_detection
Resolve an include reference with circular include detection.