Reputation: 7334
Is it possible to add a border around the extension badge for a web extension?.
I have developed a web extension called Stack Me First, I want the extension badge to have a border around it which I want to customize based on the active tab of the user.
Below is an example of how I want it to be (preferably with a border-radius):
I'm aware that I can change the icon image dynamically. But my use case means that I'll have to create and manage multiple icons. Below is my use case and challenges
I'm also aware that I could change color of the badge, but I would prefer a border if possible
I need multiple states for my icon:
These are just examples, there can be more states
The Challenge with this is that I have to create and manage,
If I could use a border, all of this would be handled within the code and I don't have to manage the images.
Upvotes: 1
Views: 89