---
url: /api/platforms/canvas-theme-editor/src/functions/buildTheme.md
---
[pantoken-root](../../../../index.md) / [platforms/canvas-theme-editor/src](../index.md) / buildTheme

# Function: buildTheme()

> **buildTheme**(`options?`): `object`

Alpha

Build both theme.css and theme.js for the given provider/asset selection.

## Parameters

### options?

[`BuildThemeOptions`](../interfaces/BuildThemeOptions.md) = `{}`

## Returns

`object`

### css

> **css**: `string`

### js

> **js**: `string`
