This is a copy of an early attempt to imagine an implementation of 'style properties' in Svelte, as described in this RFC. It is preserved here to satisfy curiosity, or in case we hate the new one.
Style properties — handily distinguishable from regular properties by the leading --
used by CSS custom properties — are passed down to components through a separate channel. The example at the top of this RFC might be converted to the following JavaScript:
const slider = new Slider({
props: {
value: ctx.value,