From ee8d003b55f1db65ff78b132043c95907e2e3c49 Mon Sep 17 00:00:00 2001 From: Fractal-Tess Date: Wed, 21 Dec 2022 02:56:56 +0200 Subject: [PATCH] styles --- src/main.ts | 5 +++-- src/{styles/app.postcss => styles.postcss} | 0 tsconfig.json | 1 - vite.config.ts | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) rename src/{styles/app.postcss => styles.postcss} (100%) diff --git a/src/main.ts b/src/main.ts index 12e87d8..4ce7112 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,8 +1,9 @@ -import '$styles'; +import './styles.postcss'; import App from './App.svelte'; const app = new App({ - target: document.getElementById('app') + target: document.getElementById('app'), + intro: true }); export default app; diff --git a/src/styles/app.postcss b/src/styles.postcss similarity index 100% rename from src/styles/app.postcss rename to src/styles.postcss diff --git a/tsconfig.json b/tsconfig.json index b80ea9b..1ec6eeb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,6 @@ "$router/*": ["src/lib/router/*"], "$layout/*": ["src/lib/layout/*"], "$data/*": ["src/lib/data/*"], - "$styles": ["src/styles/app.postcss"], "$types": ["src/types.ts"] } }, diff --git a/vite.config.ts b/vite.config.ts index 799c10e..5d8185e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -13,7 +13,6 @@ export default defineConfig({ $router: join(__dirname, 'src/lib/router'), $layout: join(__dirname, 'src/lib/layout'), $data: join(__dirname, 'src/lib/data'), - $styles: join(__dirname, 'src/styles/app.postcss'), $types: join(__dirname, 'src/lib/types') } },