epicmaxco / vuestic-ui

Free and Open Source UI Library for Vue 3 🤘
https://vuestic.dev
MIT License
3.31k stars 321 forks source link

Color css variables must be rendered on app root element, not body #4233

Open m0ksem opened 4 weeks ago

m0ksem commented 4 weeks ago

I'm using few vue apps on page and both use createVuestic(). Adding styles to body redefine one of the app styles.

m0ksem commented 3 weeks ago

To make sure we don't overflow #app styles with extra CSS styles, we can add id to appRoot, like va-${uid} and generate styles for this class.