csstyle icon indicating copy to clipboard operation
csstyle copied to clipboard

make / the default parts symbol

Open geddski opened this issue 9 years ago • 2 comments

A few people have suggested making / the default symbol for parts. For example:

div class="button/icon"

I like this quite a bit. It deviates from BEM a bit more which is fine. It also makes csstyle even more similar to the CLI with directories separated by / (on *nix at least). Only downside is that parts would have to be escaped when accessed with certain JS apis. But parts are probably the least accessed class from JS so I'm cool with the tradeoffs. Going to make this happen soon unless anyone has a good counterargument.

geddski avatar Jun 23 '15 06:06 geddski

I don't like, i really like the default part symbol or maybe something like button.icon but sounds weird.

GesJeremie avatar Jun 23 '15 17:06 GesJeremie

Also I should add that people will still of course have the ability to configure their project to use whatever symbols they like.

geddski avatar Jun 23 '15 20:06 geddski