half-light icon indicating copy to clipboard operation
half-light copied to clipboard

Small library for experimenting with ways to tame Shadow DOM in CSS

Results 6 half-light issues
Sort by recently updated
recently updated
newest added

Currently, half-light makes a few important decisions on how it works.... 1. It uses a `@media` rule to keep everything valid and useable from CSSOM. This saves re-fetching or re-parsing...

While half-light does a great job at handling the use case of sharing page styles with all nested custom elements I think there's a use case that isn't addressed at...

Very minor but I believe the media query regex can be simplified to `/--crossroot\(?([^)]*)/`

While you could argue that what half-light does this would be best as it's own `{ mode: 'open-styleable' }` or `OpenStyleableElement` base class or something, I didn't do that intentionally,...

CSSOM doesn’t work with cross-origin stylesheets. Not really anything useful that can be done about it (one can fetch it and create the sheet manually to parse, but that’s slow),...

Please leave an emoji reaction to this comment to let me know how you feel about this repo's solution as a shape of solving some use cases for ["open-stylable" Shadow...