UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

11 lines (10 loc) 433 B
import { Ref } from 'vue'; import { ColorMode } from '../types/ColorMode'; export declare function getColorModeClass(mode: ColorMode | null): string; export declare function isColorMode(value: unknown): value is ColorMode; export declare function applyColorModeClass(value: ColorMode | null): void; type UseColorMode = { value: Readonly<Ref<ColorMode | null>>; }; export declare function useColorMode(): UseColorMode; export {};