ranbuch / accessibility

add accessibility to your website
MIT License
291 stars 39 forks source link

font not increase. #54

Closed RoniJackVituli closed 6 months ago

RoniJackVituli commented 1 year ago

i used react and design with css why when i wrote for element a class with font-size , and then i try to increase is not change... for example .title{ font-size:20px; } and when i try to increase or decrease is not change.. but if delete the font-size is change. how i can make it that it will change any time?

ranbuch commented 1 year ago

Hi @RoniJackVituli As written on the documentation, you can set the textPixelMode option to true like this:

new Accessibility({ textPixelMode: true })