You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking about picking this. However, not sure if a postprocessor will help. It should be svelte that writes the css, don't you think? Once svelte compiles our code, we won't be able to go back in add the styling. Thoughts?
Thought about this issue and I see changing the text selector to QLabel webpack output makes the css work. I think we can write a webpack loader to parse the output that Svelte produces and make necessary changes.
This is possible, as long as you don't write it into a <style> element (Svelte compiles it out, as it finds no element in your HTML tree):
This would be preferred, as we use elements with names like :
To achieve this, we'd need to implement a Svelte postprocessor that renames
text
to the corresponding underlying component, i.e.QLabel
.We could work around this using global styles, with the natural caveat that they would be unscoped. For now, the best we can do is:
The text was updated successfully, but these errors were encountered: