Skip to content

[BUG] If your website is built on Radix, importing CSS breaks design #729

Open
@KidLinus

Description

@KidLinus
  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • I have read the documentation and cannot find an answer.

Describe the bug
I have a SPA built on top of @radix-ui/themes. If i import "@mdxeditor/editor/style.css" then the entire theming of my application breaks.

Reproduction
Create a vite boiler. Set up a radix themes ui and integrate their official support for light/dark theme. Import "@mdxeditor/editor/style.css"

Expected behavior
I expect a component library to not declare global css that interfere with the application.

Desktop (please complete the following information):

  • OS: MacOS
  • Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions