# modularscale/modularscale-sass

Modular scale calculator built into your Sass

Repository: https://github.com/modularscale/modularscale-sass
Canonical: https://ross.abutalabs.com/products/modularscale-sass
Homepage: http://www.modularscale.com
Language: CSS
License: MIT
License Family: permissive
Last push: 2025-11-29T19:40:50+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 54, release rhythm 8, longevity 100
- inputs: {"age_days": 5505, "days_push": 277, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1959, forks 128 (observed 2026-08-28T04:05:59.294561+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: css-framework, developer-tools
- domain: web-development, frontend, web-design
- platform: cross-platform
- tags: sass, typography, modular-scale, design-systems, scss, nodejs

## Member repositories
- modularscale/modularscale-sass (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.294561+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:05:59.032738+00:00, confidence not recorded.
  - readme: https://github.com/modularscale/modularscale-sass (fetched 2026-08-28T04:05:59.294561+00:00, sha a18379cd6532)
  - homepage: http://www.modularscale.com (fetched 2026-08-29T10:45:49.500238+00:00, sha b9feec29cf8a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
