Tree titles now have hover. Fixed primary color theme switching

This commit is contained in:
Stefan Zermatten
2021-03-28 13:09:47 +02:00
parent 3c26bb2fc6
commit 292d3c3f37
3 changed files with 12 additions and 7 deletions

View File

@@ -159,8 +159,14 @@
transition: none !important;
}
.theme--light .tree-node-title:hover {
background: rgba(0,0,0,.04);
background-color: rgba(0,0,0,.04);
}
.theme--dark .tree-node-title:hover {
background-color: rgba(255,255,255,.04);
}
.tree-node-title{
transition: background ease 0.3s, color ease 0.15s;
}
.tree-node-title, .dummy-node {
height: 40px;
}

View File

@@ -1,8 +1,5 @@
<template>
<v-app
:dark="darkMode"
:light="!darkMode"
>
<v-app>
<v-navigation-drawer
v-model="drawer"
app
@@ -106,7 +103,9 @@
darkMode: {
immediate: true,
handler(newDarkModeValue){
this.$vuetify.theme.dark = newDarkModeValue;
if (typeof newDarkModeValue === 'boolean'){
this.$vuetify.theme.dark = newDarkModeValue;
}
},
},
'$route' (to) {

View File

@@ -47,8 +47,8 @@ Meteor.startup(() => {
store,
vuetify: new Vuetify({
theme: {
dark: false,
themes,
options: { variations: false },
//options: { customProperties: true },
},
icons: {