Skip to content

Commit 45e084f

Browse files
committed
scripts: remove hastag in hex color code
1 parent 410a842 commit 45e084f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/generate-translation-doc.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import languageNames from "../i18n/languageNames";
55
const TARGET_FILE = "./i18n/README.md";
66

77
function getProgressColor(progress: number): string {
8-
if (progress <= 20) return "#FF0000";
9-
if (progress <= 40) return "#FF7F00";
10-
if (progress <= 60) return "#FFFF00";
11-
if (progress <= 80) return "#7FFF00";
12-
return "#00FF00";
8+
if (progress <= 20) return "FF0000";
9+
if (progress <= 40) return "FF7F00";
10+
if (progress <= 60) return "FFFF00";
11+
if (progress <= 80) return "7FFF00";
12+
return "00FF00";
1313
}
1414

1515
function generateTranslationsMarkdown(locale: string): string {

0 commit comments

Comments
 (0)