Icons in colour: tiles, gradients and a touch of shine

Give navigation and call-to-action icons a consistent visual treatment, with optional colour, tiles and motion.

By Darryl Waterhouse · · 3 min read

A small set of consistent icons can help distinguish service links or actions. These options let you give them a shared tile and colour treatment in the editor. Keep text labels clear and check reduced-motion behaviour; decoration alone does not demonstrate better navigation.

Rows of icons in coloured tiles: different shapes and sizes, gradient tiles with a band of light crossing them, and icons drawn in a gradient with no tile

Where you will find it

Wherever Domma CMS offers you an icon, it now offers a tile too:

  • In a page. The [icon] tag, and every tag that carries an icon: buttons, links, cards, tabs, events, banners and calls to action. The editor's forms show the tile choices beside the icon, so you rarely need to type them.
  • In your menus. Each menu item in Content > Menus has a Tile tick, with a tile colour, gradient and shine. It works wherever the item is drawn: the bar, dropdowns, the footer, a menu inside a page, even the admin sidebar.
  • Elsewhere. Right-click menu items, launchers and a project's sidebar icon have the same choices.

How it works

A tile has four choices:

  • Colour. Your theme's colour, a ready-made one (success green, warning amber and so on) or any colour you like.
  • Shape. Rounded, circle, square, or a soft "pillowy" square.
  • Size. Small, medium or large. The icon keeps its own size; the tile just gives it more or less room.
  • Gradient and shine. Fill the tile with any of the gradients the [text] tag uses, then add a shine: a band of light that crosses when someone points at it, or sweeps across by itself every few seconds.

Leave the tile off and keep a gradient, and the icon itself is drawn in the gradient, with the shine running along its lines.

In a page, it looks like this:

[icon name="gift" tile gradient="ocean" shine="sweep" /]
[icon name="heart" tile tile-colour="#e11d48" tile-shape="circle" /]
[button href="/book" icon="calendar" icon-tile icon-shine="hover"]Book a visit[/button]

You can tile items one at a time, or do the whole menu at once. In Content > Menus, open a menu and go to Behaviour > Icon tiles, gradient & shine. Tile every icon gives each item's icon a tile: a rainbow of colours, your theme's colour, or a calm neutral. The same section adds gradient lettering to the labels and a shine that follows the pointer along each one.

A menu in a page where every item has a tiled icon, beside two buttons with tiled icons

Any item can still opt out, or choose its own colour. A menu can also have its own bar and text colours: see Menus in your own colours.

New this week: launchers that shine

Launchers are the round buttons and pills that float in a corner of your site to open a page, a form or a chat. From Domma CMS 1.94.0 they can shine too. In Content > Launchers, open a launcher and choose a Shine: When pointed at, or Every few seconds for a gentle sweep that draws the eye to "Book a visit" without shouting. It is off by default.

A purple "Book a visit" launcher in the corner of a page, with a band of light crossing it

Good to know

  • Nothing changes on your existing pages or menus until you choose a tile, gradient or shine.
  • Visitors who have asked their device for less motion see the tiles and gradients standing still. No sweep, no shine.
  • You choose from set colours, shapes and gradients (or your own colour code), so you can preview a defined set of presentation choices.

Try it

Open a page in the editor and insert an icon or a button with an icon, then tick its tile. Or open Content > Menus, pick a menu and try Tile every icon. If you like the moving highlights, the [text] tag does the same for words: see Card menus, a showcase footer and text that moves.