Fix colors
This commit is contained in:
parent
268634f8e1
commit
7526ed3c60
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue