LEDGERMACHINE

LM-TYPE-001

Find off-scale font sizes in CSS

A rare font size sits close to an established or declared step.

What Ledgermachine reports

Font size may not belong to the type scale

Decision, not automatic repair

Align it when the text serves an existing role; keep it when the content hierarchy genuinely needs another step.

Source example

What this finding can look like

The exact candidate comes from the project’s own tokens and repeated values. This example shows the shape of the issue, not a universal replacement.

Flagged source
.meta { font-size: 15px; }
One possible resolution
:root { --text-ui: 14px; }
.meta { font-size: var(--text-ui); }

Resolution workflow

Fix the source without erasing intent

  1. Inspect

    Review every reported occurrence and the established candidates Ledgermachine found in the same project.

  2. Decide

    Align it when the text serves an existing role; keep it when the content hierarchy genuinely needs another step.

  3. Verify

    Make the change in your editor or coding agent, then rescan. Ledgermachine stays read-only and records whether the finding cleared.

Run it on your source

See the evidence behind this rule.

Open a folder locally, inspect the exact occurrences, and decide whether to repair or preserve the difference.

Open Ledgermachine