Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.1 KB

File metadata and controls

62 lines (48 loc) · 1.1 KB

font-weight-no-ignored-values

Disallow valid font-weight values that work on iOS, but are ignored and get mapped to normal or bold weight on Android.

.a {
  font-weight: 500;
}
/**            ↑
 *             This value */

More info:

Options

true

The following patterns are considered violations:

.a {
  font-weight: 100;
}
.a {
  font-weight: 300;
}

The following patterns are not considered violations:

.a {
  font-weight: 400;
}
.a {
  font-weight: 700;
}
.a {
  font-weight: normal;
}
.a {
  font-weight: bold;
}