Skip to content

Commit

Permalink
feat: 切换到 naive-ui,并提供深色模式支持 (#21)
Browse files Browse the repository at this point in the history
* feat: replace favicon

* build: upgrade dependencies

* feat: add naive-ui and tailwindcss

* feat: migration to naive-ui

* fix: remove ElementPlusResolver

* feat: adapt to tailwindcss dark mode

* fix: fix line number bg color
  • Loading branch information
JustAnotherID authored May 16, 2024
1 parent ac4d6a4 commit 3b67d03
Show file tree
Hide file tree
Showing 24 changed files with 3,312 additions and 890 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dist-ssr
# lock
yarn.lock
package-lock.json
pnpm-lock.yaml

*.log

/.vscode
/.idea
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="zh-cn">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.svg" />
<link rel="icon" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>海豹TRPG跑团着色器</title>
<meta name="referrer" content="never">
Expand Down
57 changes: 31 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,56 @@
{
"name": "element-plus-vite-starter",
"private": true,
"version": "0.1.0",
"version": "2.4.0",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview"
},
"dependencies": {
"@codemirror/autocomplete": "^0.19.14",
"@codemirror/basic-setup": "^0.19.1",
"@codemirror/autocomplete": "^0.19.15",
"@codemirror/basic-setup": "^0.19.3",
"@codemirror/commands": "^0.19.8",
"@codemirror/gutter": "^0.19.9",
"@codemirror/highlight": "^0.19.7",
"@codemirror/highlight": "^0.19.8",
"@codemirror/history": "^0.19.2",
"@codemirror/language": "^0.19.8",
"@codemirror/stream-parser": "^0.19.7",
"@codemirror/language": "^0.19.10",
"@codemirror/stream-parser": "^0.19.9",
"@types/codemirror": "^5.60.15",
"@types/ua-parser-js": "^0.7.36",
"@vitejs/plugin-legacy": "^1.8.0",
"@types/ua-parser-js": "^0.7.39",
"@vitejs/plugin-legacy": "^1.8.2",
"@vueuse/core": "^10.9.0",
"axios": "^0.26.1",
"clipboard": "^2.0.10",
"clipboard": "^2.0.11",
"cm-tarnation": "^0.4.0",
"dayjs": "^1.11.0",
"element-plus": "^2.1.4",
"fflate": "^0.7.3",
"dayjs": "^1.11.11",
"fflate": "^0.7.4",
"file-saver": "^2.0.5",
"format-email": "^0.1.0",
"grapheme-splitter": "^1.0.4",
"lodash-es": "^4.17.21",
"pinia": "^2.0.12",
"ua-parser-js": "^1.0.2",
"vue": "^3.2.31",
"vue-color-kit": "^1.0.5",
"pinia": "^2.1.7",
"ua-parser-js": "^1.0.37",
"vue": "^3.4.27",
"vue-color-kit": "^1.0.6",
"vue3-virtual-scroll-list": "^0.2.1"
},
"devDependencies": {
"@types/file-saver": "^2.0.5",
"@types/lodash-es": "*",
"@types/node": "^17.0.21",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/compiler-sfc": "^3.2.31",
"sass": "^1.49.9",
"typescript": "^4.6.2",
"unplugin-vue-components": "^0.18.0",
"vite": "^2.8.6",
"vue-tsc": "^1.0.11"
"@types/file-saver": "^2.0.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^17.0.45",
"@vicons/carbon": "^0.12.0",
"@vitejs/plugin-vue": "^2.3.4",
"@vue/compiler-sfc": "^3.4.27",
"autoprefixer": "^10.4.19",
"naive-ui": "^2.38.2",
"postcss": "^8.4.38",
"sass": "^1.77.1",
"tailwindcss": "^3.4.3",
"typescript": "^4.9.5",
"unplugin-vue-components": "^0.18.5",
"vite": "^2.9.18",
"vue-tsc": "^1.8.27"
},
"license": "MIT"
}
Loading

0 comments on commit 3b67d03

Please sign in to comment.