Giter Club home page Giter Club logo

Comments (6)

scottkellum avatar scottkellum commented on May 26, 2024 1

Oh no worries. I want the best technique and I genuinely think Typetura is it.

from modularscale-sass.

scottkellum avatar scottkellum commented on May 26, 2024

My plan was to throw both locks and clamp out in favor of my other project, Typetura.

from modularscale-sass.

scottkellum avatar scottkellum commented on May 26, 2024

A bit more about why:

To your first point, locks and clamp could both control pacing but every pacing point would increase the complexity. With Typetura you can control pacing with a CSS easing curve. There is also the issue of different default browser font sizes as they throw off the font size calculation in locks and clamp. With Typetura there is still an alignment with your breakpoints as authored.

Additionally the ease of authoring is easier with Typetura. We can simply write the desired values into CSS keyframes as opposed to calculating the viewport unit equation to target those values in the locks or clamp functions. This was a bit tedious to write and test in the current (old?) version of modular scale making it a bit buggier than I wanted it to be. Utopia has more modern CSS output but still, the technique is more fragile and bug prone than what Typetura offers, and Typetura offers better pacing control, variable font support, etc.

from modularscale-sass.

robsonsobral avatar robsonsobral commented on May 26, 2024

I gonna read about Utopia. Never heard of it. I need to compare everything.


I'm sorry if I overstep a business decision!

from modularscale-sass.

robsonsobral avatar robsonsobral commented on May 26, 2024

Starting to dig on Bézier curves.

from modularscale-sass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.