File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1
1
@use ' @angular/cdk' ;
2
2
3
- // Add an outline to make buttons more visible in high contrast mode. Stroked buttons and FABs
4
- // don't need a special look in high-contrast mode, because those already have an outline.
5
3
.mat-mdc-button :not (.mdc-button--outlined ),
6
4
.mat-mdc-unelevated-button :not (.mdc-button--outlined ),
7
5
.mat-mdc-raised-button :not (.mdc-button--outlined ),
8
6
.mat-mdc-outlined-button :not (.mdc-button--outlined ),
9
- .mat-mdc-icon-button.mat-mdc-icon-button {
7
+ .mat-mdc-icon-button.mat-mdc-icon-button ,
8
+ .mat-mdc-outlined-button .mdc-button__ripple {
10
9
@include cdk .high-contrast {
11
10
outline : solid 1px ;
12
11
}
Original file line number Diff line number Diff line change 264
264
@include token-utils .create-token-slot (color , disabled- label- text- color);
265
265
@include token-utils .create-token-slot (border-color , disabled- outline- color);
266
266
}
267
-
268
- // TODO(crisbeto): this causes a weird gap between the ripple and the
269
- // outline. We should remove it and update the screenshot tests.
270
- .mdc-button__ripple {
271
- @include token-utils .create-token-slot (border-width , outline-width );
272
- border-style : solid ;
273
- border-color : transparent ;
274
- }
275
267
}
276
268
}
277
269
You can’t perform that action at this time.
0 commit comments