You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[jsst] A CSS string format which compiles to jss JSON #220
Reacted by Joe Pea, Aleksey Imuzov, Maxim Koretskiy, Mark D'Arensbourg, Teo, Reinaldo Schiehll, Eric Bartels, Denis Izmaylov, David Rodriguez Souto and Sergey
Activity
[-][template-jss] A new format which compiles to jss JSON[/-][+][jsst] A new format which compiles to jss JSON[/+]kof commentedon Apr 23, 2016
cc @mr-mig @maximkoretskiy @tyv
[-][jsst] A new format which compiles to jss JSON[/-][+][csst] A new format which compiles to jss JSON[/+][-][csst] A new format which compiles to jss JSON[/-][+][jsst] A new format which compiles to jss JSON[/+]mr-mig commentedon Apr 23, 2016
Sehr gut!
But I am a bit embarrassed by this one:
extend: ${[fonts.normal, mixins.ellipsis]};kof commentedon Apr 23, 2016
Suggestions?
mr-mig commentedon Apr 23, 2016
@kof seems quite logical, tbh. Just a matter of personal preference.
It should be like that anyway - a reference to JS objects.
[-][jsst] A new format which compiles to jss JSON[/-][+][jsst] A CSS string format which compiles to jss JSON[/+]kof commentedon Nov 3, 2016
We should take an example from styled-components, but preprocess those tagged literals serverside and convert to jss json.
DenisIzmaylov commentedon Feb 18, 2017
It could be implemented as:
Also then push this package to language-babel plugin for syntax highlight in Atom:
DenisIzmaylov commentedon Feb 18, 2017
We could get some inspiration here:
https://github.com/styled-components/styled-components/blob/master/docs/tagged-template-literals.md
https://github.com/styled-components/styled-components/blob/master/docs/css-we-support.md
And use this modules:
https://github.com/styled-components/styled-components/blob/master/src/vendor/postcss-safe-parser/parse.js
https://github.com/styled-components/styled-components/blob/master/src/models/ComponentStyle.js#L36
DenisIzmaylov commentedon Feb 18, 2017
Also we have to keep in mind this thread: https://github.com/geelen/css-components-demo
DenisIzmaylov commentedon Feb 18, 2017
I'm not sure if it's OK, but if yes - we could implement it in this way:
trusktr commentedon Mar 20, 2017
Wow, preJSS looks awesome!
kof commentedon May 14, 2017
I think we can close this and go with preJSS