straker / livingcss

Parse comments in your CSS to generate a living style guide using Markdown, Handlebars, Polymer, and Prism syntax highlighter.
MIT License
241 stars 21 forks source link

no polymer #78

Open straker opened 4 years ago

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 97.994% when pulling 467e1fa2f69e63b534e9b9de95ad6190390eb1d2 on noPolymer into ae6ad3f4da9dfaa7e71c59cad9622eb46b2caa2a on master.

straker commented 4 years ago

@phun-ky alright, so I'm back at this again during the holiday break and wondering what the performance of your styleguide is if I completely remove Polymer. Almost all major browsers support Web Components and Shadow DOM now, with Edge being the last one and it will get it as soon as it upgrades to the Chromium engine. So I'm able to just use native Shadow DOM to make this work.

phun-ky commented 4 years ago

Actually, I removed polymer myself, and just using scoped CSS. Works like a charm for my usage. Will see if I can test that branch nevertheless. Happy new year!  null

straker commented 4 years ago

Oh nice, I didn't know browsers were still supporting that. In that case can I close #71? It was proving difficult trying to get it to work anyway.

phun-ky commented 4 years ago

I'm not using CSS scope, I just prefix the style guide styles with:  .sg (short for styleguide) and the design system have their own prefix, so styles won't cascade ;)  null