static-dev / axis

terse, modular & powerful css library
http://axis.netlify.com
Other
320 stars 45 forks source link

Variable syntax update #209

Closed dbox closed 9 years ago

dbox commented 9 years ago

per #201

Don't merge this guy until #206 has been merged and we push a release with those updates. (0.4.3).

Putting this here so others can pull down and test, as I pretty much touched everything. Needless to say I spent a lot of time staring at the testing screen.

This proved to me that variables absolutely must start with $. It's just too hard to decipher whats going on without it, especially variable names that end up being css attributes too. color width and font-size were SO not my friends.

So, it's passing all test and everything looks good in visual.html. Not really sure how else to test it further without bringing it into a project.

I was thinking this needed to get rolled into one big update with "dropping nib", but now I realize we have to do this in steps – also because I have some more features I'd like to add, and want to move forward with the new syntax on all additions.

I'll address next steps in an issue thread.

Thnx!