numeric-font-weightA font weight written as a numeric string.
csszyx check lists it.A name in angle brackets is a value the message fills in.
[csszyx] numeric-font-weight: `weight: '<value>'` is a numeric string, so `font-<value>` produces no CSS.
help: write `weight: <value>` as a number; it emits `font-[<value>]`.
docs: https://csszyx.com/e/numeric-font-weight
Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'numeric-font-weight': 'warn' }.
The level sets how the build and csszyx check report it. It does not change a console line, and it does not stop a thrown error.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
value | string |