Merge branch 'themesDeveloper' of bitbucket.org:equilibriumito/gabinete-digital into themesDeveloper

This commit is contained in:
Peter Maquiran
2021-10-26 17:23:50 +01:00
28 changed files with 46 additions and 27 deletions
+8 -3
View File
@@ -9,7 +9,8 @@ import { NotificationsService } from 'src/app/services/notifications.service';
import { SessionStore } from 'src/app/store/session.service';
import { ClearStoreService } from 'src/app/services/clear-store.service';
import { ChangeProfileService } from 'src/app/services/change-profile.service';
import { ThemeService } from 'src/app/services/theme.service'
import { ThemeService } from 'src/app/services/theme.service';
import { StorageService } from 'src/app/services/storage.service'
@Component({
selector: 'app-login',
@@ -37,11 +38,15 @@ export class LoginPage implements OnInit {
public alertController: AlertController,
private clearStoreService: ClearStoreService,
private changeProfileService: ChangeProfileService,
public ThemeService: ThemeService
public themeservice: ThemeService,
private storageservice: StorageService
) {}
ngOnInit() {
this.storageservice.get('theme').then((theme) =>{
console.log('LOGIN THEME',theme)
this.themeservice.setTheme(theme)
})
}
//Function to validade the login inputs
@@ -177,7 +177,7 @@ ion-toolbar{
}
.item:hover{
background-color: #e6f6ff75;
background-color: var(--box-hover-background-color) !important;
}
ion-item-options{