ProjectEvergreen / greenwood

Greenwood is your full-stack workbench for the web, focused on supporting modern web standards and development to help you create your next project.
https://www.greenwoodjs.io
MIT License
94 stars 9 forks source link

enhancement/issue 1178 support all remaining standard pseudo-class and element selectors for CSS bundling #1239

Closed thescientist13 closed 2 weeks ago

thescientist13 commented 1 month ago

Related Issue

resolves #1178

Summary of Changes

  1. Adds support for bundling these missing pseudo-classes
    • dir
    • host
    • where
  2. Adds support for bundling these missing pseudo-elements
    • ::highlight
    • ::part
    • ::slotted

TODO

  1. [x] bundling gets :host { } and :host() { } confused and adds unexpected parens ()
    :host(){--primary-color:#16f;--secondary-color:#ff7;}
    :host{--primary-color:#16f;--secondary-color:#ff7;}

Opened a discussion about potentially adopting Lightning CSS in a 2.0 version - https://github.com/ProjectEvergreen/greenwood/discussions/1238