File tree 2 files changed +11
-8
lines changed
2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ $prefix: (mat, list);
10
10
@return (
11
11
// active indicator themable with M3
12
12
active- indicator- color: transparent ,
13
- active- indicator- shape: 0 ,
13
+ active- indicator- shape: 4 px ,
14
14
);
15
15
}
16
16
Original file line number Diff line number Diff line change @@ -200,18 +200,21 @@ mat-action-list button {
200
200
}
201
201
}
202
202
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 ()) {
205
204
.mdc-list-item--with-leading-icon .mdc-list-item__start {
206
205
@include token-utils .create-token-slot (margin-inline-start , list- item- leading- icon- start- space);
207
206
@include token-utils .create-token-slot (margin-inline-end , list- item- leading- icon- end- space);
208
207
}
209
208
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);
215
218
}
216
219
}
217
220
}
You can’t perform that action at this time.
0 commit comments