-
Notifications
You must be signed in to change notification settings - Fork 196
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
Parity between font and fontfluid #529
Comments
As a total sidenote - while doing the demo it occurred to me that a fluid font sizes based on :where(:root) {
--font-size-00: clamp(0.4rem, 5cqi, 0.5rem);
--font-size-0: clamp(0.5rem, 5cqi, 0.75rem);
--font-size-1: clamp(0.75rem, 5cqi, 1rem);
--font-size-2: clamp(0.875rem, 5cqi, 1.1rem);
--font-size-3: clamp(1rem, 5cqi, 1.25rem);
--font-size-4: clamp(1.125rem, 5cqi, 1.5rem);
--font-size-5: clamp(1.5rem, 5cqi, 2rem);
--font-size-6: clamp(1.875rem, 5cqi, 2.5rem);
--font-size-7: clamp(2.25rem, 5cqi, 3rem);
--font-size-8: clamp(2.5rem, 5cqi, 3.5rem);
} Didn't put much effort into fine-tuning this one, but you get the idea. |
def room for container fluid sizes 👍🏻 captured here in #274 |
This might be an OPv2 issue, most likely.
font.css
goes from 00-8 like this:fontfluid.css
goes from 0-3 like this:WHAT IF...
...
fontfluid.css
could matchfont-size.css
and also go from 00-8? Too much choice?DEMO: https://codepen.io/Flerox/pen/azodWxJ?editors=1100
The text was updated successfully, but these errors were encountered: