Now we can select our desired font for the extension. It will be applied to complete text that is seen in our extension !
Describe your changes in detail
Firstly I added select tag in popup file. After that to give functionality to the element I made changes in background.js file.
I added event listener to change the font of DINO whenever the font is changed. I used for loop to loop over all the elements of DINO and then I changed the font-family property of every element and it worked !
Screenshots (if appropriate):
Garamond Font
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My change requires a change to the documentation.
Fixes #(103)
Description
Now we can select our desired font for the extension. It will be applied to complete text that is seen in our extension !
Describe your changes in detail Firstly I added select tag in popup file. After that to give functionality to the element I made changes in background.js file. I added event listener to change the font of DINO whenever the font is changed. I used for loop to loop over all the elements of DINO and then I changed the font-family property of every element and it worked !
Screenshots (if appropriate):
Garamond Font
Types of changes
Checklist:
SWOC Participation