From 12d2fe7cfd14255ed31ec37f351bb4356a2c2124 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Sat, 22 Aug 2020 12:13:29 +0200 Subject: [PATCH] fix(material-experimental/mdc-button): double outline for FAB in high contrast mode The MDC-based FAB don't need an extra outline high contrast mode, because they have one already. --- src/material-experimental/mdc-button/button.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/material-experimental/mdc-button/button.scss b/src/material-experimental/mdc-button/button.scss index 6c444a3e5a59..f0435d338b91 100644 --- a/src/material-experimental/mdc-button/button.scss +++ b/src/material-experimental/mdc-button/button.scss @@ -12,14 +12,12 @@ @include _mat-button-disabled(); } -// Add an outline to make buttons more visible in high contrast mode. Stroked buttons +// Add an outline to make buttons more visible in high contrast mode. Stroked buttons and FABs // don't need a special look in high-contrast mode, because those already have an outline. .mat-mdc-button:not(.mdc-button--outlined), .mat-mdc-unelevated-button:not(.mdc-button--outlined), .mat-mdc-raised-button:not(.mdc-button--outlined), .mat-mdc-outlined-button:not(.mdc-button--outlined), -.mat-mdc-fab, -.mat-mdc-mini-fab, .mat-mdc-icon-button { @include cdk-high-contrast(active, off) { outline: solid 1px;