Skip to content

Commit

Permalink
⬆️
Browse files Browse the repository at this point in the history
  • Loading branch information
nanarino committed Feb 2, 2024
1 parent 23a5b5d commit 30746d9
Show file tree
Hide file tree
Showing 20 changed files with 733 additions and 682 deletions.
8 changes: 4 additions & 4 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/// <reference types="vite/client" />

interface ImportMetaEnv {
readonly VITE_ABC_GITHUB_REPOSITORY_BASE_URL: string
readonly VITE_ABC_DIRECTORY_PATH: string
readonly VITE_INDEX_ABC_PATH: string
readonly VITE_ABC_GITHUB_REPOSITORY_BASE_URL: string;
readonly VITE_ABC_DIRECTORY_PATH: string;
readonly VITE_INDEX_ABC_PATH: string;
}

interface ImportMeta {
readonly env: ImportMetaEnv
readonly env: ImportMetaEnv;
}
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
get: () =>
localStorage.getItem("theme") ??
["dark", "light"][
+!window.matchMedia?.("(prefers-color-scheme: dark)")
?.matches
+!window.matchMedia?.("(prefers-color-scheme: dark)")?.matches
],
});
document.documentElement.dataset["theme"] = window.theme;
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
},
"license": "MIT",
"devDependencies": {
"@unocss/preset-attributify": "^0.50.8",
"@unocss/reset": "^0.50.8",
"sass": "^1.69.7",
"@unocss/preset-attributify": "^0.58.3",
"@unocss/reset": "^0.58.3",
"sass": "^1.70.0",
"typescript": "^4.9.5",
"unocss": "^0.50.8",
"vite": "^4.5.1",
"unocss": "^0.58.3",
"vite": "^4.5.2",
"vite-plugin-solid": "^2.8.0"
},
"dependencies": {
"abcjs": "^6.2.3",
"nanarinostyl": "^0.2.7",
"nanarinostyl": "^0.2.11",
"solid-js": "^1.8.10"
}
}
Loading

0 comments on commit 30746d9

Please sign in to comment.