Skip to content

API > wxt > ThemeIcon

Interface: ThemeIcon

Firefox theme icon definition for light/dark mode support.

Contents

See

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action#theme_icons

Properties

dark

dark: string

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

Source

packages/wxt/src/types.ts:659


light

light: string

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

Source

packages/wxt/src/types.ts:657


size

size: number

Icon size in pixels.

Source

packages/wxt/src/types.ts:661


Generated using typedoc-plugin-markdown and TypeDoc