Skip to content

Commit 1fcb2fa

Browse files
committed
fix(colors): removes woring "best of" character
1 parent 38502db commit 1fcb2fa

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

scripts/build.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ colorsSrc.values['name'].forEach((name) => {
6464
}
6565
});
6666

67+
// loop good name markers
68+
colorsSrc.values['good name'].forEach((str) => {
69+
// check for spaces
70+
if (spacesValidation.test(str)) {
71+
log('"good name" marker', str, `${str} found either a leading or trailing space (or both)`);
72+
}
73+
74+
if (!(str == 'x' || str == '')) {
75+
log('"good name" marker', str, `${str} must be a lowercase "x" character or empty`);
76+
}
77+
});
78+
6779
showLog();
6880

6981
if (isTestRun) {

src/colornames.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22952,7 +22952,7 @@ Sauvignon,#f4eae4,
2295222952
Sauvignon Blanc,#b18276,
2295322953
Savanna,#874c44,
2295422954
Savannah,#d1bd92,
22955-
Savannah Grass,#babc72,fv
22955+
Savannah Grass,#babc72,
2295622956
Savannah Moss,#47533f,
2295722957
Savannah Sun,#ffb989,
2295822958
Saveloy,#aa2200,

0 commit comments

Comments
 (0)