-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.vue
More file actions
68 lines (60 loc) · 1.39 KB
/
Copy pathapp.vue
File metadata and controls
68 lines (60 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<template>
<div class="relative min-h-screen text-slate-900 dark:text-slate-50 font-sans transition-colors duration-500">
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<Toast />
</div>
</template>
<script setup>
import ColorModeToggle from './components/ColorModeToggle.vue'
import Toast from './components/Toast.vue'
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root {
font-family: 'Plus Jakarta Sans', sans-serif;
}
body {
background-color: #f8fafc; /* slate-50 */
color: #0f172a; /* slate-900 */
margin: 0;
transition: background-color 0.5s, color 0.5s;
}
.dark body {
background-color: #020617; /* slate-950 */
color: #f8fafc; /* slate-50 */
}
.page-enter-active,
.page-leave-active {
transition: all 0.4s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(1rem);
}
::selection {
background-color: rgba(99, 102, 241, 0.3);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #e2e8f0; /* slate-200 */
border-radius: 10px;
}
.dark ::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb:hover {
background: #cbd5e1; /* slate-300 */
}
.dark ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.1);
}
</style>