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

Incorrect description for palette.CSS usage #14

Open
4D44H opened this issue Oct 16, 2017 · 0 comments
Open

Incorrect description for palette.CSS usage #14

4D44H opened this issue Oct 16, 2017 · 0 comments

Comments

@4D44H
Copy link

4D44H commented Oct 16, 2017

Hi,
it seems the description README.md, section about CSS shows incorrect pattern and usage example for the CSS version:

  • The class name in the example mentions classes with "-Secondary" at the end

  • Actual classes inside the palette.css do not have that suffix (except for Black and White)

  • Description example:

<div class="palette-Light-Blue-700-Secondary bg">
  The background is Light Blue
  The text is White
</div>
  • Palette.css declarations:
.palette-Light-Blue-700.bg {
  background-color: #0288D1;
}
.palette-Light-Blue-700.text {
  color: #0288D1;
}
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

1 participant