2DegreesInvesting / tiltWebTool

https://bit.ly/tilt-app-info
https://2degreesinvesting.github.io/tiltWebTool/
GNU General Public License v3.0
1 stars 0 forks source link

Make font-size bigger #182

Closed AnneSchoenauer closed 3 months ago

AnneSchoenauer commented 3 months ago

font_scale
A scalar multiplier to apply to the base font size. For example, a value of 1.5 scales font sizes to 150% and a value of 0.8 scales to 80%. Must be a positive number.

https://rstudio.github.io/bslib/reference/bs_theme.html#arguments

AnneSchoenauer commented 3 months ago

Dear @maurolepore it would be great if the font size could be bigger as it is very small. I am happy to play around again if you give me the customisable app. Otherwise you could just tell me what font size you are using right now and we try two-four bigger sizes.

maurolepore commented 3 months ago

@AnneSchoenauer as I explain in the comment linked above, what we can adjust easily is the parameter font_scale.

The parameter font_scale seems to affect only the test -- NOT the headings, icons, etc. So it you want to change the relationship between the text and everything else, the easiest way is to actually reduce the size of the text and increase the zoom level.

AFAIK, other ways of adjusting the relationship between the text and headings/icons/etc. involve modifying the guts of the theme -- which may be easy for someone with experience in css or javascript or other web-technologies. For me it's one of those unkonwns that can be a rabbit hole and take way more time than seems worth it.

Compare

Image

Image

Image

Image

AnneSchoenauer commented 3 months ago

Hi @maurolepore thanks for your explanation and the picture. I would like to go with browser 100% and font_scale = 1.5. thanks!