From 4a84bf44b723d7033fe22e3377655f0769c1ff4c Mon Sep 17 00:00:00 2001 From: Keith Miller Date: Wed, 10 Dec 2025 07:17:02 -0500 Subject: [PATCH] Errors with Non-Standard Query Params Should Be Red Right now we rotate all colors in the body so the current the red color ends up green. We should rotate the error class back so that it ends up red again. I did this via a variable so if we change the rotate in the future error will automatically fix itself. --- resources/JetStream.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/JetStream.css b/resources/JetStream.css index 2ffba2de..cfd99174 100644 --- a/resources/JetStream.css +++ b/resources/JetStream.css @@ -41,6 +41,7 @@ --benchmark-done-result-color: #4A4A4A; --gap: 3rem; --width: 200px; + --nonDefaultRotate: 152deg; } html, @@ -73,7 +74,12 @@ table { } body.nonDefaultParams { - filter: hue-rotate(152deg); + filter: hue-rotate(var(--nonDefaultRotate)); +} + +/* error gets rotated too, rotate it back so it's still red */ +.nonDefaultParams .error { + filter: hue-rotate(calc(360deg - var(--nonDefaultRotate))); } .nonDefaultParams .summary {