Files
webextensions-examples/theme-integrated-sidebar/README.md
rebloor 0d46482e7d Remove retired theme aliases (#430)
* Remove required theme aliases

Replaced uses of headerURL, accentcolor, and textcolor with theme_frame, frame, and tab_background_text. Tested and confirmed all extensions working as expected.

* Fixed another reference to headerURL

Co-authored-by: Richard Bloor <rbloor@atlassian.com>
2020-03-23 17:00:00 -07:00

15 lines
467 B
Markdown

# Theme integrated sidebar
## What it does
An example using the theme API to integrate the interface of a sidebar_action to the current theme properties.
## What it shows
How to use the browser.theme.getCurrent(), browser.theme.onUpdated and the sidebar_action API.
## Instructions to try this
- Install a WebExtension theme that sets `frame`, `toolbar` or `toolbar_text`
- Install this extension
- The sidebar should then use colors from the WebExtension theme