Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swiadek/pixel-perfecter-sketch-plugin

Pixel Perfecter helps you find pixel imperfect layers in your documents.
https://github.com/swiadek/pixel-perfecter-sketch-plugin

Last synced: 3 months ago
JSON representation

Pixel Perfecter helps you find pixel imperfect layers in your documents.

Awesome Lists containing this project

README

        

# Pixel Perfecter

This is a _very_ simple Sketch plugin that helps you find layers that have float (pixel imperfect) `X`, `Y`, `width` or `height` properties. It will help you keep your documents cleaner, and keep your design specs tight.

There are two functions available in the plugin:

## Select All Pixel Imperfect Layers

This will select all pixel imperfect layers in your current document, and show you a count of them. You can then use the `Fix Selected Pixel Imperfect Layers` function in Pixel Perfector to deal with them. It's also helpful just to know how many of those pesky layers hide throughout your document.

The keyboard shortcut for this function is alt + command + P

![](readme-all.gif)

## Select One Pixel Imperfect Layer

This will select only one pixel imperfect layer in your current document. It's helpful to quickly go through all the bad layers, dealing with them on an individual basis. Calling up this function repedately will cycle through the bad layers. You can then use the `Layer → Round to Pixel` function in Sketch to deal with them.

The keyboard shortcut for this function is
ctrl + alt + command + P

![](readme-one.gif)

## Fix Selected Pixel Imperfect Layers

This will fix all selected pixel imperfect layers in your current document, and show you a count of those affected. It will ask you for the desired granularity:

- `1.0` will round to nearest full pixels
- `0.5` will round to nearest half pixels
- `2.0` will round to nearest double pixels

The keyboard shortcut for this function is ctrl + alt + command + shift + P