Skip to main content

THEME_ATTRIBUTE

The attribute on the root element that carries the resolved theme.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { THEME_ATTRIBUTE } from "@mapcairn/core";

THEME_ATTRIBUTE = "data-theme"

Source: packages/core/src/theme/themeConstants.ts:9