---
url: /api/reference/wxt/interfaces/ThemeIcon.md
---

[API](../../packages.md) / [wxt](../index.md) / ThemeIcon

# Interface: ThemeIcon

Source: [packages/wxt/src/types.ts:853](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L853)

Firefox theme icon definition for light/dark mode support.

## Contents

* [See](#see)
* [Properties](#properties)
  * [dark](#dark)
  * [light](#light)
  * [size](#size)

## See

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser\_action#theme\_icons

## Properties

### dark

> **dark**: `string`

Source: [packages/wxt/src/types.ts:857](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L857)

Path to the icon shown when the browser uses a dark theme.

***

### light

> **light**: `string`

Source: [packages/wxt/src/types.ts:855](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L855)

Path to the icon shown when the browser uses a light theme.

***

### size

> **size**: `number`

Source: [packages/wxt/src/types.ts:859](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L859)

Icon size in pixels.

***

Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)
