---
url: /api/formats/css/src/functions/themedTokens.md
---
[pantoken-root](../../../../index.md) / [formats/css/src](../index.md) / themedTokens

# Function: themedTokens()

> **themedTokens**(`theme`, `options?`): [`Token`](../../../../packages/core/src/interfaces/Token.md)\[]

Beta

Build a theme token set with optional icon removal and light/dark collapse.

## Parameters

### theme

[`Theme`](../../../../packages/core/src/type-aliases/Theme.md)

### options?

#### includeIcons?

`boolean`

#### lightOnly?

`boolean`

#### scheme?

[`Scheme`](../type-aliases/Scheme.md)

## Returns

[`Token`](../../../../packages/core/src/interfaces/Token.md)\[]
