Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make json2css generic #25

Open
twolfson opened this issue Apr 4, 2014 · 0 comments
Open

Make json2css generic #25

twolfson opened this issue Apr 4, 2014 · 0 comments

Comments

@twolfson
Copy link
Owner

twolfson commented Apr 4, 2014

Instead of being specific to spritesmith's needs with functions and our sprite mixins. Let's attempt to make this generic:

json2css({
  github: {
    x: '20px'
  }
});

/*
$github-x: 20px;
*/

A good example case for this would be sharing CSS transition values between JS and CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant