aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cockpit.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cockpit.js b/src/cockpit.js
index b569d5f..f9a44f9 100644
--- a/src/cockpit.js
+++ b/src/cockpit.js
@@ -167,13 +167,13 @@ async function updateStudentGraduation() {
switch (change.change) {
case "GrĂ¼n":
- changeTr.style.background = "green";
+ changeTr.style.background = "rgb(from green r g b / 50%)";
break;
case "Rot":
- changeTr.style.background = "red";
+ changeTr.style.background = "rgb(from red r g b / 50%)";
break;
case "Orange":
- changeTr.style.background = "orange";
+ changeTr.style.background = "rgb(from orange r g b / 50%)";
break;
}