---
title: "stroke"
description: "A `strokeStyle` token, named for the CSS value it holds. Accepts a line-style keyword."
url: "https://pitlane.tools/package/theme/schema/function/stroke"
---

# stroke

```ts
import { stroke } from "@pitlane/theme/schema";
```

```ts
function stroke(): TokenSchema<"strokeStyle">;
```

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

## Returns

[`TokenSchema`](https://pitlane.tools/package/theme/schema/interface/TokenSchema.md)\<`"strokeStyle"`>

A schema declaring the `strokeStyle` token type
