Improve metadata action button contrast

This commit is contained in:
Dariusz L
2026-09-14 00:58:13 +02:00
parent b5a2209854
commit 5b86cffe60
2 changed files with 14 additions and 0 deletions
@@ -252,6 +252,13 @@ test('manual model selection uses the two-line status card layout', () => {
);
});
test('metadata action buttons use dark text on primary controls', () => {
assert.match(
resolverMainCssSource,
/#model-resolver-modal \[data-image-inspector-action="choose-file"\]\.mr-btn-primary,[\s\S]*?#model-resolver-modal \[data-image-inspector-action="apply-transfer"\]\.mr-btn-primary:hover:not\(:disabled\)\s*\{[^}]*color:\s*#101010;/s
);
});
test('manual model selection restores the per-model apply card after browser refresh', () => {
const queueResolution = eval(`(${extractMethod(queueMethodsSource, 'queueResolution')})`);
const calls = [];
+7
View File
@@ -2142,6 +2142,13 @@
color: white;
}
#model-resolver-modal [data-image-inspector-action="choose-file"].mr-btn-primary,
#model-resolver-modal [data-image-inspector-action="apply-transfer"].mr-btn-primary,
#model-resolver-modal [data-image-inspector-action="choose-file"].mr-btn-primary:hover:not(:disabled),
#model-resolver-modal [data-image-inspector-action="apply-transfer"].mr-btn-primary:hover:not(:disabled) {
color: #101010;
}
.mr-btn-secondary,
.mr-btn-link,
#model-resolver-modal .mr-btn-secondary,