What is Nostr?
๐Ÿ„๐ŸŒˆ๐ŸŽฎ๐Ÿ’ป๐Ÿšฒ๐Ÿฅ“๐ŸŽƒ๐Ÿ’€๐Ÿด๐Ÿ›ป๐Ÿ‡บ๐Ÿ‡ธ /
npub1j52โ€ฆjsn5
2024-07-03 01:54:59

๐Ÿ„๐ŸŒˆ๐ŸŽฎ๐Ÿ’ป๐Ÿšฒ๐Ÿฅ“๐ŸŽƒ๐Ÿ’€๐Ÿด๐Ÿ›ป๐Ÿ‡บ๐Ÿ‡ธ 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
Author Public Key
npub1j5203u6ym5cf89h0xm4feezxxvt9cf6jcdwtn3fvq9zw4rs54rqq6cjsn5