Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatability with thunderbird conversations #17

Open
ihasdapie opened this issue Feb 6, 2022 · 2 comments
Open

Compatability with thunderbird conversations #17

ihasdapie opened this issue Feb 6, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ihasdapie
Copy link

Darko works great on stock thunderbird but breaks when using it with thunderbird conversations, which to my understanding does inject its own css and performs a lot of restyling. Would be nice if this extension could work with that as well, though I do understand that it is a fair bit of work.

@ihasdapie ihasdapie added the enhancement New feature or request label Feb 6, 2022
@fastaddons
Copy link
Collaborator

Sadly this can't work. Addons cannot run inside another addons which seems to be this case.
The only way to make a dark mode in the "Thunderbird Conversations" addon is to re-implement it there. Which could be pretty simple considering all my addon does is inverts color and shifts hue.
Specifically all they need to add to make a simple dark mode is this:

@media not print {
  html:not(.no-darko) {
    filter: invert(100%) hue-rotate(190deg) !important;
    background: #2A2A2E !important;
  }
  html:not(.no-darko) img {
    filter: invert(100%) hue-rotate(-190deg) !important;
  }
}

@mherrmann3
Copy link

It could be possible using my alternative message-darkening solution that only uses userChrome.css and userContent.css: #8 (comment). Although I didn't try it for conversations (since I'm not using it), you would have to apply the filter also again within @-moz-document url(chrome://conversations/content/stub.xhtml) {, see silvercircle's userChrome.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants