this post was submitted on 22 Jul 2024
14 points (100.0% liked)

Firefox

4210 readers
107 users here now

A community for discussion about Mozilla Firefox.

founded 2 years ago
MODERATORS
 

I've created 2 themes on https://color.firefox.com/ ~ one light themed & one dark themed. Would it be possible to configure these as a dynamic theme which follows my system's light/dark settings? (I'm using Fedora if that's relevant)

top 2 comments
sorted by: hot top controversial new old
[โ€“] MrOtherGuy 2 points 4 months ago (1 children)

I don't think Firefox Color can do that. At best you could test and set colors using Color, and then export the settings for both as a theme .zip or .xpi files, and then combine the two to a single manifest.json file. Inside the manifest, a "theme" key would be color properties for "normal" theme and "dark_theme" would be for dark-theme. After that you would submit the theme package to get it signed after which it can be installed as a real theme.

[โ€“] ApplyingAutomation 1 points 4 months ago

Thanks for the kind response! That's rather what I figured the ~ I'll take a crack at it later this week & maybe write a blog post about how to do it if I figure it out :)