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

Styleguide is generated but without any style #21

Open
ethyde opened this issue Apr 20, 2014 · 2 comments
Open

Styleguide is generated but without any style #21

ethyde opened this issue Apr 20, 2014 · 2 comments

Comments

@ethyde
Copy link

ethyde commented Apr 20, 2014

Hi ! :)
I have a question about how to use this grunt plugin : when i generated the styleguide, everything work but there is no style applied to.
In the less file :

//
// @name Button
// @description Your standard form button.
//
// @state :hover - Highlights when hovering.
// @state :disabled - Dims the button when disabled.
// @state .primary - Indicates button is the primary action.
// @state .smaller - A smaller button
//
// @markup
// <button>This is a button</button>
//
button {
  padding: 5px 15px;
  line-height: normal;
  font-family: "Helvetica Neue", Helvetica;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  text-shadow: 0 1px rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  border: 1px solid #ddd;
  border-bottom-color: #bbb;
  background: #f5f5f5;
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='$start', endColorstr='$end');
  background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
  background: -moz-linear-gradient(top, #f5f5f5, #e5e5e5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

My grunt task whas :

dss: {
    docs: {
        files: {
            '<%= meta.filesRoute.doc %>/styleguide/dist/': ['<%= meta.filesRoute.less %>/base.less']
        }
    }
}

and the result in the console :

Running "dss:docs" (dss) task
✓ Styleguide overwrited at: src/Bundle/FrontendBundle/Resources/doc/styleguide/dist/

Done, without errors.

But result styleguide :
2014-04-20_123956

Thanks for your help !

@MoOx
Copy link
Contributor

MoOx commented Apr 20, 2014

Probably the biggest issue, related to #15

@ethyde
Copy link
Author

ethyde commented Apr 21, 2014

Oh yes, ok, why not ! It's not a real problem, but i think it's was a good idea to explain that in README. :)

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

No branches or pull requests

2 participants