UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

13 lines (10 loc) 395 B
import {createContext} from 'sanity/_createContext' import type {StudioThemeColorSchemeKey} from '../../core/theme/types' /** * Used to keep track of the internal value, which can be "system" in addition to "light" and "dark" * @internal */ export const ColorSchemeValueContext = createContext<StudioThemeColorSchemeKey | null>( 'sanity/_singletons/context/color-scheme-value', null, )