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

Implement generators #9

Open
6 tasks
hagenburger opened this issue Jul 28, 2013 · 0 comments
Open
6 tasks

Implement generators #9

hagenburger opened this issue Jul 28, 2013 · 0 comments

Comments

@hagenburger
Copy link
Member

Use a Rails like CLI:

  • livingstyleguide generate module "button"
  • Alias livingstyleguide g module "button"
  • Generate _source/css/modules/button.scss
  • Generate _source/css/modules/button.md
  • Add @import "modules/button"; to main SCSS file
  • Or use sass-globbing gem

For the @imports:

  • Scan all source/css/*.s?ss files; ignore filenames containing “styleguide”.
  • Ask “Add import to XYZ.scss [Jn]: _”
  • Add import one line after last import statement in file
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