partStyle()
function partStyle(part): string;
Defined in: packages/core/src/theme/part-style.ts:10
Maps a data-pitchkit-part to its default presentation as an inline
style string referencing themeable CSS variables with built-in
fallbacks (PRD §8.7). Consumers retheme by setting the --pitch-*
variables — never by overriding these shapes' fill/stroke directly.
Shared verbatim between the SVG DOM renderer and @pitchkit/react's JSX emission, so the two can never drift on pitch-part styling.
Parameters
| Parameter | Type |
|---|---|
part | string |
Returns
string