Site design
Light and dark mode
How a Siteho website shows in light and dark: the theme's two palettes and default, the visitor's own choice, the theme toggle, dark styles per element, and each studio's dark colors.
How it works
- Two palettes
- The theme has a light and a dark palette. Generate both makes them together; edit each in the Theme Studio's Colors.
- The default
- Default appearance Light or Dark. With Follow the visitor's device on, a first-time visitor sees the mode their device prefers.
- The visitor's choice
- A Theme Toggle on the page lets visitors switch. Their browser remembers the choice on later visits.
Letting visitors switch
- The element
- Basic Elements › Interactive › Theme Toggle: 8 styles, see Shapes, icons and the theme toggle.
- In the header
- The Header Studio's Buttons tab › Theme toggle puts one in the header, and can move it into the mobile menu.
An element's own dark look
- Switch the builder's preview to dark with the moon in the area switcher.
- Select the element and change its colors: in dark preview, changes go into its dark mode styles, used on every device while dark mode is on.
- Switch back to light: its light look is untouched. More actions › Clear dark mode styles removes them.
Dark colors in the studios
- Colors in dark mode
- Most studios have it: Same (looks the same), Theme (every color from the theme, in both modes) or Custom (pick the dark colors yourself).
- Background Studio
- Light and Dark are two separate designs.
- Header and loading screen
- Follow theme colors, or Pull colors from Theme and set each dark color.
- Previewing
- The studios' sun and moon switch is the builder's own: switching inside a studio switches everywhere.
A dark-mode checklist
- Open every page in dark preview, on desktop and on a phone.
- Check the Theme Studio's Colors & contrast in the dark palette: no pair marked Low.
- Look at pictures with transparent edges and logos: give them a dark version or a light card behind them.
- Check the header, footer, overlays and forms, which have their own dark settings.
Worked example: A logo that works in both modes
- Upload your logo as an SVG and add it as an Icon: it takes the text color, so it turns light in dark mode by itself.
- Or use two images. On the light logo, switch to dark preview and set Display to Hidden in the Styling Studio's Layout tab. On the dark logo, set Display Hidden in light and Block in dark.