wix / stylable

Stylable - CSS for components
https://stylable.io
MIT License
1.27k stars 62 forks source link

Mixin reference should describe how mixins are defined #70

Closed VKobeliatsky closed 6 years ago

VKobeliatsky commented 7 years ago

Currently, looking at mixins reference page one cannot find how are they defined and parametrized (mixins with parethesis). Variants page gets this right, both usage and definition are described well. Would be nice to have the same structure for mixins page, too.

idoros commented 7 years ago

I hope javascript mixins will be a last resort kinda-thing. Most content of variants should actually be part of the mixins page, and There should be a guide explaining javascript mixins and when to resort to them.

tomrav commented 6 years ago

Resolved in https://stylable.io/docs/references/mixins#javascript-mixins If you find anything missing, let us know.