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

Query, get css/sass/less source associated with a comment block #72

Open
vidhill opened this issue Feb 2, 2016 · 0 comments
Open

Query, get css/sass/less source associated with a comment block #72

vidhill opened this issue Feb 2, 2016 · 0 comments

Comments

@vidhill
Copy link

vidhill commented Feb 2, 2016

Is it possible to get the source associated/that follows a comment block e.g.

If I wanted to have my colour variables in a sass file:

//
// @name Variables
// @description Variables in my style guide
// 
// 

$colour1: #FFF;
$colour2: #EEE;
$colour3: #666;

If I wanted to get as json representation of my the actual hex values (to output in my style guide) how would I go about this?

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

2 participants