3 ms·
Makes sense! Let me know if you want to try implementing this :) How would you expose the setting in the extension UI?
by phgn 4y ago
Makes sense! Let me know if you want to try implementing this :)
How would you expose the setting in the extension UI?
- satvikpendem 4y agohttps://i.imgur.com/EzVONAD.png https://i.imgur.com/EzVONAD.png is how it's done in my current extension, perhaps you can make one of the bottom squares say "Custom color" and when clicked on, it would expose a color picker. Then save the choice in local storage or however you store data now. Dark Reader is also another great extension to look at to see how they did it.