Skip to content

Use style directives instead of classnames #20

@himynameisdave

Description

@himynameisdave

Svelte v3.46.0 now supports style directives!

I think that this is how we should be styling things for this component going forward. This way all of the unused CSS classes (probably?) end up in the end-user's code bundle.

I say probably because we'll need to play around with this a bit to say for sure, but in theory this should be a much better way to handle this.

Hoping for no API changes to this component, however I think this should still be marked as a breaking change since it will require at least [email protected].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions