by thieu96 · 4y ago · 0 comments
Any third party library or component you use will be affected by "classless". There's a good reason explicitly define classes.
It's the same reason you don't change native prototypes in Javascript. Libraries assume the defaults, both for styling and code.
So instead of a component assuming, it needs to be pointed to the tag you, as developer/designer, require - perhaps via a config parameter. Interesting comment about using SASS to namespace, but then the elegant simplicity of these stylesheets starts to get chipped away IMHO.
I only have a handful of HTML pages with a bit text and code. Nothing fancy.
My main goal is to keep all code in the HTML files with as little boilerplate as possible.