WordPress.org

Make WordPress Core

Ticket #48709: 48709.diff

File 48709.diff, 989 bytes (added by melchoyce, 20 months ago)

Not working for the Light color scheme, which takes a different approach to primary buttons. @ryelle can you take a look?

  • src/wp-admin/css/colors/_mixins.scss

     
    3939        &:disabled,
    4040        &.button-primary-disabled,
    4141        &.disabled {
    42                 color: hsl( hue( $button-color ), 10%, 80% ) !important;
     42                color: $button-disabled-color !important;
    4343                background: darken( $button-color, 8% ) !important;
    4444                border-color: darken( $button-color, 8% ) !important;
    4545                text-shadow: none !important;
  • src/wp-admin/css/colors/_variables.scss

     
    1919
    2020$button-color: $highlight-color !default;
    2121$button-text-color: $text-color !default;
     22$button-disabled-color: rgba($text-color, 0.5) !default;
    2223
    2324$form-checked: #7e8993 !default;
    2425