theme

Enables browser extensions to update the browser theme.

To use this API, an extension must request the "theme" permission in its manifest.json file.

Types

theme.Theme
Represents the content of a theme.

Functions

theme.update()
Updates the browser’s theme.

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
ThemeNoNo55NoNo
updateNoNo55NoNo

Chrome incompatibilities

None.

Example extensions

Document Tags and Contributors

 Contributors to this page: rebloor
 Last updated by: rebloor,