Skip to content

Theme builder

Choose an accent for light and dark, set the grid unit, check the contrast and copy the CSS.

Studio invoice

Open

Amount due

CHF 840.00

Due

Studio invoice

Open

Amount due

CHF 840.00

Due

Text contrast

WCAG AA requires 4.5:1 for normal text. A button label switches to black when white falls below that threshold.

CheckLightDark
Button label on accent4.63:1 · Pass6.58:1 · Pass
Accent text on background4.63:1 · Pass6.58:1 · Pass

Copy the theme

Load after Alpina’s stylesheet. Set data-al-theme to light, dark or auto on your container.