From 0892a9c7e1c2f0fd5a42c7487d8db28151a20a0a Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Sun, 19 Jul 2026 10:21:47 -0400 Subject: [PATCH] v0.0.48 - Fix: heat bar text color readable on all backgrounds (grey-on-grey fix) --- VERSION | 2 +- src/version.h | 4 ++-- www/processes.css | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index fad9d0a..a24809a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.47 +0.0.48 diff --git a/src/version.h b/src/version.h index ffec350..644bcef 100644 --- a/src/version.h +++ b/src/version.h @@ -11,9 +11,9 @@ #ifndef SOVEREIGN_BROWSER_VERSION_H #define SOVEREIGN_BROWSER_VERSION_H -#define SB_VERSION "v0.0.47" +#define SB_VERSION "v0.0.48" #define SB_VERSION_MAJOR 0 #define SB_VERSION_MINOR 0 -#define SB_VERSION_PATCH 47 +#define SB_VERSION_PATCH 48 #endif /* SOVEREIGN_BROWSER_VERSION_H */ diff --git a/www/processes.css b/www/processes.css index 14f7a02..7568381 100644 --- a/www/processes.css +++ b/www/processes.css @@ -76,20 +76,21 @@ code { font-family: var(--font); background: var(--border); padding: 1px 4px; bo } /* Heat bar for CPU columns. A colored background behind the numeric - * value: green < 10%, yellow < 50%, red >= 50%. */ + * value: green < 10%, yellow < 50%, red >= 50%. Text is always + * readable: white on colored backgrounds, fg on the cold (idle) + * background. */ .heat { display: inline-block; min-width: 48px; padding: 1px 6px; border-radius: 3px; text-align: right; - color: var(--bg); font-weight: bold; } .heat.cool { background: #4caf50; color: #fff; } .heat.warm { background: #ff9800; color: #fff; } .heat.hot { background: #f44336; color: #fff; } -.heat.cold { background: var(--border); color: var(--muted); } +.heat.cold { background: var(--border); color: var(--fg); } /* Renderer row: clickable to expand hosted tabs. */ .renderer-row { cursor: pointer; }