From 71207d98eb72eb3f7b3ec7cb6b8e95f4472e7d2d Mon Sep 17 00:00:00 2001 From: Sucukdeluxe <259325684+Sucukdeluxe@users.noreply.github.com> Date: Fri, 21 Aug 2026 00:42:09 +0200 Subject: [PATCH] style: highlight the primary changelog heading Use the update success color for the top-level release-notes heading while retaining white typography for subordinate categories. --- renderer/styles.css | 2 +- tests/startup-renderer.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/renderer/styles.css b/renderer/styles.css index 6ef63f6..c487273 100644 --- a/renderer/styles.css +++ b/renderer/styles.css @@ -2496,7 +2496,7 @@ select.hs-input { max-width: none; width: auto; min-width: 140px; } .update-release-heading { margin: 2px 0 11px; - color: var(--text); + color: var(--success); font-size: 14px; font-weight: 750; line-height: 1.3; diff --git a/tests/startup-renderer.test.js b/tests/startup-renderer.test.js index d76006f..423fbcf 100644 --- a/tests/startup-renderer.test.js +++ b/tests/startup-renderer.test.js @@ -179,7 +179,7 @@ test('header occupies its final geometry before asynchronous initialization', () assert.match(html, /class="update-progress-footer"[\s\S]*id="updateProgressDetails"[\s\S]*id="updateProgressSize"[\s\S]*id="updateProgressSpeed"[\s\S]*id="updateProgressEta"[\s\S]*id="updateProgressText"/u); assert.match(css, /#updateProgressDetails\s*\{[^}]*display:\s*grid;[^}]*grid-template-columns:\s*19ch 2ch 11ch 2ch 10ch;[^}]*column-gap:\s*0;[^}]*font-variant-numeric:\s*tabular-nums;/su); assert.match(css, /\.update-progress-separator\s*\{[^}]*display:\s*grid;[^}]*place-items:\s*center;/su); - assert.match(css, /\.update-release-heading\s*\{[^}]*font-size:\s*14px;[^}]*font-weight:\s*750;/su); + assert.match(css, /\.update-release-heading\s*\{[^}]*color:\s*var\(--success\);[^}]*font-size:\s*14px;[^}]*font-weight:\s*750;/su); assert.match(css, /\.update-release-category\s*\{[^}]*font-size:\s*13px;[^}]*font-weight:\s*700;/su); assert.match(css, /#updateProgressDetails\[hidden\]\s*\{[^}]*display:\s*none;/su); });