Skip to content

Commit 701c4fd

Browse files
authored
docs(material/list): Update description for color input description on API page (angular#29327)
1 parent 771745c commit 701c4fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/material/list/list-option.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,13 @@ export class MatListOption extends MatListItemBase implements ListOption, OnInit
129129
this.togglePosition = value;
130130
}
131131

132-
/** Theme color of the list option. This sets the color of the checkbox/radio. */
132+
/**
133+
* Theme color of the list option. This sets the color of the checkbox/radio.
134+
* This API is supported in M2 themes only, it has no effect in M3 themes.
135+
*
136+
* For information on applying color variants in M3, see
137+
* https://material.angular.io/guide/theming#using-component-color-variants.
138+
*/
133139
@Input()
134140
get color(): ThemePalette {
135141
return this._color || this._selectionList.color;

0 commit comments

Comments
 (0)