-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
87 lines (73 loc) · 1.41 KB
/
app.vue
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<template>
<div>
<UiToast />
<NuxtPage />
</div>
</template>
<script setup lang="ts">
import { keyboard } from "wrdu-keyboard";
onMounted(async () => {
keyboard.init();
});
</script>
<style lang="scss">
:root {
--background: #191919;
--element: #2b2b2b;
--border: #ffffff1a;
--accent: #ff6200;
--text: #e6e6e6;
--text-secondary: #a6a6a6;
--text-muted: #666666;
}
@font-face {
font-family: ChivoMono;
src: url("/fonts/ChivoMono.woff2") format("woff2");
font-display: swap;
font-weight: normal;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: Outfit;
src: url("/fonts/Outfit.woff2") format("woff2");
font-display: swap;
font-weight: normal;
font-style: normal;
font-weight: 100 900;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--background);
color: var(--text);
font-size: 14px;
font-family: Outfit;
overflow-x: hidden;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
scrollbar-color: var(--text-secondary) transparent;
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-track {
background: var(--background);
}
&::-webkit-scrollbar-thumb {
background: var(--text-secondary);
}
}
button,
input {
font-family: Outfit;
font-size: 14px;
}
a {
text-decoration: none;
color: var(--text);
}
</style>