@sabinmarcu/theme-coreFunctionsencodeThemePatchencodeThemePatch CallableencodeThemePatch<Schema, Prefix>(theme: Pick<Theme<Schema, Prefix>, definition | sources | prefix>, input: NoInfer<ThemePatch<Schema>>): Readonly<Record<`--${Prefix}-${string}`, string>>Encode only supplied source paths. The renderer supplies current omitted allocations.Type parametersSchema: ThemeSchemaPrefix: stringParameterstheme: Pick<Theme<Schema, Prefix>, definition | sources | prefix>input: NoInfer<ThemePatch<Schema>>Returns Readonly<Record<`--${Prefix}-${string}`, string>>
Encode only supplied source paths. The renderer supplies current omitted allocations.