-
Notifications
You must be signed in to change notification settings - Fork 14
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
Future of Paxmod #33
Comments
@numirias The {
"manifest_version": 2,
"name": "Theme experiment",
"description": "Example of a theme experiment",
"version": "1.0",
"theme": {
"colors": {
"popup_affordance": [128,128,128]
},
"images": {
"theme_toolbar": "toolbar.jpg"
}
},
"theme_experiment": {
"stylesheet": "style.css",
"colors": {
"popup_affordance": "--arrowpanel-dimmed"
},
"images": {
"theme_toolbar": "--toolbar-bgimage"
},
"properties": {
"toolbar_image_alignment": "--toolbar-bgalignment"
}
}
} The #nav-bar {
background-position: var(--toolbar-bgalignment);
} You can then use the new properties you just defined in extension code too: browser.theme.update({
colors: {
popup_affordance: "green",
}
}); |
Also, note that's there's a bug affecting theme_experiment that causes the experiment to only apply in the initial window it's loaded in, which has been fixed in Firefox 68: https://bugzilla.mozilla.org/show_bug.cgi?id=1482870 |
Unfortunately Paxmod seems to be broken with 71.0a1 (2019-10-04) (64-bit). I'm not getting multi-row tabs anymore. |
@Ladergorn I issued an update (v3.2). Just go to |
Cheers - many thanks! Working great again!
…On 06/10/2019 17:56, Arminius wrote:
@Ladergorn <https://github.com/Ladergorn> I issued an update (v3.2).
Just go to |about:addons| and /Paxmod/ > /Check for Updates/.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33?email_source=notifications&email_token=AJVJW6YV5MLIILDGIW76ZXLQNIKEFA5CNFSM4GT5HBUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOOVRQ#issuecomment-538766022>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJVJW65UTWIS5F2JXYKW5J3QNIKEFANCNFSM4GT5HBUA>.
|
A couple of notes, in case you're using Paxmod:
Since Firefox regularly introduces UI changes that require patches in Paxmod, it's quite time-consuming to keep the add-on working. Therefore, in the new releases, I'm just focusing on the few core features and I've dropped a lot of other stuff - most of which was implemented at a time where the default UI was more painful to use and the available WebExtensions APIs weren't very powerful.
What stays:
What's gone:
(FWIW, I've also started working on a small add-on to customize themes ad-hoc, so if you're missing the ability to quickly adjust colors in the settings, maybe that'll help (once it's done).)
The text was updated successfully, but these errors were encountered: