Skip to content

Search the guides, deployment pages, and API reference.

duration

import { duration } from "@pitlane/theme/schema";
function duration(): TokenSchema<"duration">;

A duration token. Accepts ms, s, and calc().

Returns

TokenSchema<"duration">

A schema declaring the duration token type