Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreadnaut/bordercolors-d
A Thunderbird add-on to color-code the compose window based on the selected identity.
https://github.com/dreadnaut/bordercolors-d
identity thunderbird thunderbird-addon
Last synced: 14 days ago
JSON representation
A Thunderbird add-on to color-code the compose window based on the selected identity.
- Host: GitHub
- URL: https://github.com/dreadnaut/bordercolors-d
- Owner: dreadnaut
- License: gpl-3.0
- Created: 2018-11-17T16:08:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-12T12:32:59.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:48:30.849Z (3 months ago)
- Topics: identity, thunderbird, thunderbird-addon
- Language: JavaScript
- Homepage:
- Size: 83 KB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BorderColors D
If you have Thundebird configured with multiple accounts or identities, you
might have sent emails from the wrong one once or twice. This add-on tries to
prevent that mistake by adding a colorful border around the "New message"
window.You can configure each identity to have a different color, and choose among a
number of border styles: partial borders, gradients, etc.Add-ons like [Identity Chooser][ic] can re-use the configured colors for other
functionality, helping you identify the correct account.[ic]: https://addons.thunderbird.net/en-US/thunderbird/addon/identity-chooser/
This add-on builds on [BorderColors][bc] and [BorderColors-GT][bc-gt].
[bc]: https://addons.thunderbird.net/thunderbird/addon/bordercolors/
[bc-gt]: https://addons.thunderbird.net/thunderbird/addon/bordercolors-gt/## How to install
Head over to [addons.thunderbird.net][bc-d] to find the current version.
Development releases might be available earlier in the [Releases] section.Remember to uninstall other BorderColors add-ons if you are using this version!
[bc-d]: https://addons.thunderbird.net/thunderbird/addon/bordercolors-d/
[releases]: https://github.com/dreadnaut/bordercolors-d/releases## Extension developers
This add-on exposes a minimal API to other Thunderbird add-ons, based on
[`runtime.onExternalMessage`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessageExternal).At the moment, there is only one operation available. Open an issue if you have
any suggestions!### Identity colors
You can query the colors configured for each identity using the `colors.all`
message:```js
await messenger.runtime.sendMessage(
'[email protected]',
{ command: 'colors.all' }
);
``````
Object { id1: "#fcb1ca", id2: "#f2ccbb", id3: "#0c35dc", id6: "#00ff00", id4: "#ff0000" }
```