mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-02 18:18:35 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/2647 We need to support more grouping properties in parsed css for example breakpoints would require additional nesting. Here I took slightly different approach and moved all styles into single array with additional `selector` property. Now we can easily support parsing styles without selectors and parsing styles without breakpoints. And optionally we can always use `Map.groupBy(styles, styleDecl => styleDecl.selector)` and the same later by breakpoint.
CSS Data
Generated configs and collections from mdn-data into consumable form.