Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 608 Bytes

File metadata and controls

32 lines (23 loc) · 608 Bytes

meteor/prefer-background-token

This rules only allows using semantic tokens for background colors.

Examples

Incorrect

a {
  background: red;
}
a {
  background-color: #ff9d49;
}

Correct

a {
  color: var(--color-elevation-surface-overlay);
}

Resources