Aggarly Platform uses CSS variables for theming. Tokens are generated from a single source of truth and applied at runtime using [data-theme="light"] and [data-theme="dark"].
The theme switcher controls the data-theme attribute on the document root. All components respond automatically.
Themes are applied by setting the data-theme attribute. No component-level theming logic is required.
<html data-theme="dark">
...
</html>[data-theme="dark"] {
--ds-color-bg-page: #020617;
--ds-color-text-main: #e5e7eb;
}