create-vue 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/outfile.cjs +166 -2819
- package/package.json +4 -4
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/package.json +1 -1
- package/template/{code/default → base}/src/assets/base.css +0 -0
- package/template/{code/default → base}/src/assets/logo.svg +0 -0
- package/template/base/src/assets/main.css +35 -0
- package/template/code/default/src/App.vue +5 -39
- package/template/code/router/src/App.vue +6 -40
- package/template/code/typescript-default/src/App.vue +5 -39
- package/template/code/typescript-router/src/App.vue +6 -40
- package/template/config/cypress/node_modules/.bin/cypress +2 -2
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/cypress/support/component.js +3 -0
- package/template/config/cypress-ct/cypress/support/component.ts +3 -0
- package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
- package/template/config/cypress-ct/package.json +1 -1
- package/template/config/router/package.json +1 -1
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +2 -2
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +2 -2
- package/template/entry/default/src/main.js +2 -0
- package/template/entry/pinia/src/main.js +2 -0
- package/template/entry/router/src/main.js +2 -0
- package/template/entry/router-and-pinia/src/main.js +2 -0
- package/template/code/router/src/assets/base.css +0 -74
- package/template/code/router/src/assets/logo.svg +0 -1
- package/template/code/typescript-default/src/assets/base.css +0 -74
- package/template/code/typescript-default/src/assets/logo.svg +0 -1
- package/template/code/typescript-router/src/assets/base.css +0 -74
- package/template/code/typescript-router/src/assets/logo.svg +0 -1
- package/template/config/vuex/package.json +0 -6
- package/template/config/vuex/src/store/index.js +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "An easy way to start a Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/vuejs/create-vue#readme",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/eslint": "^8.4.
|
|
28
|
+
"@types/eslint": "^8.4.5",
|
|
29
29
|
"@types/prompts": "^2.0.14",
|
|
30
30
|
"@vue/tsconfig": "^0.1.3",
|
|
31
|
-
"esbuild": "^0.14.
|
|
31
|
+
"esbuild": "^0.14.49",
|
|
32
32
|
"esbuild-plugin-license": "^1.2.2",
|
|
33
33
|
"husky": "^8.0.1",
|
|
34
34
|
"kolorist": "^1.5.1",
|
|
35
|
-
"lint-staged": "^13.0.
|
|
35
|
+
"lint-staged": "^13.0.3",
|
|
36
36
|
"minimist": "^1.2.6",
|
|
37
37
|
"npm-run-all": "^4.1.5",
|
|
38
38
|
"prettier": "^2.7.1",
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@2.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@2.9.14/node_modules/vite/bin/vite.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.14/node_modules/vite/bin/vite.js" "$@"
|
|
17
17
|
fi
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@import "./base.css";
|
|
2
|
+
|
|
3
|
+
#app {
|
|
4
|
+
max-width: 1280px;
|
|
5
|
+
margin: 0 auto;
|
|
6
|
+
padding: 2rem;
|
|
7
|
+
|
|
8
|
+
font-weight: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
a,
|
|
12
|
+
.green {
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
color: hsla(160, 100%, 37%, 1);
|
|
15
|
+
transition: 0.4s;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (hover: hover) {
|
|
19
|
+
a:hover {
|
|
20
|
+
background-color: hsla(160, 100%, 37%, 0.2);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (min-width: 1024px) {
|
|
25
|
+
body {
|
|
26
|
+
display: flex;
|
|
27
|
+
place-items: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#app {
|
|
31
|
+
display: grid;
|
|
32
|
+
grid-template-columns: 1fr 1fr;
|
|
33
|
+
padding: 0 2rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -17,17 +17,7 @@ import TheWelcome from './components/TheWelcome.vue'
|
|
|
17
17
|
</main>
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
|
-
<style>
|
|
21
|
-
@import './assets/base.css';
|
|
22
|
-
|
|
23
|
-
#app {
|
|
24
|
-
max-width: 1280px;
|
|
25
|
-
margin: 0 auto;
|
|
26
|
-
padding: 2rem;
|
|
27
|
-
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
}
|
|
30
|
-
|
|
20
|
+
<style scoped>
|
|
31
21
|
header {
|
|
32
22
|
line-height: 1.5;
|
|
33
23
|
}
|
|
@@ -37,45 +27,21 @@ header {
|
|
|
37
27
|
margin: 0 auto 2rem;
|
|
38
28
|
}
|
|
39
29
|
|
|
40
|
-
a,
|
|
41
|
-
.green {
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
color: hsla(160, 100%, 37%, 1);
|
|
44
|
-
transition: 0.4s;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (hover: hover) {
|
|
48
|
-
a:hover {
|
|
49
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
30
|
@media (min-width: 1024px) {
|
|
54
|
-
body {
|
|
55
|
-
display: flex;
|
|
56
|
-
place-items: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#app {
|
|
60
|
-
display: grid;
|
|
61
|
-
grid-template-columns: 1fr 1fr;
|
|
62
|
-
padding: 0 2rem;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
31
|
header {
|
|
66
32
|
display: flex;
|
|
67
33
|
place-items: center;
|
|
68
34
|
padding-right: calc(var(--section-gap) / 2);
|
|
69
35
|
}
|
|
70
36
|
|
|
37
|
+
.logo {
|
|
38
|
+
margin: 0 2rem 0 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
71
41
|
header .wrapper {
|
|
72
42
|
display: flex;
|
|
73
43
|
place-items: flex-start;
|
|
74
44
|
flex-wrap: wrap;
|
|
75
45
|
}
|
|
76
|
-
|
|
77
|
-
.logo {
|
|
78
|
-
margin: 0 2rem 0 0;
|
|
79
|
-
}
|
|
80
46
|
}
|
|
81
47
|
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { RouterLink, RouterView } from 'vue-router'
|
|
3
|
-
import HelloWorld from '
|
|
3
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
4
4
|
</script>
|
|
5
5
|
|
|
6
6
|
<template>
|
|
@@ -20,17 +20,7 @@ import HelloWorld from '@/components/HelloWorld.vue'
|
|
|
20
20
|
<RouterView />
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
|
-
<style>
|
|
24
|
-
@import '@/assets/base.css';
|
|
25
|
-
|
|
26
|
-
#app {
|
|
27
|
-
max-width: 1280px;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
padding: 2rem;
|
|
30
|
-
|
|
31
|
-
font-weight: normal;
|
|
32
|
-
}
|
|
33
|
-
|
|
23
|
+
<style scoped>
|
|
34
24
|
header {
|
|
35
25
|
line-height: 1.5;
|
|
36
26
|
max-height: 100vh;
|
|
@@ -41,19 +31,6 @@ header {
|
|
|
41
31
|
margin: 0 auto 2rem;
|
|
42
32
|
}
|
|
43
33
|
|
|
44
|
-
a,
|
|
45
|
-
.green {
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
color: hsla(160, 100%, 37%, 1);
|
|
48
|
-
transition: 0.4s;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@media (hover: hover) {
|
|
52
|
-
a:hover {
|
|
53
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
34
|
nav {
|
|
58
35
|
width: 100%;
|
|
59
36
|
font-size: 12px;
|
|
@@ -80,33 +57,22 @@ nav a:first-of-type {
|
|
|
80
57
|
}
|
|
81
58
|
|
|
82
59
|
@media (min-width: 1024px) {
|
|
83
|
-
body {
|
|
84
|
-
display: flex;
|
|
85
|
-
place-items: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#app {
|
|
89
|
-
display: grid;
|
|
90
|
-
grid-template-columns: 1fr 1fr;
|
|
91
|
-
padding: 0 2rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
60
|
header {
|
|
95
61
|
display: flex;
|
|
96
62
|
place-items: center;
|
|
97
63
|
padding-right: calc(var(--section-gap) / 2);
|
|
98
64
|
}
|
|
99
65
|
|
|
66
|
+
.logo {
|
|
67
|
+
margin: 0 2rem 0 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
100
70
|
header .wrapper {
|
|
101
71
|
display: flex;
|
|
102
72
|
place-items: flex-start;
|
|
103
73
|
flex-wrap: wrap;
|
|
104
74
|
}
|
|
105
75
|
|
|
106
|
-
.logo {
|
|
107
|
-
margin: 0 2rem 0 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
76
|
nav {
|
|
111
77
|
text-align: left;
|
|
112
78
|
margin-left: -1rem;
|
|
@@ -17,17 +17,7 @@ import TheWelcome from './components/TheWelcome.vue'
|
|
|
17
17
|
</main>
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
|
-
<style>
|
|
21
|
-
@import './assets/base.css';
|
|
22
|
-
|
|
23
|
-
#app {
|
|
24
|
-
max-width: 1280px;
|
|
25
|
-
margin: 0 auto;
|
|
26
|
-
padding: 2rem;
|
|
27
|
-
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
}
|
|
30
|
-
|
|
20
|
+
<style scoped>
|
|
31
21
|
header {
|
|
32
22
|
line-height: 1.5;
|
|
33
23
|
}
|
|
@@ -37,45 +27,21 @@ header {
|
|
|
37
27
|
margin: 0 auto 2rem;
|
|
38
28
|
}
|
|
39
29
|
|
|
40
|
-
a,
|
|
41
|
-
.green {
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
color: hsla(160, 100%, 37%, 1);
|
|
44
|
-
transition: 0.4s;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (hover: hover) {
|
|
48
|
-
a:hover {
|
|
49
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
30
|
@media (min-width: 1024px) {
|
|
54
|
-
body {
|
|
55
|
-
display: flex;
|
|
56
|
-
place-items: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#app {
|
|
60
|
-
display: grid;
|
|
61
|
-
grid-template-columns: 1fr 1fr;
|
|
62
|
-
padding: 0 2rem;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
31
|
header {
|
|
66
32
|
display: flex;
|
|
67
33
|
place-items: center;
|
|
68
34
|
padding-right: calc(var(--section-gap) / 2);
|
|
69
35
|
}
|
|
70
36
|
|
|
37
|
+
.logo {
|
|
38
|
+
margin: 0 2rem 0 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
71
41
|
header .wrapper {
|
|
72
42
|
display: flex;
|
|
73
43
|
place-items: flex-start;
|
|
74
44
|
flex-wrap: wrap;
|
|
75
45
|
}
|
|
76
|
-
|
|
77
|
-
.logo {
|
|
78
|
-
margin: 0 2rem 0 0;
|
|
79
|
-
}
|
|
80
46
|
}
|
|
81
47
|
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { RouterLink, RouterView } from 'vue-router'
|
|
3
|
-
import HelloWorld from '
|
|
3
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
4
4
|
</script>
|
|
5
5
|
|
|
6
6
|
<template>
|
|
@@ -20,17 +20,7 @@ import HelloWorld from '@/components/HelloWorld.vue'
|
|
|
20
20
|
<RouterView />
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
|
-
<style>
|
|
24
|
-
@import '@/assets/base.css';
|
|
25
|
-
|
|
26
|
-
#app {
|
|
27
|
-
max-width: 1280px;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
padding: 2rem;
|
|
30
|
-
|
|
31
|
-
font-weight: normal;
|
|
32
|
-
}
|
|
33
|
-
|
|
23
|
+
<style scoped>
|
|
34
24
|
header {
|
|
35
25
|
line-height: 1.5;
|
|
36
26
|
max-height: 100vh;
|
|
@@ -41,19 +31,6 @@ header {
|
|
|
41
31
|
margin: 0 auto 2rem;
|
|
42
32
|
}
|
|
43
33
|
|
|
44
|
-
a,
|
|
45
|
-
.green {
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
color: hsla(160, 100%, 37%, 1);
|
|
48
|
-
transition: 0.4s;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@media (hover: hover) {
|
|
52
|
-
a:hover {
|
|
53
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
34
|
nav {
|
|
58
35
|
width: 100%;
|
|
59
36
|
font-size: 12px;
|
|
@@ -80,33 +57,22 @@ nav a:first-of-type {
|
|
|
80
57
|
}
|
|
81
58
|
|
|
82
59
|
@media (min-width: 1024px) {
|
|
83
|
-
body {
|
|
84
|
-
display: flex;
|
|
85
|
-
place-items: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#app {
|
|
89
|
-
display: grid;
|
|
90
|
-
grid-template-columns: 1fr 1fr;
|
|
91
|
-
padding: 0 2rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
60
|
header {
|
|
95
61
|
display: flex;
|
|
96
62
|
place-items: center;
|
|
97
63
|
padding-right: calc(var(--section-gap) / 2);
|
|
98
64
|
}
|
|
99
65
|
|
|
66
|
+
.logo {
|
|
67
|
+
margin: 0 2rem 0 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
100
70
|
header .wrapper {
|
|
101
71
|
display: flex;
|
|
102
72
|
place-items: flex-start;
|
|
103
73
|
flex-wrap: wrap;
|
|
104
74
|
}
|
|
105
75
|
|
|
106
|
-
.logo {
|
|
107
|
-
margin: 0 2rem 0 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
76
|
nav {
|
|
111
77
|
text-align: left;
|
|
112
78
|
margin-left: -1rem;
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
17
17
|
fi
|
|
@@ -19,6 +19,9 @@ import './commands'
|
|
|
19
19
|
// Alternatively you can use CommonJS syntax:
|
|
20
20
|
// require('./commands')
|
|
21
21
|
|
|
22
|
+
// Import global styles
|
|
23
|
+
import '@/assets/main.css'
|
|
24
|
+
|
|
22
25
|
import { mount } from 'cypress/vue'
|
|
23
26
|
|
|
24
27
|
// Augment the Cypress namespace to include type definitions for
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.4_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.4_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.0_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.0_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
|
|
17
17
|
fi
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/* color palette from <https://github.com/vuejs/theme> */
|
|
2
|
-
:root {
|
|
3
|
-
--vt-c-white: #ffffff;
|
|
4
|
-
--vt-c-white-soft: #f8f8f8;
|
|
5
|
-
--vt-c-white-mute: #f2f2f2;
|
|
6
|
-
|
|
7
|
-
--vt-c-black: #181818;
|
|
8
|
-
--vt-c-black-soft: #222222;
|
|
9
|
-
--vt-c-black-mute: #282828;
|
|
10
|
-
|
|
11
|
-
--vt-c-indigo: #2c3e50;
|
|
12
|
-
|
|
13
|
-
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
|
|
14
|
-
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
|
|
15
|
-
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
|
|
16
|
-
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
|
|
17
|
-
|
|
18
|
-
--vt-c-text-light-1: var(--vt-c-indigo);
|
|
19
|
-
--vt-c-text-light-2: rgba(60, 60, 60, 0.66);
|
|
20
|
-
--vt-c-text-dark-1: var(--vt-c-white);
|
|
21
|
-
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* semantic color variables for this project */
|
|
25
|
-
:root {
|
|
26
|
-
--color-background: var(--vt-c-white);
|
|
27
|
-
--color-background-soft: var(--vt-c-white-soft);
|
|
28
|
-
--color-background-mute: var(--vt-c-white-mute);
|
|
29
|
-
|
|
30
|
-
--color-border: var(--vt-c-divider-light-2);
|
|
31
|
-
--color-border-hover: var(--vt-c-divider-light-1);
|
|
32
|
-
|
|
33
|
-
--color-heading: var(--vt-c-text-light-1);
|
|
34
|
-
--color-text: var(--vt-c-text-light-1);
|
|
35
|
-
|
|
36
|
-
--section-gap: 160px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@media (prefers-color-scheme: dark) {
|
|
40
|
-
:root {
|
|
41
|
-
--color-background: var(--vt-c-black);
|
|
42
|
-
--color-background-soft: var(--vt-c-black-soft);
|
|
43
|
-
--color-background-mute: var(--vt-c-black-mute);
|
|
44
|
-
|
|
45
|
-
--color-border: var(--vt-c-divider-dark-2);
|
|
46
|
-
--color-border-hover: var(--vt-c-divider-dark-1);
|
|
47
|
-
|
|
48
|
-
--color-heading: var(--vt-c-text-dark-1);
|
|
49
|
-
--color-text: var(--vt-c-text-dark-2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
*,
|
|
54
|
-
*::before,
|
|
55
|
-
*::after {
|
|
56
|
-
box-sizing: border-box;
|
|
57
|
-
margin: 0;
|
|
58
|
-
position: relative;
|
|
59
|
-
font-weight: normal;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
body {
|
|
63
|
-
min-height: 100vh;
|
|
64
|
-
color: var(--color-text);
|
|
65
|
-
background: var(--color-background);
|
|
66
|
-
transition: color 0.5s, background-color 0.5s;
|
|
67
|
-
line-height: 1.6;
|
|
68
|
-
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
|
|
69
|
-
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
70
|
-
font-size: 15px;
|
|
71
|
-
text-rendering: optimizeLegibility;
|
|
72
|
-
-webkit-font-smoothing: antialiased;
|
|
73
|
-
-moz-osx-font-smoothing: grayscale;
|
|
74
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69" xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
|