Our designer uses PascalCase of font weights so they were getting missed by this matcher.
I considered adding something along the lines of entry.value.map(val => val.replaceAll('-','').contains(value.toLowerCase()), too, but didn't think the complexity was worth it for such a small finite set of cases.
Our designer uses PascalCase of font weights so they were getting missed by this matcher.
I considered adding something along the lines of
entry.value.map(val => val.replaceAll('-','').contains(value.toLowerCase()),
too, but didn't think the complexity was worth it for such a small finite set of cases.