nt1m / WebExtensions-Theming-API

Proposal for a possible theming API for WebExtensions.
6 stars 0 forks source link

Provide a way to change built-in browser images/icons #4

Open nt1m opened 8 years ago

msujaws commented 8 years ago

If all images/icons are in a sprite on the browser side, we could just have theme devs include their own sprite which will override the default one.

nt1m commented 8 years ago

@msujaws That sounds fine, but if we update our sprite to add/reorder icons, some of them would turn missing if the addon overrides them with an old sprite.

msujaws commented 8 years ago

That's a good point, we would be setting our sprite layout in stone and introducing the possibility for holes/empty spots in the sprite in the future if we remove icons/features.

Perhaps it would be better to just have a naming convention for each icon and then themes would supply icons that they want to override. Some buttons don't have obvious names ("bookmark star menu button", for example).