mozilla / FirefoxColor

Theming demo for Firefox Quantum and beyond
https://color.firefox.com
Mozilla Public License 2.0
453 stars 93 forks source link

Encode URL theme from JSON #1024

Open mgutz opened 2 years ago

mgutz commented 2 years ago

This is more of a discussion topic than issue. Unfortunately, discussions are not enabled on this project.

I want to create a Firefox Color URL from current VS Code theme. The steps would be as follows:

1) Transform VS Code JSON to Firefox Color JSON. Need to know the structure. 2) Encode the JSON into URL (no images, just colors) 3) Paste that URL into Firefox

The idea here is to make it as simple as possible for users to theme firefox without having to install extensions.

Where in the code would I find the shape of the JSON? How would I encode it? Links to source code is fine. Thanks