Commit 851e2638 authored by catch's avatar catch
Browse files

fix: #3618127 Navigation top bar action buttons in dark mode have low color contrast

By: kentr
By: mherchel
By: mgifford
By: f0ns
(cherry picked from commit f48d0a58)
parent e2a8f121
Loading
Loading
Loading
Loading
Loading
+6 −1
Changes for core/themes/default_admin/css/components/button.css: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -104,7 +104,12 @@
    font-weight: 900;
  }
}
/* Primary button styles. */
/*
 * Primary button styles.
 */
/* @todo the .toolbar-button--primary styling needs to be moved to the
   Navigation module after Drupal core supports dark mode. */
:is(#extra-specificity-hack, [data-drupal-admin-styles]) .top-bar__actions .toolbar-button--primary,
#edit-submit.form-submit,
.button--primary,
.button--primary:not(:focus),
+7 −1
Changes for core/themes/default_admin/css/components/button.pcss.css: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -105,7 +105,13 @@
  }
}

/* Primary button styles. */
/*
 * Primary button styles.
 */

/* @todo the .toolbar-button--primary styling needs to be moved to the
   Navigation module after Drupal core supports dark mode. */
:is(#extra-specificity-hack, [data-drupal-admin-styles]) .top-bar__actions .toolbar-button--primary,
#edit-submit.form-submit,
.button--primary,
.button--primary:not(:focus),