Skip to content

Commit

Permalink
Set up zero config method A
Browse files Browse the repository at this point in the history
Resolves #895.
  • Loading branch information
EthanThatOneKid committed Sep 5, 2023
1 parent 3d14b0f commit 37976c9
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 3 deletions.
197 changes: 197 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.3.6",
"vite-plugin-webfont-dl": "^3.7.6",
"vitest": "^0.32.2"
},
"dependencies": {
Expand Down
7 changes: 7 additions & 0 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
<meta name="msapplication-config" content="/browserconfig.xml" />
<meta name="theme-color" content="#000" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700"
rel="stylesheet"
/>

<link rel="stylesheet" href="/global.css" />
%sveltekit.head%
</head>
Expand Down
2 changes: 0 additions & 2 deletions static/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700');

:root {
--acm-sky: #38b6ff;
--acm-blue: #2c91c6;
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config';
import webfontDownload from 'vite-plugin-webfont-dl';

export default defineConfig({
plugins: [sveltekit()],
plugins: [sveltekit(), webfontDownload()],
test: {
include: ['src/**/*.{test,spec}.{js,ts}'],
},
Expand Down

0 comments on commit 37976c9

Please sign in to comment.