Skip to content
docsv0.31.1

ComponentStyles

The design-system CSS required by this transport's renderers, shipped without an npm install or panel. Generated from @milpa/design by scripts/build-component-styles.php (Greenhouse decisions/0326). Fonts remain the local files supplied by DesignTokens; this bundle makes no external requests.

ComponentStyles::path()

public static function path(string $name = self::FILE): ?string

Resolve only the shipped bundle, never a caller-provided filesystem path.

Parameters

Parameters of path()
NameTypeDescription
$namestring

ComponentStyles::url()

public static function url(string $prefix): string

The URL under the host's own asset mount.

Parameters

Parameters of url()
NameTypeDescription
$prefixstring