UNPKG

@atlaskit/tokens

Version:

Design tokens are the single source of truth to name and store design decisions.

7 lines (6 loc) 292 B
import { type ThemeState } from '../theme-config'; /** * Given ThemeState, sets appropriate html attributes on the documentElement, * adds a listener to keep colorMode updated, and returns a function to unbind. */ export default function configurePage(themeState: ThemeState): () => void;