-
-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,306 additions
and
1,028 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import antfu from '@antfu/eslint-config' | ||
import unocss from '@unocss/eslint-plugin' | ||
|
||
export default antfu( | ||
{}, | ||
unocss.configs.flat, | ||
{ | ||
unocss: true, | ||
prettier: { | ||
css: true, | ||
html: true, | ||
}, | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="apple-touch-icon" href="/pwa-192x192.png"> | ||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00aba9"> | ||
<meta name="msapplication-TileColor" content="#00aba9"> | ||
<script> | ||
(function () { | ||
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches | ||
const setting = localStorage.getItem('vueuse-color-scheme') || 'auto' | ||
if (setting === 'dark' || (prefersDark && setting !== 'light')) | ||
document.documentElement.classList.toggle('dark', true) | ||
})() | ||
</script> | ||
</head> | ||
<body class="font-sans"> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
<noscript>This website requires JavaScript to function properly. Please enable JavaScript to continue.</noscript> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="apple-touch-icon" href="/pwa-192x192.png" /> | ||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00aba9" /> | ||
<meta name="msapplication-TileColor" content="#00aba9" /> | ||
<script> | ||
;(function () { | ||
const prefersDark = | ||
window.matchMedia && | ||
window.matchMedia('(prefers-color-scheme: dark)').matches | ||
const setting = localStorage.getItem('vueuse-color-scheme') || 'auto' | ||
if (setting === 'dark' || (prefersDark && setting !== 'light')) | ||
document.documentElement.classList.toggle('dark', true) | ||
})() | ||
</script> | ||
</head> | ||
<body class="font-sans"> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
<noscript> | ||
This website requires JavaScript to function properly. Please enable | ||
JavaScript to continue. | ||
</noscript> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.