Integrate Avocode web app with Atom to inspect Photoshop & Sketch designs inside your text editor and to get code suggestions from layer styles.
What is Avocode?
Avocode is a tool for designers and developers to share, open and inspect Photoshop & Sketch designs. It works on the web and has also an offline desktop app for macOS, Windows, & Linux. It comes with a 14 day free trial, no credit card required. We would like to show you a description here but the site won’t allow us.
The latest tweets from @avocode. Get the latest updates and news about Avocode – the best way for designers and developers to work more efficiently. Read writing from Avocode on Medium.
Avocode is a tool for designers and developers to share, open and inspect Photoshop & Sketch designs. It works on the web and has also an offline desktop app for macOS, Windows, & Linux. It comes with a 14 day free trial, no credit card required. To try it out, please start your trial here: https://avocode.com/signup
Features:
- View design inside your text editor
- Click on a layer and get code suggestions
- Measure sizes and distances in pt, px, dp and rem
- Export layers and design slices as PNG, SVG, WebP, & JPEG images
- Press CMD/CTRL + SHIFT + V to import a whole code snippet of a particular layer
How does it work?
- Press CMD/CTRL + SHIFT + P and type in 'avocode' and choose how you want to open Avocode inside you Atom editor.
Click on a layer and the CSS displays in the Avocode code panel on the left.
Click back to your CSS style sheet and type for either a name of the selector or a specific property like width, you’ll get a suggestion which you can autocomplete by hitting Enter.
Press CMD/CTRL + SHIFT + V to import a whole code snippet of a particular layer.
Supported code languages:
Less, Sass, Less, SCSS, Stylus, React Native, CSS in JS, Styled Components, Swift, and Android.
Avocado Toast
Set code language you want to export
Click the cog wheel icon in the code panel (on the right) and select your preferred language.
Avocodes
To customize the code output (reorder code lines and hide properties) please read this article.