XF 1 CTA Extra Colours 1.0.0

Description
This is a very simple add-on which adds 20 new properties to the Color Palette.
They can be used in Style Properties, templates and Page nodes, avoiding the need to use hard-coded values when using colours in addition to those available in the default Color Palette.

Installing
There is nothing to upload, just unzip and install addon-CTA_ExtraColours.xml via the ACP.

Using
The new properties will appear at the bottom of the palette, as shown in the following screenshot.

CTAExtraColours.png


Just click on a colour as normal to modify it.
The colours can then be selected throughout the Style Properties in the normal manner, or if using EXTRA.css or another template, the colour name takes the form @CTAExtraColour1, @CTAExtraColour2 and so on.

Uninstalling
To uninstall, use the controls on the Installed Add-ons page and select Uninstall.
Any Style Properties which were set to use one of the extra colours will revert to the original default setting. Any templates utilising the properties will have to be manually updated.
 
Back
Top