File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
ADF_1.8.0/adf-demo-partner-summit/app/components/theme-picker Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
- < button md -icon-button [md -menu-trigger-for] ="themeMenu " mdTooltip ="Select a theme! ">
2
- < md -icon> format_color_fill</ md -icon>
1
+ < button mat -icon-button [mat -menu-trigger-for] ="themeMenu " matTooltip ="Select a theme! ">
2
+ < mat -icon> format_color_fill</ mat -icon>
3
3
</ button >
4
4
5
- < md -menu class ="docs-theme-picker-menu " #themeMenu ="mdMenu " x-position ="before ">
6
- < md-list-item *ngFor ="let theme of themes " md -menu-item (click) ="installTheme(theme) " >
7
- < md -icon md -list-icon [mdTooltip ] ="theme.name " class ="docs-theme-chosen-icon " [style.color] ="theme.accent "
8
- [style.background] ="theme.primary "
9
- *ngIf ="currentTheme === theme "> check_circle
10
- </ md -icon>
11
- < md -icon md -list-icon [mdTooltip ] ="theme.name " class ="docs-theme-chosen-icon " [style.color] ="theme.accent "
12
- [style.background] ="theme.primary "
13
- *ngIf ="currentTheme !== theme "> invert_colors
14
- </ md -icon>
5
+ < mat -menu class ="docs-theme-picker-menu " #themeMenu ="matMenu " x-position ="before ">
6
+ < button *ngFor ="let theme of themes " mat -menu-item (click) ="installTheme(theme) " >
7
+ < mat -icon mat -list-icon [matTooltip ] ="theme.name " class ="docs-theme-chosen-icon " [style.color] ="theme.accent "
8
+ [style.background] ="theme.primary "
9
+ *ngIf ="currentTheme === theme "> check_circle
10
+ </ mat -icon>
11
+ < mat -icon mat -list-icon [matTooltip ] ="theme.name " class ="docs-theme-chosen-icon " [style.color] ="theme.accent "
12
+ [style.background] ="theme.primary "
13
+ *ngIf ="currentTheme !== theme "> invert_colors
14
+ </ mat -icon>
15
15
{{theme.name}}
16
- </ md-list-item >
17
- </ md -menu>
16
+ </ button >
17
+ </ mat -menu>
You can’t perform that action at this time.
0 commit comments