mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
* update material2 beta12 update angular2 4.4.5 * fix changed version js-api * update types hammerjs * fix test * clean old doc * fix pagination test * fix test * missing update packages * fix <mat-form-field> for select box * start task component test
18 lines
880 B
HTML
18 lines
880 B
HTML
<button mat-icon-button [mat-menu-trigger-for]="themeMenu" matTooltip="Select a theme!">
|
|
<mat-icon>format_color_fill</mat-icon>
|
|
</button>
|
|
|
|
<mat-menu class="docs-theme-picker-menu" #themeMenu="matMenu" x-position="before">
|
|
<mat-list-item *ngFor="let theme of themes" mat-menu-item (click)="installTheme(theme)" >
|
|
<mat-icon mat-list-icon [matTooltip]="theme.name" class="docs-theme-chosen-icon" [style.color]="theme.accent"
|
|
[style.background]="theme.primary"
|
|
*ngIf="currentTheme === theme">check_circle
|
|
</mat-icon>
|
|
<mat-icon mat-list-icon [matTooltip]="theme.name" class="docs-theme-chosen-icon" [style.color]="theme.accent"
|
|
[style.background]="theme.primary"
|
|
*ngIf="currentTheme !== theme">invert_colors
|
|
</mat-icon>
|
|
{{theme.name}}
|
|
</mat-list-item>
|
|
</mat-menu>
|