Skip to content

Commit

Permalink
ensure consistent colors for pressure sore and painscale buttons and …
Browse files Browse the repository at this point in the history
…body regions based on score
  • Loading branch information
rithviknishad committed Aug 7, 2024
1 parent f142a92 commit e521fb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,19 @@ const valueDescriptions = [
},
{
till: 3,
color: "#FF7000",
color: "#f87171",
text: "",
className: "bg-red-400 text-white border border-secondary-400",
},
{
till: 7,
color: "#FF0000",
color: "#dc2626",
text: "",
className: "bg-red-600 text-white border border-secondary-400",
},
{
till: 10,
color: "#CF0000",
color: "#991b1b",
text: "",
className: "bg-red-800 text-white border border-secondary-400",
},
Expand Down
6 changes: 3 additions & 3 deletions src/Components/LogUpdate/components/PainChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,19 +151,19 @@ const valueDescriptions = [
},
{
till: 3,
color: "#FF7000",
color: "#f87171",
text: "Low",
className: "bg-red-400 text-white",
},
{
till: 7,
color: "#FF0000",
color: "#dc2626",
text: "Mild",
className: "bg-red-600 text-white",
},
{
till: 10,
color: "#CF0000",
color: "#991b1b",
text: "High",
className: "bg-red-800 text-white",
},
Expand Down

0 comments on commit e521fb8

Please sign in to comment.