LEDGERMACHINE

LM-TYPE-003

Validate unsupported CSS font-weight values

A weight is near a common 100-step value and may not be supported as authored.

What Ledgermachine reports

Font weight falls between common steps

Decision, not automatic repair

Verify the loaded font’s axes. Variable fonts may make an in-between weight entirely intentional.

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
.label { font-weight: 510; }
One possible resolution
.label { font-weight: 500; }
/* Or keep 510 when the loaded variable font supports it. */

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

    Verify the loaded font’s axes. Variable fonts may make an in-between weight entirely intentional.

  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