JohnCoates / CSSketch

Plugin that adds CSS support to Sketch 3 for a faster design workflow.
MIT License
1.89k stars 97 forks source link

New Feature Request: .scss support #17

Closed j-ordon closed 8 years ago

j-ordon commented 8 years ago

I'd pay for it.

olehmelnyk commented 8 years ago

+1 for SASS/SCSS or even pure css... so we would be able to write with our preferable CSS pre-/post- processors, then generate pure native .css file and attach it to Sketch layouts

JohnCoates commented 8 years ago

Ah, you'd pay for it? Well then... how much would you be willing to pay?

Just kidding, I just added it at no cost 😁

JohnCoates commented 8 years ago

@olehmelnyk pure CSS should have always been working, have you tried it?

olehmelnyk commented 8 years ago

@JohnCoates no, sorry, I'm just starting to learn Sketch and noticed that this plugin works with LESS, so I thought it's {less} only

if pure CSS is working then it's awesome! But I'm guessing that so far not all CSS properties/selectors works, just a few, am I right?

JohnCoates commented 8 years ago

@olehmelnyk No worries. Yes a lot of properties are missing currently. The supported ones can be found here: https://github.com/JohnCoates/CSSketch/blob/master/Readme.md#supported-css

I'm starting an iOS UX kit that I'll be building with CSSketch today, and I plan to add a lot more properties as I build it. Let me know if you have some requests and I'll try to get to them.

olehmelnyk commented 8 years ago

@JohnCoates Great! Waiting for the update with new features support!

I don't have special requests for now, but it would be really great if in future we would be able to attach CSS file from bootstrap / material design / foundation / etc. and by giving proper class names to elements in Sketch get proper styling... I think it's doable but will take a lot of time to implement. But this would be the most epic and killer feature ever made for sure!!!