Replace all fill or text colours matching the selected layer
Switch branches/tags
Nothing to show
Clone or download

readme.md

Sketch Replace Colour

Sketch Replace Colour is a plugin to Find and Replace Fill, Border and Text colours on layers.

By selecting a layer and running Replace Colour (Ctrl + Shift + R) on a selected layer, you will be presented with one of four dialogues.

New! You can now replace hues to change families of colour in one go

When selecting Hue, you can either enter a Hex value, the hue of which will be extracted, or a hue value directly.

Sketch Replace Colour showing new Hue options

Fill only

If the layer only has a fill colour specified, the popup asks for a replacement, and which properties you'd like to update on all other layers (All, Fill, Border, Text or Shadow).

Sketch Replace Colour notifying that fill colour will be selected, and asking for a replacement colour and which properties of other layers to update

Border only

Similar to fill only, the original colour takes the form of a notification, and further information is requested.

Sketch Replace Colour notifying that border colour will be selected, and asking for a replacement colour and which properties of other layers to update

Shadow only

Similar to fill only, the original colour takes the form of a notification, and further information is requested.

Sketch Replace Colour notifying that shadow colour will be selected, and asking for a replacement colour and which properties of other layers to update

Text colour

If the layer is a text layer, its colour will be taken into account. If the text layer also has a fill, this will override the text colour (as it will be the colour you can see). Text layers always have a colour, but may also have a shadow.

Sketch Replace Colour notifying that text colour will be selected, and asking for a replacement colour and which properties of other layers to update

Ambiguous (Fill, Border, Shadow)

If a shape layer has both multiple of fill, border and shadow specified, you will be asked to clarify which you'd like to use.

Sketch Replace Colour requesting clarification for which property to take the initial colour from, and asking for a replacement colour and which properties of other layers to update

Installation

  1. Download and unzip Sketch Replace Colour.
  2. Double click ReplaceColour.sketchplugin for auto installation.

or

Find in SketchToolbox

Like it? Great!

If you find this plugin useful, consider buying me a Pepsi Max (it's just tastier than coffee!)