diff --git a/polygerrit-ui/app/elements/admin/gr-group/gr-group.html b/polygerrit-ui/app/elements/admin/gr-group/gr-group.html index d21247ada5..1e19107599 100644 --- a/polygerrit-ui/app/elements/admin/gr-group/gr-group.html +++ b/polygerrit-ui/app/elements/admin/gr-group/gr-group.html @@ -32,7 +32,7 @@ limitations under the License. diff --git a/polygerrit-ui/app/elements/settings/gr-cla-view/gr-cla-view.html b/polygerrit-ui/app/elements/settings/gr-cla-view/gr-cla-view.html index 963d2e3eb3..233235ec83 100644 --- a/polygerrit-ui/app/elements/settings/gr-cla-view/gr-cla-view.html +++ b/polygerrit-ui/app/elements/settings/gr-cla-view/gr-cla-view.html @@ -52,7 +52,7 @@ limitations under the License. font-family: var(--font-family-bold); } .alreadySubmittedText { - color: red; + color: var(--error-text-color); margin: 0 2em; padding: .5em; } diff --git a/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete.html b/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete.html index c289aa3b36..f6749b1765 100644 --- a/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete.html +++ b/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete.html @@ -59,7 +59,7 @@ limitations under the License. } paper-input.warnUncommitted { --paper-input-container-input: { - color: #ff0000; + color: var(--error-text-color); font-size: var(--font-size-normal); } } diff --git a/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete_test.html b/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete_test.html index d257cdd8bb..2b0a081e87 100644 --- a/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete_test.html +++ b/polygerrit-ui/app/elements/shared/gr-autocomplete/gr-autocomplete_test.html @@ -507,12 +507,8 @@ limitations under the License. element.text = 'blah blah blah'; MockInteractions.blur(element.$.input); assert.isTrue(inputClassList.contains('warnUncommitted')); - assert.equal(getComputedStyle(element.$.input.inputElement).color, - 'rgb(255, 0, 0)'); MockInteractions.focus(element.$.input); assert.isFalse(inputClassList.contains('warnUncommitted')); - assert.notEqual(getComputedStyle(element.$.input.inputElement).color, - 'rgb(255, 0, 0)ed'); }); test('disabled', () => { diff --git a/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html b/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html index 8a70b8ba90..cda8a6774c 100644 --- a/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html +++ b/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html @@ -69,7 +69,7 @@ limitations under the License. @apply --gr-dropdown-item; } li .itemAction.disabled { - color: #ccc; + color: var(--deemphasized-text-color); cursor: default; } li .itemAction:link, diff --git a/polygerrit-ui/app/styles/gr-menu-page-styles.html b/polygerrit-ui/app/styles/gr-menu-page-styles.html index 4adbedaddb..48ca396e10 100644 --- a/polygerrit-ui/app/styles/gr-menu-page-styles.html +++ b/polygerrit-ui/app/styles/gr-menu-page-styles.html @@ -37,7 +37,7 @@ limitations under the License. max-width: none; } h2.edited:after { - color: #444; + color: var(--deemphasized-text-color); content: ' *'; } .loading {