Skip to content

Search the guides, deployment pages, and API reference.

stroke

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

A strokeStyle token, named for the CSS value it holds. Accepts a line-style keyword.

Returns

TokenSchema<"strokeStyle">

A schema declaring the strokeStyle token type