chore: update color themes and deps

This commit is contained in:
Anthony Fu 2021-01-23 21:13:59 +08:00
parent 2da8fb1e79
commit 023d173192
3 changed files with 60 additions and 59 deletions

View File

@ -8,7 +8,7 @@
"@vueuse/core": "^4.0.8",
"@vueuse/head": "^0.2.3",
"nprogress": "^0.2.0",
"prism-theme-vars": "^0.0.2",
"prism-theme-vars": "^0.1.0",
"vue": "^3.0.5",
"vue-i18n": "^9.0.0-rc.4",
"vue-router": "^4.0.3"
@ -20,7 +20,7 @@
"@tailwindcss/typography": "^0.4.0",
"@types/nprogress": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@vitejs/plugin-vue": "^1.1.0",
"@vitejs/plugin-vue": "^1.1.1",
"@vue/compiler-sfc": "^3.0.5",
"@vue/server-renderer": "^3.0.5",
"autoprefixer": "^10.2.3",
@ -32,11 +32,11 @@
"postcss-nested": "^5.0.3",
"tailwindcss": "^2.0.2",
"typescript": "^4.1.3",
"vite": "2.0.0-beta.36",
"vite": "2.0.0-beta.44",
"vite-plugin-components": "^0.6.6",
"vite-plugin-icons": "^0.2.1",
"vite-plugin-md": "^0.4.1",
"vite-plugin-pages": "^0.1.5",
"vite-plugin-pages": "^0.1.7",
"vite-plugin-pwa": "^0.3.9",
"vite-ssg": "^0.4.1"
},

View File

@ -2,7 +2,7 @@ dependencies:
'@vueuse/core': 4.0.8_vue@3.0.5
'@vueuse/head': 0.2.3_vue@3.0.5
nprogress: 0.2.0
prism-theme-vars: 0.0.2
prism-theme-vars: 0.1.0
vue: 3.0.5
vue-i18n: 9.0.0-rc.4_vue@3.0.5
vue-router: 4.0.3_vue@3.0.5
@ -13,7 +13,7 @@ devDependencies:
'@tailwindcss/typography': 0.4.0_tailwindcss@2.0.2
'@types/nprogress': 0.2.0
'@typescript-eslint/eslint-plugin': 4.14.0_eslint@7.18.0+typescript@4.1.3
'@vitejs/plugin-vue': 1.1.0_@vue+compiler-sfc@3.0.5
'@vitejs/plugin-vue': 1.1.1_@vue+compiler-sfc@3.0.5
'@vue/compiler-sfc': 3.0.5_vue@3.0.5
'@vue/server-renderer': 3.0.5_vue@3.0.5
autoprefixer: 10.2.3_postcss@8.2.4
@ -25,13 +25,13 @@ devDependencies:
postcss-nested: 5.0.3_postcss@8.2.4
tailwindcss: 2.0.2_d337930ac9ab3cde8278bf6b015e1ea7
typescript: 4.1.3
vite: 2.0.0-beta.36
vite: 2.0.0-beta.44
vite-plugin-components: 0.6.6
vite-plugin-icons: 0.2.1_2e8f12e6b4d97ee3f083bae292486e22
vite-plugin-md: 0.4.1_vite@2.0.0-beta.36
vite-plugin-pages: 0.1.5_vue@3.0.5
vite-plugin-md: 0.4.1_vite@2.0.0-beta.44
vite-plugin-pages: 0.1.7_vue@3.0.5
vite-plugin-pwa: 0.3.9
vite-ssg: 0.4.1_f30deb8ab4eb573b034e1f65b483354a
vite-ssg: 0.4.1_9195eb4a8880478bc242442ad41b7c64
lockfileVersion: 5.2
packages:
/@antfu/eslint-config-basic/0.4.3_eslint@7.18.0:
@ -1509,7 +1509,7 @@ packages:
node: ^8.10.0 || ^10.13.0 || >=11.10.1
resolution:
integrity: sha512-MeHHzUyRI50DuiPgV9+LxcM52FCJFYjJiWHtXlbyC27b80mfOwKeiKI+MHOTEpcpfmoPFm/vvQS88bYIx6PZTA==
/@vitejs/plugin-vue/1.1.0_@vue+compiler-sfc@3.0.5:
/@vitejs/plugin-vue/1.1.1_@vue+compiler-sfc@3.0.5:
dependencies:
'@vue/compiler-sfc': 3.0.5_vue@3.0.5
dev: true
@ -1518,7 +1518,7 @@ packages:
peerDependencies:
'@vue/compiler-sfc': ^3.0.4
resolution:
integrity: sha512-ExlAt3nb3PB31jV9AgRZSMoGd+aQRU53fc/seghV8/l0JCzaX2mqlgpG8iytWkRxbBPgtAx4TpCPdiVKnTFT/A==
integrity: sha512-Oia369l4L4Wd6hW0paQ1OUsPbGHd85KQllismua65C45xMu40og5lzGreSuGEtW+6yB0I5FyLrC7tk5yCucHwA==
/@vue/compiler-core/3.0.5:
dependencies:
'@babel/parser': 7.12.11
@ -2415,12 +2415,12 @@ packages:
node: '>= 0.4'
resolution:
integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==
/esbuild/0.8.33:
/esbuild/0.8.34:
dev: true
hasBin: true
requiresBuild: true
resolution:
integrity: sha512-2ms/P6Y9zJfopR9dKo2vHzhXKfGSNlquVVoVOF8YnhjuzZVrvManMVBPadBsR/t7jzIkRnwqvxrs7d4f3C3eyg==
integrity: sha512-tnr0V1ooakYr1aRLXQLzCn2GVG1kBTW3FWpRyC+NgrR3ntsouVpJOlTOV0BS4YLATx3/c+x3h/uBq9lWJlUAtQ==
/escalade/3.1.1:
dev: true
engines:
@ -4151,10 +4151,10 @@ packages:
node: '>= 0.8'
resolution:
integrity: sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=
/prism-theme-vars/0.0.2:
/prism-theme-vars/0.1.0:
dev: false
resolution:
integrity: sha512-ZluufbjUcOWTBKvAiM4RO+hCp7p8IY0KwpcYdfd52v1uQDrpFJzOTPxHwNNqkAHfn8LLMh5o/W9bejGb8p4UiQ==
integrity: sha512-q5v/IkzraE7N+QqQ0rlnbNmRvEmtqaagQuSM5Fhkbk9yUPyQuiLqoz3/zwWpvzTbcHnJRU9ZL9iM09YbYzuOrA==
/prismjs/1.23.0:
dev: true
optionalDependencies:
@ -5056,28 +5056,29 @@ packages:
'@vue/compiler-sfc': ^3.0.2
resolution:
integrity: sha512-ZIJ8G2AHwEDt4oDST46E6Uy7W2EtVyoe1hzmJMkutbq3esUkcYVoYydT6Y12lhq1ppnVnShkbc0XzfKqolfCSg==
/vite-plugin-md/0.4.1_vite@2.0.0-beta.36:
/vite-plugin-md/0.4.1_vite@2.0.0-beta.44:
dependencies:
gray-matter: 4.0.2
markdown-it: 12.0.4
vite: 2.0.0-beta.36
vite: 2.0.0-beta.44
dev: true
peerDependencies:
vite: ^2.0.0-beta.1
resolution:
integrity: sha512-JCvz1KGvK4woRRhbouW5GJLfw+TKxdu/PkXmVv0KNdpJdCMTDL6tQ6dEd09aK3Z1Muz1QvGbs2uSbXN98idAbg==
/vite-plugin-pages/0.1.5_vue@3.0.5:
/vite-plugin-pages/0.1.7_vue@3.0.5:
dependencies:
debug: 4.3.2
directory-tree: 2.2.5
fast-glob: 3.2.5
glob-to-regexp: 0.4.1
vue: 3.0.5
vue-router: 4.0.3_vue@3.0.5
dev: true
peerDependencies:
vue: '*'
vue: ^3.0.0
resolution:
integrity: sha512-h10/D6t16ELbmJf5+x3w+UqeWd1GcgBO/R+r2W2tn9i1KbjFrbM4fHoByJfiZjggXYsgvRn+mhswi98c232rkA==
integrity: sha512-/IBAEAX4w4EoLzQpK+hf0D66HUn2lBSZJmLedSKXVykbKCMf9VGME4hlynT91RKMa0AXKYdcXwQJM3xmbyjxdw==
/vite-plugin-pwa/0.3.9:
dependencies:
debug: 4.3.2
@ -5087,7 +5088,7 @@ packages:
dev: true
resolution:
integrity: sha512-7UwG/jmBBzmmwFllc6fUmEpXyMYlBZsLBpjBfteHPp4lVptNrXVRT6Ou/ggVjPK2vlJqlh3GzvSo1sCNUxecgw==
/vite-ssg/0.4.1_f30deb8ab4eb573b034e1f65b483354a:
/vite-ssg/0.4.1_9195eb4a8880478bc242442ad41b7c64:
dependencies:
'@vue/compiler-sfc': 3.0.5_vue@3.0.5
'@vue/server-renderer': 3.0.5_vue@3.0.5
@ -5095,7 +5096,7 @@ packages:
chalk: 4.1.0
fs-extra: 9.1.0
jsdom: 16.4.0
vite: 2.0.0-beta.36
vite: 2.0.0-beta.44
vue: 3.0.5
vue-router: 4.0.3_vue@3.0.5
yargs: 16.2.0
@ -5111,9 +5112,9 @@ packages:
vue-router: ^4.0.1
resolution:
integrity: sha512-/RyTOXeEGgLVuy/RChz0acE5aNRyieYqy34VqlF+TVTsEG0t/KZD9u6Ma7VmytcQ+8n3PZh91vTs/XR9pzWOLA==
/vite/2.0.0-beta.36:
/vite/2.0.0-beta.44:
dependencies:
esbuild: 0.8.33
esbuild: 0.8.34
postcss: 8.2.4
resolve: 1.19.0
rollup: 2.37.1
@ -5124,7 +5125,7 @@ packages:
optionalDependencies:
fsevents: 2.1.3
resolution:
integrity: sha512-+Q/Twq1/tpNQIZl0HSFTqiEuP7lXj+6H/f9q63+s5I2K/sqgSUajL3PL7W9uUUIv9dYpJ1eLqkO42ppH9w9Ldw==
integrity: sha512-NTzmP7HEKDg3J5r3I22f87jK3ugPVEU81BQ8hWn3hNWU0msCziUlj7aHwItSUEbQA+ymqO3TBO2fN7Aa+OKckQ==
/vue-demi/0.6.0_vue@3.0.5:
dependencies:
vue: 3.0.5
@ -5488,7 +5489,7 @@ specifiers:
'@tailwindcss/typography': ^0.4.0
'@types/nprogress': ^0.2.0
'@typescript-eslint/eslint-plugin': ^4.14.0
'@vitejs/plugin-vue': ^1.1.0
'@vitejs/plugin-vue': ^1.1.1
'@vue/compiler-sfc': ^3.0.5
'@vue/server-renderer': ^3.0.5
'@vueuse/core': ^4.0.8
@ -5501,14 +5502,14 @@ specifiers:
pnpm: ^5.15.2
postcss: ^8.2.4
postcss-nested: ^5.0.3
prism-theme-vars: ^0.0.2
prism-theme-vars: ^0.1.0
tailwindcss: ^2.0.2
typescript: ^4.1.3
vite: 2.0.0-beta.36
vite: 2.0.0-beta.44
vite-plugin-components: ^0.6.6
vite-plugin-icons: ^0.2.1
vite-plugin-md: ^0.4.1
vite-plugin-pages: ^0.1.5
vite-plugin-pages: ^0.1.7
vite-plugin-pwa: ^0.3.9
vite-ssg: ^0.4.1
vue: ^3.0.5

View File

@ -7,47 +7,47 @@
html:not(.dark) {
--prism-foreground: #393a34;
--prism-background: #f8f8f8;
--prism-comment: #758575;
--prism-namespace: #444444;
--prism-string: #bc8671;
--prism-punctuation: #80817d;
--prism-literal: #36acaa;
--prism-background: #fbfbfb;
--prism-comment: #b8c4b8;
--prism-string: #c67b5d;
--prism-literal: #3a9c9b;
--prism-keyword: #248459;
--prism-function: #849145;
--prism-deleted: #9a050f;
--prism-deleted: #a14f55;
--prism-class: #2b91af;
--prism-builtin: #800000;
--prism-property: #ce9178;
--prism-regex: #ad502b;
--prism-builtin: #a52727;
--prism-property: #ad502b;
--prism-namespace: #c96880;
--prism-punctuation: #8e8f8b;
--prism-decorator: #bd8f8f;
--prism-json-property: #698c96;
}
html.dark {
--prism-foreground: #d4d4d4;
--prism-scheme: dark;
--prism-foreground: #d4cfbf;
--prism-background: #1e1e1e;
--prism-selection-background: #75a7ca;
--prism-namespace: #aaaaaa;
--prism-comment: #758575;
--prism-comment-style: italic;
--prism-namespace: #444444;
--prism-string: #ce9178;
--prism-literal: #4fb09d;
--prism-keyword: #4d9375;
--prism-function: #c2c275;
--prism-deleted: #a14f55;
--prism-class: #5ebaa8;
--prism-builtin: #cb7676;
--prism-property: #dd8e6e;
--prism-namespace: #c96880;
--prism-punctuation: #d4d4d4;
--prism-literal: #36acaa;
--prism-keyword: #38a776;
--prism-function: #dcdcaa;
--prism-deleted: #9a050f;
--prism-class: #4ec9b0;
--prism-builtin: #d16969;
--prism-property: #ce9178;
--prism-regex: #ad502b;
--prism-keyword-control: #c586c0;
--prism-line-highlight: #f7ebc6;
--prism-decorator: #bd8f8f;
--prism-regex: #ab5e3f;
--prism-json-property: #6b8b9e;
--prism-line-number: #888888;
--prism-line-number-gutter: #eeeeee;
--prism-line-highlight-background: #444444;
--prism-selection-background: #444444;
}
/* fix tailwind typography on darkmode */
/* fix tailwind typography in darkmode */
.prose {
a code {
color: inherit;