modularscale/modularscale-sass
Modular scale calculator built into your Sass observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 54
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5505
- days_rel: n/a
- days_push: 277
- n_releases_24m: 0
Adoption not part of the score
1959 stars · 128 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Sass library that generates modular scales—proportionally related value lists—for sizing type and layout elements in web design. It provides an ms(n) function and configurable base/ratio settings to compute harmonious sizes directly in stylesheets.
Use cases
- generate a typographic scale in sass
- size headings using the golden ratio
- create harmonious spacing values in scss
- build a multi-stranded type scale with multiple bases
- replace hardcoded font sizes with proportional scale steps
- align responsive breakpoints to a modular scale
When to choose
- you use Sass/SCSS and want mathematically harmonious type and spacing sizes
- you want a lightweight, dependency-free design-token generator for typography
- you need multi-stranded scales with multiple base values
When to avoid
- your project does not use Sass or a Sass-compatible build pipeline
- you prefer modern CSS custom properties or a PostCSS-based solution
- you need a full design-token or theming framework rather than a scale calculator
Facets
library · maturity stable
css-framework developer-tools web-development frontend web-design cross-platform sass typography modular-scale design-systems scss nodejs
2 sources
- readme: https://github.com/modularscale/modularscale-sass · fetched 2026-08-28 · a18379cd6532
- homepage: http://www.modularscale.com · fetched 2026-08-29 · b9feec29cf8a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| modularscale/modularscale-sass | main | 47 |
For agents
markdown · JSON · MCP: product_card(name="modularscale/modularscale-sass")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem