Open pkluz opened 7 years ago
The proposed theme.json syntax to support (a set of predefined) functions and variables would require the syntax to change as follows:
theme.json
{ "colors": { "primary": "FF0000", "secondary": "00FF00" }, "fonts": { "default": { "name": "HelveticaNeue", "size": 14.0 } }, "components": { "navBar": { "colors": { "tint": $(primary), "background": $(secondary.brighten(0.2)), "text": "FFFFFF" }, "fonts": { "title": $(default.size(20)) } } } }
Request for Comment @allewun @rweindl @rhenetz
The proposed
theme.json
syntax to support (a set of predefined) functions and variables would require the syntax to change as follows:Request for Comment @allewun @rweindl @rhenetz