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

Firefox

3990 readers
48 users here now

A community for discussion about Mozilla Firefox.

founded 1 year 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
[โ€“] [email protected] 2 points 1 month 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.

[โ€“] [email protected] 1 points 1 month 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 :)