We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bca308c + 34fcd76 commit b52d493Copy full SHA for b52d493
scripts/check_icons.sh
@@ -67,12 +67,15 @@ check_glyph() (
67
error=1
68
fi
69
70
- if ! echo "$content" | grep -q "0.*0.*0.*black"; then
+ # get the color lines
71
+ color_lines=$(echo "$content" | grep -A3 "Colors: " | tail -n -2)
72
+
73
+ if ! echo "$color_lines" | grep -q " #000000 "; then
74
log_error "Glyph should have the black color defined"
75
76
77
- if ! echo "$content" | grep -q "255.*255.*255.*white"; then
78
+ if ! echo "$color_lines" | grep -q " #FFFFFF "; then
79
log_error "Glyph should have the white color defined"
80
81
0 commit comments