๐๐๐ฎ๐ป๐ฒ๐ฅ๐๐๐ด๐ป๐บ๐ธ on Nostr: > Global CSS doesnโt bleed into the shadow DOM (which is the point), but that means ...
> Global CSS doesnโt bleed into the shadow DOM (which is the point), but that means that your design system can now no longer benefit from having a global CSS file or take advantage of the cascade.
> Each item is its own discreet thing, so youโre repeating your styles a lot more across each one with shared design aspects.
This feels kinda strawmanny to me. Multiple ShadowDOMs can include the same CSS file.
https://gomakethings.com/design-systems-are-bad-use-case-for-the-shadow-dom-in-web-components-actually/
#webComponents #shadowDOM #webDev #css #frontend
> Each item is its own discreet thing, so youโre repeating your styles a lot more across each one with shared design aspects.
This feels kinda strawmanny to me. Multiple ShadowDOMs can include the same CSS file.
https://gomakethings.com/design-systems-are-bad-use-case-for-the-shadow-dom-in-web-components-actually/
#webComponents #shadowDOM #webDev #css #frontend