Skip to content

Search the guides, deployment pages, and API reference.

any

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

A token with no type. Its value is emitted verbatim and its accessor leaf brands as a plain string, which the open-grammar CSS properties accept and the token-mapped longhands still reject.

This exists for CSS values with no DTCG type, such as spin 1s linear infinite and 16 / 9. An untyped token may not be the target of a typed token's reference, because there is no type to check against.

Returns

TokenSchema<"any">

A schema declaring an untyped token