@kahi-ui/framework
Version:
Straight-forward Svelte UI for the Web
17 lines (16 loc) • 551 B
TypeScript
import type { DelimitEnum, LiteralEnum } from "./util";
/**
* Represents viewport tokens that can be applied to Framework Components
*/
export declare enum TOKENS_VIEWPORT {
mobile = "mobile",
tablet = "tablet",
desktop = "desktop",
widescreen = "widescreen"
}
/**
* @private
*/
export declare type BreakpointEnum<Values extends string> = DelimitEnum<TOKENS_VIEWPORT, Values>;
export declare type PROPERTY_VIEWPORT = LiteralEnum<TOKENS_VIEWPORT>;
export declare type PROPERTY_VIEWPORT_BREAKPOINT = BreakpointEnum<TOKENS_VIEWPORT>;