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

Is there something specific that needs to go in the markdown document? #8

Open
adamjgrant opened this issue Aug 6, 2014 · 2 comments

Comments

@adamjgrant
Copy link

I don't see any documentation from this from kss, kss-node, or gulp-kss.

Currently, I see the styleguide, but my comments don't find my way into it. I assume I need to declare something in my markdown that says "styleguide" and the version so it will trigger the right comments?

@willpracht
Copy link

KSS documentation is terrible.

Essentially the styleguide.md is your Overview page.
From there you have your stylesheet comments:

// Buttons
//
// A majority of buttons in the site are built from the same base class.
//
// Markup:
// <a href="#" class="button {$modifiers}">Link Button</a>
// <button class="button {$modifiers}">Button Element</button>
// <input type="button" class="button {$modifiers}" value="input[type='button']"/>
//
// .primary             - Indicate that the button is the primary feature of this form.
// .remove              - Indicate that the button will remove a feature, or other negative connotations.
// :hover               - Highlight the button when hovered.
// :disabled            - Make the button change appearance to reflect it being disabled.
// :active              - "Press" the button down when clicked.
//
// Styleguide 1.1
a.button.primary {
  color: blue;
}
a.button.remove {
  color: red;
}
a.button:hover {
  color: gray;
}

Here's some more help: https://stackoverflow.com/questions/10418387/setting-up-knyle-style-sheets-and-or-kss-node/23117663#23117663

@adamjgrant
Copy link
Author

Thank you.

Adam Kochanowicz

2014-08-27 11:49 GMT-04:00 Will Pracht [email protected]:

KSS documentation is terrible.

Essentially the styleguide.md is your Overview page.
From there you have your stylesheet comments:

// Buttons
//
// A majority of buttons in the site are built from the same base class.
//
// Markup:
// Link Button
// Button Element
//
//
// .primary - Indicate that the button is the primary feature of this form.
// .remove - Indicate that the button will remove a feature, or other negative connotations.
// :hover - Highlight the button when hovered.
// :disabled - Make the button change appearance to reflect it being disabled.
// :active - "Press" the button down when clicked.
//
// Styleguide 1.1
a.button.primary {
color: blue;
}
a.button.remove {
color: red;
}
a.button:hover {
color: gray;
}

Here's some more help:
https://stackoverflow.com/questions/10418387/setting-up-knyle-style-sheets-and-or-kss-node/23117663#23117663


Reply to this email directly or view it on GitHub
#8 (comment).

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