Skip to content

Commit e23df8c

Browse files
authored
Make dashboard theme transition smooth and fix link color (#2046)
1 parent 22490b8 commit e23df8c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

photon-client/src/components/dashboard/ConfigOptions.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ const onBeforeTabUpdate = () => {
151151
</template>
152152

153153
<style>
154+
.v-slide-group {
155+
transition-duration: 0.28s;
156+
transition-property: box-shadow, opacity, background;
157+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
158+
}
154159
.v-slide-group__next--disabled,
155160
.v-slide-group__prev--disabled {
156161
display: none !important;

photon-client/src/views/DashboardView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const showCameraSetupDialog = ref(useCameraSettingsStore().needsCameraConfigurat
126126
<v-card-title>Set up some cameras to get started!</v-card-title>
127127
<v-card-text class="pt-0">
128128
No cameras activated - head to the
129-
<router-link to="/cameraConfigs" color="buttonActive">camera matching tab</router-link> to set some up!
129+
<router-link to="/cameraConfigs">camera matching tab</router-link> to set some up!
130130
</v-card-text>
131131
</v-card>
132132
</v-dialog>
@@ -135,6 +135,7 @@ const showCameraSetupDialog = ref(useCameraSettingsStore().needsCameraConfigurat
135135

136136
<style scoped>
137137
a:link {
138+
color: rgb(var(--v-theme-buttonActive));
138139
background-color: transparent;
139140
text-decoration: none;
140141
}

0 commit comments

Comments
 (0)