reverted: --- b/core/themes/classy/css/components/user.css +++ a/core/themes/classy/css/components/user.css @@ -27,7 +27,6 @@ } .password-confirm, -.password-confirm-message, .password-field, .password-strength, .password-confirm-match { @@ -57,11 +56,11 @@ } /* Styling for the status indicator of the passwords match test. */ +.password-confirm .ok { -.password-confirm-message .ok { color: #325e1c; font-weight: bold; } +.password-confirm .error { -.password-confirm-message .error { color: #a51b00; font-weight: bold; } only in patch2: unchanged: --- /dev/null +++ b/core/themes/stable/js/user.theme.es6.js @@ -0,0 +1,18 @@ +/** + * @file + * Stable theme overrides for user password forms. + */ + +((Drupal) => { + /** + * Constucts a password confirm message element + * + * @return {string} + * A string representing a DOM fragment. + */ + Drupal.theme.passwordConfirmMessage = translate => + `
${ + translate.confirmTitle + }
`; + +})(Drupal); only in patch2: unchanged: --- /dev/null +++ b/core/themes/stable/js/user.theme.js @@ -0,0 +1,12 @@ +/** +* DO NOT EDIT THIS FILE. +* See the following change record for more information, +* https://www.drupal.org/node/2815083 +* @preserve +**/ + +(function (Drupal) { + Drupal.theme.passwordConfirmMessage = function (translate) { + return "
" + translate.confirmTitle + "
"; + }; +})(Drupal); \ No newline at end of file only in patch2: unchanged: --- a/core/themes/stable/stable.info.yml +++ b/core/themes/stable/stable.info.yml @@ -298,3 +298,7 @@ libraries-override: theme: css/views_ui.admin.theme.css: css/views_ui/views_ui.admin.theme.css css/views_ui.contextual.css: css/views_ui/views_ui.contextual.css + +libraries-extend: + user/drupal.user: + - stable/drupal.user only in patch2: unchanged: --- /dev/null +++ b/core/themes/stable/stable.libraries.yml @@ -0,0 +1,4 @@ +drupal.user: + version: VERSION + js: + js/user.theme.js: {}