Skip to content

Pressed links and a dark-mode favicon

Style a link while it is pressed, and give the site another favicon for visitors whose device is set to dark.

1 min readENFRNLDE
On this page 2 sections

Links in a text style have a look for each state.

  1. Open Assets and select a text style under Text styles.
  2. In the Links group, choose a state: Default, Hover, Pressed or Current page.
  3. Set the colour and the underline for it.

Pressed shows while a visitor presses the link, with a mouse button or a finger. It also applies to a link that is hovered, and to the link of the current page.

A favicon for dark mode

A dark browser tab can make a dark favicon hard to see. Give the site a second one.

  1. In the site menu, choose SEO….
  2. Choose an image for Favicon, and another for Favicon in dark mode.

Browsers pick one by the visitor's device:

  • With both favicons, each device gets its own.
  • A site set to always dark only uses the dark one, and a site set to always light only the light one.
  • A site with only a dark favicon shows it on every device.
  • The icon for the iPhone home screen is the light favicon, when there is one.

You can ask the AI to set either favicon.