# 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.
