by c_s_guy · 2y ago · 0 comments
Say you have a component library where each component depends on a base set of styles and you don't want to load duplicate styles for each component.
Is there a best practice around this yet?
https://lit.dev/docs/components/styles/#inheriting-styles-fr...
https://lit.dev/docs/components/styles/#sharing-styles
Already quite some time ago I made a little library which makes this easy: