guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Tobias Geerinckx-Rice
Date: Fri, 28 Oct 2022 12:55:21 -0400 (EDT)

branch: master
commit d0369fc72967110de1dfb925a781ccc1b14bdbce
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 25 02:00:00 2022 +0200

    cuirass.js: Increase Dashboard colour contrast
---
 src/static/js/cuirass.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/static/js/cuirass.js b/src/static/js/cuirass.js
index 0a4829c..f20a809 100644
--- a/src/static/js/cuirass.js
+++ b/src/static/js/cuirass.js
@@ -116,15 +116,17 @@ $(document).ready(function() {
                     return 5;
             }
 
+           /* FIXME-someday: these should be CSS classes, so users can
+              feasibly customise them. */
             function color(status) {
                 switch (status) {
                 case -3:
                 case -2:
-                    return 'gray';
+                    return 'transparent';
                 case -1:
                     return 'orange';
                 case 0:
-                    return 'green';
+                    return '#9f9';     /* high contrast with others */
                 case 1:
                 case 2:
                 case 3:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]