Skip to content

Instantly share code, notes, and snippets.

View KonradJam's full-sized avatar

KonradJam KonradJam

View GitHub Profile
@KonradJam
KonradJam / README.md
Created March 10, 2025 09:29
A fluid typography system built with Sass, allowing unlimited breakpoints and smooth scaling using clamp()

Fluid Typography with Sass

This project provides a simple way to implement fluid typography in Sass using mixins and functions. It enables responsive font sizing that adjusts based on the viewport width while maintaining a smooth transition between different breakpoints.

Features

  • Uses clamp() for smooth scaling between min and max font sizes.
  • Supports multiple predefined text styles.
  • Automatically converts pixel values to rem for better scalability.
  • Customizable via SCSS maps.