Skip to content

Support side-effect CSS imports #406

Description

@andy-haynes

Add support for importing (plain?) stylesheets, e.g.

import '@radix-ui/themes/styles.css';

I'm assuming would entail a kind of build time CSS side loading to get the desired effect, opening the door to potential collisions at best and malicious UI tampering at worst. However if this behavior is limited to the root container, we could probably support this in a non-problematic way.

Activity

  1. mpeterdev commented on Apr 12, 2024

    @mpeterdev
    Contributor

    possible duplicate of #383

    technically different import strategy but likely the same end result

  2. andy-haynes commented on Apr 12, 2024

    @andy-haynes
    ContributorAuthor

    I think this would still be a separate (albeit related) issue because supporting the import in JS would require a very different implementation. But to be honest I'm still not sure what exactly this does in a JS module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions