add icons for theme

This commit is contained in:
Peter Maquiran
2021-10-25 10:53:01 +01:00
parent 1413537df6
commit 342201ae61
57 changed files with 160 additions and 50 deletions
@@ -9,7 +9,8 @@
<ion-label class="title">{{LoadedDocument.Assunto}}</ion-label>
</div>
<div class="div-icon" (click)="openOptions()">
<ion-icon class="font-25 cursor-pointer" src="assets/images/icons-menu.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-25 cursor-pointer" src="assets/images/icons-menu.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-25 cursor-pointer" src="assets/images/theme/gov/icons-menu.svg"></ion-icon>
<!-- <ion-icon class="font-25 cursor-pointer" src="assets/images/theme/gov/icons-menu.svg"></ion-icon> -->
</div>
</div>
@@ -11,6 +11,8 @@ import { PermissionService } from 'src/app/services/worker/permission.service';
import { SearchedDocumentOptionsPage } from 'src/app/shared/popover/searched-document-options/searched-document-options.page';
import { Location } from '@angular/common';
import { ViewDocumentPage } from '../view-document/view-document.page';
import { ThemeService } from 'src/app/services/theme.service'
@Component({
selector: 'app-document-detail',
@@ -45,6 +47,7 @@ export class DocumentDetailPage implements OnInit {
public p: PermissionService,
private popoverController: PopoverController,
private location: Location,
public ThemeService: ThemeService
) {
this.docId = this.navParams.get('docId');
this.applicationId = this.navParams.get('applicationId');
@@ -60,7 +60,7 @@
<div class="profile-title d-flex justify-space-between align-center width-100">
<div class="d-flex align-center">
<div class="btn-close d-flex cursor-pointer" (click)="changeTheme('gov')">
<div class="btn-close d-flex cursor-pointer" (click)="changeTheme('gov')" style="background-color: red;">
<ion-icon class="icon" src="assets/images/icons-search-close.svg"></ion-icon>
</div>