microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Investigate how to deal with CSS coming from multiple locations for the CSS control #79

Open janechu opened 3 years ago

janechu commented 3 years ago

Description

We currently allow CSS to exist as inline styles and inside a <style> tag, this potentially should also allow us to separate out <style> tags into stylesheets, which can be displayed as a separate instance of the Monaco Editor.

This poses a challenge for the CSS control used in the <Form /> as it should understand and modify CSS as an inline style, but also be implemented in a way that will allow for the editing of styles elsewhere.