diff --git a/components.d.ts b/components.d.ts index 1a8a842..cb3949a 100644 --- a/components.d.ts +++ b/components.d.ts @@ -17,6 +17,8 @@ declare module 'vue' { MyComponent: typeof import('./src/components/MyComponent.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + StarTrails: typeof import('./src/components/StarTrails.vue')['default'] + StraTrails: typeof import('./src/components/StraTrails.vue')['default'] TheWelcome: typeof import('./src/components/TheWelcome.vue')['default'] WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default'] } diff --git a/src/App.vue b/src/App.vue index 8527492..25f7fa2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,35 +1,21 @@ diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 50085cf..7e86790 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -1,28 +1,11 @@ -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; +* { + padding: 0; + margin: 0; } -// 浅色 -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } +body { + font-family: pingfang sc, helvetica, arial, sans-serif; + font-size: 16px; + line-height: 1.6; + color: #333; } diff --git a/src/components/MyComponent.vue b/src/components/MyComponent.vue deleted file mode 100644 index e249ab5..0000000 --- a/src/components/MyComponent.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - diff --git a/src/components/StarTrails.vue b/src/components/StarTrails.vue new file mode 100644 index 0000000..3a788d0 --- /dev/null +++ b/src/components/StarTrails.vue @@ -0,0 +1,124 @@ + + + + +