Misc cleanup, more definitions of color with scss variables and added a lot of color transitions for when switching theme color.

This commit is contained in:
2019-10-22 23:07:21 +02:00
parent f8c284cd71
commit c454d9c9e0
14 changed files with 68 additions and 61 deletions

View File

@@ -53,15 +53,15 @@ export default {
data(){
return{
userLoggedIn: '',
plexUsername: undefined,
plexPassword: undefined,
newPass: undefined,
newPassConfirm: undefined
messages: [],
plexUsername: null,
plexPassword: null,
newPassword: null,
newPasswordRepeat: null
}
},
methods: {
setValue(l, t) {
console.log('l, t', l, t)
this[l] = t
},
changePassword() {
@@ -82,8 +82,6 @@ export default {
}
},
created(){
document.title = 'Settings' + storage.pageTitlePostfix;
storage.backTitle = document.title;
if (localStorage.getItem('token')){
this.userLoggedIn = true
}
@@ -94,6 +92,7 @@ export default {
<style lang="scss" scoped>
@import "./src/scss/variables";
@import "./src/scss/media-queries";
a {
text-decoration: none;
}