Hi Harbs, if I understand the issue correctly this not seems a Royale issue to me, but a problem in Spectrum CSS structure design. In Royale, we provide CSSs to the compiler from libraries, and that generate just one compiled CSS file. User's project CSS takes precedence over framework libraries, so if a user override a style, that wins over the royale one. Since load an external CSS is outside the Royale sandbox, I think the loaded CSS should solve its problem to not have collision problems within them.
El mié., 12 feb. 2020 a las 10:04, Harbs (<[email protected]>) escribió: > I’ve run into an interesting issue while working on the Spectrum > components.[1] > > To quickly summarize: > > I’m using inject_html to automatically add CSS links to the index.html > file. Doing so gives no control over the order of said dependencies. > > The CSS files are required to be loaded in the declared dependency list > (in the npm package). > > I think we need to resolve this issue somehow and I’m not sure of the best > way to go about it. > > Thoughts? > Harbs > > [1]https://github.com/adobe/spectrum-css/issues/481 < > https://github.com/adobe/spectrum-css/issues/481> -- Carlos Rovira http://about.me/carlosrovira
