Choose Theme
ArekUI v1 ships three themes: light, dark and neobrutalism. Any element can carry the theme - the html element is the usual choice.
1 · Set the attribute
<html data-theme="light"> <!-- default -->
<html data-theme="dark">
<html data-theme="neo"> <!-- neobrutalism -->2 · Or toggle from JavaScript
ARStyle.setTheme("dark");
ARStyle.getTheme(); // "dark"The JavaScript API needs arekui.js - see JavaScript API.
3 · System preference
/* no data-theme set: follow the OS */
@media (prefers-color-scheme: dark) { /* dark applies automatically */ }Falls back to the system preference when no theme attribute is present.
What changes
Colours, shadows and borders are CSS custom properties - the same markup re-themes instantly. The neobrutalism look is a theme, not a component set: see Neobrutalism Theme and Theming.