v0.0.48 - Fix: heat bar text color readable on all backgrounds (grey-on-grey fix)

This commit is contained in:
Laan Tungir
2026-07-19 10:21:47 -04:00
parent b3955e4231
commit 0892a9c7e1
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
0.0.47
0.0.48
+2 -2
View File
@@ -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 */
+4 -3
View File
@@ -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; }