Commit ccf3044
committed
#13334 - Updated disease colors and styles
The current disease colors and styles are the ones defined in the table below:
| Disease Enum | Style Name (CSS Class) | Main Color Hash | Dark Color Hash |
| --------------------------------------- | ----------------------------------------------------------- | --------------- | --------------- |
| AFP | .background-disease-afp | #00E0A1 | #00B582 |
| CHOLERA | .background-disease-cholera | #FEBA01 | #E5A701 |
| CONGENITAL_RUBELLA | .background-disease-congenital-rubella | #d4d4f7 | #aaaaee |
| CSM | .background-disease-csm | #59BDEF | #50AAD7 |
| DENGUE | .background-disease-dengue | #44BEC7 | #3DABB3 |
| EVD | .background-disease-evd | #8C45AD | #7E3E9C |
| GUINEA_WORM | .background-disease-guinea-worm | #3FD100 | #38BA00 |
| LASSA | .background-disease-lassa | #EA579B | #D34E8B |
| MEASLES | .background-disease-measles | #66AD45 | #5C9C3E |
| MONKEYPOX | .background-disease-monkeypox | #FF9299 | #E5838A |
| NEW_INFLUENZA | .background-disease-new-flu | #4550AC | #3E489B |
| PLAGUE | .background-disease-plague | #8270CC | #7565B8 |
| POLIO | .background-disease-polio | #A6E300 | #96CC00 |
| UNSPECIFIED_VHF | .background-disease-unspecified-vhf | #448282 | #2F4F4F |
| WEST_NILE_FEVER | .background-disease-west-nile-fever | #87CEFA | #5b94b7 |
| YELLOW_FEVER | .background-disease-yellow-fever | #E2D320 | #CBBE1D |
| RABIES | .background-disease-rabies | #ef5a6c | #e04a5b |
| ANTHRAX | .background-disease-anthrax | #5a95f4 | #3b7fed |
| CORONAVIRUS | .background-disease-coronavirus | #bf8678 | #b0796b |
| PNEUMONIA | .background-disease-pneumonia | #b0c4de | #7b8fa3 |
| MALARIA | .background-disease-malaria | #7ed957 | #5fa23f |
| TYPHOID_FEVER | .background-disease-typhoid-fever | #f7b267 | #d9983a |
| ACUTE_VIRAL_HEPATITIS | .background-disease-acute-viral-hepatitis | #f9e79f | #f7ca18 |
| NON_NEONATAL_TETANUS | .background-disease-non-neonatal-tetanus | #b2bec3 | #636e72 |
| HIV | .background-disease-hiv | #e17055 | #b03a2e |
| SCHISTOSOMIASIS | .background-disease-schistosomiasis | #00b894 | #00897b |
| SOIL_TRANSMITTED_HELMINTHS | .background-disease-soil-transmitted-helminths | #a0522d | #6e2c00 |
| TRYPANOSOMIASIS | .background-disease-trypanosomiasis | #6c3483 | #512e5f |
| DIARRHEA_DEHYDRATION | .background-disease-diarrhea-dehydration | #85c1e9 | #2874a6 |
| DIARRHEA_BLOOD | .background-disease-diarrhea-blood | #c0392b | #922b21 |
| SNAKE_BITE | .background-disease-snake-bite | #a3a847 | #7d8334 |
| RUBELLA | .background-disease-rubella | #f1948a | #c0392b |
| TUBERCULOSIS | .background-disease-tuberculosis | #b9770e | #7e5109 |
| LEPROSY | .background-disease-leprosy | #f5cba7 | #ca6f1e |
| LYMPHATIC_FILARIASIS | .background-disease-lymphatic-filariasis | #48c9b0 | #148f77 |
| BURULI_ULCER | .background-disease-buruli-ulcer | #f7cac9 | #e9967a |
| PERTUSSIS | .background-disease-pertussis | #f8c471 | #b9770e |
| NEONATAL_TETANUS | .background-disease-neonatal-tetanus | #f9e79f | #f7ca18 |
| ONCHOCERCIASIS | .background-disease-onchocerciasis | #34495e | #212f3c |
| DIPHTERIA | .background-disease-diphteria | #e67e22 | #ca6f1e |
| TRACHOMA | .background-disease-trachoma | #aed6f1 | #5499c7 |
| YAWS_ENDEMIC_SYPHILIS | .background-disease-yaws-endemic-syphilis | #f5b7b1 | #c0392b |
| MATERNAL_DEATHS | .background-disease-maternal-deaths | #f1948a | #922b21 |
| PERINATAL_DEATHS | .background-disease-perinatal-deaths | #f7dc6f | #b7950b |
| INFLUENZA | .background-disease-influenza | #5dade2 | #21618c |
| INFLUENZA_A | .background-disease-influenza-a | #2874a6 | #154360 |
| INFLUENZA_B | .background-disease-influenza-b | #85c1e9 | #2874a6 |
| H_METAPNEUMOVIRUS | .background-disease-h-metapneumovirus | #a569bd | #76448a |
| RESPIRATORY_SYNCYTIAL_VIRUS | .background-disease-respiratory-syncytial-virus | #48c9b0 | #148f77 |
| PARAINFLUENZA_1_4 | .background-disease-parainfluenza-1-4 | #f7ca18 | #b7950b |
| ADENOVIRUS | .background-disease-adenovirus | #f5b041 | #b9770e |
| RHINOVIRUS | .background-disease-rhinovirus | #76d7c4 | #117864 |
| ENTEROVIRUS | .background-disease-enterovirus | #f1948a | #922b21 |
| M_PNEUMONIAE | .background-disease-m-pneumoniae | #f7cac9 | #e9967a |
| C_PNEUMONIAE | .background-disease-c-pneumoniae | #f9e79f | #f7ca18 |
| ARI | .background-disease-ari | #aed6f1 | #5499c7 |
| CHIKUNGUNYA | .background-disease-chikungunya | #e67e22 | #ca6f1e |
| POST_IMMUNIZATION_ADVERSE_EVENTS_MILD | .background-disease-post-immunization-adverse-events-mild | #f7cac9 | #e9967a |
| POST_IMMUNIZATION_ADVERSE_EVENTS_SEVERE | .background-disease-post-immunization-adverse-events-severe | #c0392b | #922b21 |
| FHA | .background-disease-fha | #f5b7b1 | #c0392b |
| OTHER | .background-disease-other | #888 | #6D6D6D |
| UNDEFINED | .background-disease-undefined | #cccccc | #d9d9d9 |1 parent ef56169 commit ccf3044
2 files changed
Lines changed: 595 additions & 145 deletions
File tree
- sormas-ui/src/main
- java/de/symeda/sormas/ui/utils
- webapp/VAADIN/themes/sormas/views
Lines changed: 82 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
440 | 522 | | |
441 | 523 | | |
442 | 524 | | |
| |||
0 commit comments