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
Problem with rootsizes #39
Comments
|
Hi @davidealbanese! |
|
Edit: I've found that using the following works even better as it gives a wider spectrum of sizing while keeping the typographic scaling: :root {
font-size: 70%; // 0px ~ Mobile first
@include breakpoint(break-1) { // 640px ~ Small tablet up
font-size: 70%;
}
@include breakpoint(break-2) { // 800px ~ Large tablet up
font-size: 80%;
}
@include breakpoint(break-3) { // 1024px ~ Desktop up
font-size: 90%;
}
@include breakpoint(break-4) { // 1600px ~ Large desktop up
font-size: 100%;
}
}Note that this percentages were made up just on the fly, recommend you check how they look at different browser sizes for readability and so on. I realise that this bypasses Sassline in a somewhat cheeky manner, but this is far simpler than running through the whole process of getting the precise setup using the Sassline docs. |
|
Dear @daviddarnes, thank you! |
|
This saved my life, thank you. |
Dear @daviddarnes,
I would like to change the fontsizes, but changes in rootsizes (in file _variables.scss) seem to affect only the line-height, not the fontsizes.
E.g.:
The text was updated successfully, but these errors were encountered: