Unfortunately, I usually build out a global style ...
# tornadofx
c
Unfortunately, I usually build out a global style sheet. Have you seen scoped CSS in web frameworks @Ruckus? Is that what you're thinking of ?
I noticed that some frameworks are using scoped CSS. The one I looked at with Vue.js was using name mangling but from the developer's perspective, it looked good. It was an attempt to stop bleeding styles into the global rules. For TornadoFX, this would mean associating a Stylesheet object with a View with a "scoped" flag. This would create addClass() statements with the name mangling prepended.
seems hackish, but you wouldn't have to worry about a global conflict with XYZ888AVCDEF00010123001401_mydialog-background