File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ $prefix: (mat, list);
1010 @return (
1111 // active indicator themable with M3
1212 active- indicator- color: transparent ,
13- active- indicator- shape: 0 ,
13+ active- indicator- shape: 4 px ,
1414 );
1515}
1616
Original file line number Diff line number Diff line change @@ -200,18 +200,21 @@ mat-action-list button {
200200 }
201201}
202202
203- @include token-utils .use-tokens (m2-mat-list .$prefix ,
204- m2-mat-list .get-token-slots ()) {
203+ @include token-utils .use-tokens (m2-mat-list .$prefix , m2-mat-list .get-token-slots ()) {
205204 .mdc-list-item--with-leading-icon .mdc-list-item__start {
206205 @include token-utils .create-token-slot (margin-inline-start , list- item- leading- icon- start- space);
207206 @include token-utils .create-token-slot (margin-inline-end , list- item- leading- icon- end- space);
208207 }
209208
210- a .mdc-list-item.mdc-list-item--activated {
211- @include token-utils .create-token-slot (background-color , active- indicator- color);
212- // active-indicator-shape overrides list-item-container-shape
213- & .mdc-list-item {
214- @include token-utils .create-token-slot (border-radius , active- indicator- shape);
209+ .mat-mdc-nav-list .mat-mdc-list-item {
210+ @include token-utils .create-token-slot (border-radius , active- indicator- shape);
211+ @include token-utils .create-token-slot (
212+ --mat-mdc-focus-indicator-border-radius ,
213+ active- indicator- shape
214+ );
215+
216+ & .mdc-list-item--activated {
217+ @include token-utils .create-token-slot (background-color , active- indicator- color);
215218 }
216219 }
217220}
You can’t perform that action at this time.
0 commit comments