developer-diganta / Dino

Dino is a chrome extension to help people with dyslexia and color blindness access web pages with more ease.
MIT License
39 stars 53 forks source link

Add font change feature for DINO #107

Closed dheerajchhatanidc closed 1 year ago

dheerajchhatanidc commented 1 year ago

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):

image

2023-01-23 (2)

Garamond Font

image

Types of changes

Checklist:

SWOC Participation