Skip to content

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

Description

@vidhill

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions