sds / scss-lint

Configurable tool for writing clean, consistent SCSS
MIT License
3.65k stars 466 forks source link

Problems with scrollbar-color #994

Open RivenSkaye opened 2 years ago

RivenSkaye commented 2 years ago

scss-lint can at the same time both recognize the proper ordering for scrollbar-color and scrollbar-width, but it also tells me it has no idea what scrollbar-color is and that it's most probably a spelling error. See the attached image for the simultaneous warnings. Reversing the order of them only leaves the PropertySpelling warning. scrollbar-color on MDN image

(S)CSS causing the issue:

table {
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 85%;
    min-width: 60%;
    overflow-x: scroll;
    scrollbar-width: thin;
    scrollbar-color: $scrollbarcolor;

    th {
      background-color: $thbg;
      text-align: center;
    }

    tr:nth-child(even) {
      background-color: $theven;
    }

    td,
    th {
      border: 1px solid $tableborder;
      padding: 3px;
    }
  }
lencioni commented 2 years ago

Sounds like data/properties.txt needs to be updated