free-site-builder icon indicating copy to clipboard operation
free-site-builder copied to clipboard

[✅ASSIGNED] Move Styling outside JS Code

Open app-generator opened this issue 2 years ago • 0 comments

STATUS: ASSIGNED to @umarali


Context

In order to respect the SPECS and make the builder decoupled from the UI that it manages, the codebase needs the following enhancements:

  • remove hardcoded style
  • Isolate the CSS in style.css

If the builder needs to load and apply rules during runtime, this needs to be done from external (small) CSS files with suggestive names:

  • preview.css
  • whatever.css

Having this separation, we can easily apply the required changes when the builder is used in other kits.

TY!

app-generator avatar Jul 29 '23 06:07 app-generator