Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling font sizes for bigger screens #30

Open
ammichael opened this issue Apr 30, 2019 · 3 comments
Open

Scaling font sizes for bigger screens #30

ammichael opened this issue Apr 30, 2019 · 3 comments

Comments

@ammichael
Copy link

Hi there,

First thanks for this awesome lib! It has helped me a lot. One question, though:

Shouldn't it be responsible for scaling for smaller/bigger screen sizes? This is almost required when dealing with Android and even more when dealing with tablets.

Thanks!

@CodeByRahulSaini
Copy link

CodeByRahulSaini commented May 4, 2019

Yes, responsive font size is definitely required. Without that, we will have to do some extra tricks

@hectahertz
Copy link
Owner

Hi @ammichael , thanks for the idea!

The way that I see it is that this will depend a lot on your design. You might want to scale different sections in different ways, and the breakpoints will be different for every app.

I think it's probably better to leave it to the consumer of the library, as it will probably be hard to come up with a solution that works for most cases.

I'm 100% open to suggestions though! If you find a solution that makes sense feel free to open a PR 🙂

@c-emil
Copy link

c-emil commented Feb 10, 2022

Looking at the Dynamic Type Sizes in Human Interface Guidelines, it offers not only the default human size but also additional sizes depending on your needs (the xLarge, xxLarge, ...). It would be nice if the library was exporting something like humanXLarge, humanXXLarge, ...

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants