generated from Destiner/starter-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
106 lines (93 loc) · 1.84 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<template>
<div class="app">
<NuxtPage />
<footer />
</div>
</template>
<script setup lang="ts">
import '@fontsource-variable/inter';
import '@fontsource-variable/inconsolata';
</script>
<style>
:root {
--color-text-primary: #ededed;
--color-text-secondary: #a1a1a1;
--color-text-tertiary: #7b7b7b;
--color-text-placeholder: #4d4d4d;
--color-background-primary: #111115;
--color-background-secondary: #171717;
--color-background-tertiary: #1b1b1b;
--color-border-primary: #353535;
--color-border-secondary: #4d4d4d;
--color-error: #ff7375;
--border-radius-tiny: 2px;
--border-radius-small: 4px;
--border-radius-medium: 8px;
--font-size-tiny: 12px;
--font-size-small: 14px;
--font-size-medium: 16px;
--font-size-big: 20px;
--font-sans: 'Inter Variable', -apple-system, 'BlinkMacSystemFont',
avenir next, avenir, segoe ui, helvetica neue, helvetica, 'Ubuntu', roboto,
noto, arial, sans-serif;
--font-serif: 'Iowan Old Style', 'Apple Garamond', 'Baskerville',
'Times New Roman', 'Droid Serif', 'Times', 'Source Serif Pro', serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--font-mono: 'Inconsolata Variable', 'Menlo', 'Consolas', 'Monaco',
'Liberation Mono', 'Lucida Console', monospace;
}
.app {
height: 100vh;
}
body {
height: 100%;
margin: 0;
background: var(--color-background-primary);
color: var(--color-text-primary);
font-family: var(--font-sans);
}
footer {
min-height: 32px;
}
@media (width >= 768px) {
footer {
min-height: 64px;
}
}
/* Reset */
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
height: 100%;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
#app {
isolation: isolate;
}
</style>