Browse Source

ui: Make 'dangerous' buttons have white text even in dark theme (#11756)

pull/11790/head
John Cowen 3 years ago committed by GitHub
parent
commit
340a0e03f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      ui/packages/consul-ui/app/styles/themes.scss

5
ui/packages/consul-ui/app/styles/themes.scss

@ -9,6 +9,11 @@
%main-nav-horizontal { %main-nav-horizontal {
@extend %theme-dark; @extend %theme-dark;
} }
%main-nav-horizontal .dangerous button:hover,
%main-nav-horizontal .dangerous button:focus {
color: rgb(var(--white)) !important;
}
%main-nav-vertical .menu-panel a:hover, %main-nav-vertical .menu-panel a:hover,
%main-nav-vertical .menu-panel a:focus { %main-nav-vertical .menu-panel a:focus {
background-color: rgb(var(--tone-blue-500)); background-color: rgb(var(--tone-blue-500));

Loading…
Cancel
Save