Skip to content

Conversation

@benedfit
Copy link
Contributor

@benedfit benedfit commented Jun 7, 2013

Basic feature to traverse /css/scss folder structure and find SASS variables prefixed '$bp-', then render as a 'Phases' tab in the menu bar, using remainder of variable name and value for control e.g. $bp-small become SMALL > 24em

Basic support provided for detecting whether px or em value has been specified.

TODO:

  • Provide configuration to allow user to set pattern to match variable name on.
  • Possibly order the options based on size rather than order of declaration
  • Confirm this works with .sass as well as .scss
  • Deal with other browser units of measure

@dmolsen
Copy link
Collaborator

dmolsen commented Jun 7, 2013

I'll let @bradfrost merge this if he feels it fits the project but it looks really cool. I saw the blog post and I'm glad you're hacking on the project. It's a really fantastic idea. I'm going to merge it with the stuff I've developed as an expansion on Brad's ideas.

@bradfrost
Copy link
Owner

I'm going to give this a shot. Seems interesting!

bradfrost pushed a commit that referenced this pull request Jun 18, 2013
Initial 'Phases' implementation finding SASS variables prefixed $bp-
@bradfrost bradfrost merged commit 9a1d940 into bradfrost:master Jun 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants