fix: highlight available updates in green
Use the success palette and black text for the available-update header action, including its hover state. Add regression coverage for the visual state.
This commit is contained in:
@@ -166,4 +166,6 @@ test('header occupies its final geometry before asynchronous initialization', ()
|
||||
assert.doesNotMatch(mainSource, /runAutomaticUpdateCheck\(true\);\s*\},\s*3000\)/u);
|
||||
assert.match(html, /class="upload-speed-baseline"/u);
|
||||
assert.match(css, /\.upload-speed-baseline\s*\{[^}]*background:\s*var\(--success\);/su);
|
||||
assert.match(css, /\.header-update-button\.update-available\s*\{[^}]*background:\s*var\(--success\);[^}]*color:\s*#000;/su);
|
||||
assert.match(css, /\.header-update-button\.update-available:hover\s*\{[^}]*background:\s*var\(--success-end\);[^}]*color:\s*#000;/su);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user