Returns the current theme for the specified window or the last focused window.
OptionalwindowId: number
The window for which we want the theme.
Removes the updates made to the theme.
OptionalwindowId: number
The id of the window to reset. No id resets all windows.
Make complete updates to the theme. Resolves when the update has completed.
The properties of the theme to update.
Make complete updates to the theme. Resolves when the update has completed.
The id of the window to update. No id updates all windows.
The properties of the theme to update.
The theme API allows customizing of visual elements of the browser.
Not allowed in: Content scripts, Devtools pages