pattern-lab / styleguidekit-assets-default

The static assets for the default StyleguideKit for Pattern Lab. Contains styles and mark-up for Pattern Lab's front-end.
http://patternlab.io/
MIT License
35 stars 67 forks source link

More specific typeahead classes? #50

Closed giofilo closed 7 years ago

giofilo commented 8 years ago

Hi all,

I'm using Twitter Typeahead in my project. But the css classes in the styleguide are conflicting with my custom styles.

https://github.com/pattern-lab/styleguidekit-assets-default/blob/master/src/sass/styleguide.scss#L587

I would suggest to write or indent the css classes with the"sg-" prefix.

Thank you!

bradfrost commented 7 years ago

Pattern Lab's instance of Typeahead is now wrapped in .pl-c-header to avoid collisions with user projects.