Fix colors

This commit is contained in:
Mikołaj Pich 2019-03-02 00:38:56 +01:00
parent 268634f8e1
commit 7526ed3c60
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -1,9 +1,9 @@
exports.getGradeColorByCategoryName = name => {
switch (true) {
case name.includes("czarny"): return "000000";
case name.includes("czerw"): return "ff0000";
case name.includes("fiol"): return "800080";
case name.includes("nieb"): return "0000ff";
case name.includes("zielony"): return "00ff00";
case name.includes("czerw"): return "F04C4C";
case name.includes("fiol"): return "B16CF1";
case name.includes("nieb"): return "20A4F7";
case name.includes("zielony"): return "6ECD07";
}
};