> For the complete documentation index, see [llms.txt](https://developers.frill.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.frill.co/frill-script/languages.md).

# Configuration

### Themes

Use the `config` command to set the theme all (existing and future) Widgets and Surveys.

```typescript
Frill('config', {
  theme: 'dark' // light, dark, navy, purple
});

// Reset
Frill('config', { theme: null });
```

### Languages

Widgets and Surveys will use the current browser language by default, but you can override the language by specifying one in your config.

```js
window.Frill('container', {
  key: 'YOUR_SCRIPT_KEY',
  language: 'es',
});
```

If your company does not have the specified language it will fallback to the company default.
