css.gui uses a lot of complex data structures to represent complex properties like background, gradients, etc. Right now, when initializing these complex editors, the user must provide a valid initial value, which can get quite complex. To alleviate this, I can think of two interrelated ideas:
When the user uses a complex input (e.g. <Inputs.Background />, a valid default style should be initialized
The user should be able to specify initial values using pure css (e.g. box-shadow: 1px 2px 3px 4px black) which will be parsed to css.gui's internal spec
css.gui uses a lot of complex data structures to represent complex properties like background, gradients, etc. Right now, when initializing these complex editors, the user must provide a valid initial value, which can get quite complex. To alleviate this, I can think of two interrelated ideas:
<Inputs.Background />
, a valid default style should be initializedbox-shadow: 1px 2px 3px 4px black
) which will be parsed to css.gui's internal spec