mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 22:14:29 +09:00
## Description To enable copy-pasting instances from webflow without creating new breakpoints, we decided to switch by default to the breakpoints webflow uses. User can still switch to mobile-first breakpoints like we had before once we have a new breakpoints editor, but then when copy/pasting from webflow they will get the missing breakpoints added if the copied styles are using those. I had to temporarily hide the breakpoints editor behind a feature flag because we need the new editor to allow editing min or max width, so instead of adjusting this current UI, we need a new one. I think its not a big deal right now to not have the breakpoints editor, webflow never had one. ## Code Review - [ ] hi @TrySound , I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio-builder/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
CSS Engine
This package is designed to render effectively CSS in the format produced by Webstudio Builder. It is using CSS variables for all dynamic parts and can render at runtime as for usage on Live Canvas in the Builder as well as for extracting a fully static style sheet for production.