Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove NextUI dependency (and maybe Tailwind) #763

Open
vgeorge opened this issue Feb 25, 2025 · 0 comments
Open

Remove NextUI dependency (and maybe Tailwind) #763

vgeorge opened this issue Feb 25, 2025 · 0 comments
Assignees

Comments

@vgeorge
Copy link
Member

vgeorge commented Feb 25, 2025

In #740 we worked on a fix to avoid changing the environment page style caused by NextUI.

In that PR we moved the tailwind @base directive, which injects NextUI plugin styles, to the scope of the .lonboard div. We also added some hard-coded styles from NextUI to that div.

Considering that a change in the NextUI package might break this implementation, this is not a very maintainable solution. Also, we don't expect many different components to be present in the widget, so a component library might be overkill.

At the moment, I'm leaning towards removing it as a dependency and implementing custom styles, relying only on Tailwind or even removing it to avoid unintended side effects.

cc @kylebarron @Bjoern-Rapp

@vgeorge vgeorge self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant