Skip to content

Expose component CSS custom properties #66

@milkbump

Description

@milkbump

It'd be helpful to expose custom properties inside a component for easier documentation. Particularly with the addition of the <Component --css-var="var"/> syntax.

It would be even more helpful if custom properties that are defined in the component (e.g --value: 24px) were somehow distinguishable from custom properties that are only used in the component (e.g value : var(--from-global-scope);)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Svelte V3Issue related to Svelte V3 componentsenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions