Skip to content

Commit

Permalink
patch: optimize website
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Mar 28, 2024
1 parent ebb8212 commit 6b82587
Show file tree
Hide file tree
Showing 8 changed files with 574 additions and 169 deletions.
134 changes: 0 additions & 134 deletions package-lock.json

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

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,18 @@
"license": "MIT",
"scripts": {
"dev": "tsc && vite --force",
"build": "npm run update && vite build",
"update": "npm i quark-doc-header@latest",
"build": "vite build",
"serve": "vite preview",
"prepare": "husky install",
"test": "jest",
"codeformat": "prettier --write .",
"push2GithubWebsite": "node ./scripts/push2GithubWebsite"
"codeformat": "prettier --write ."
},
"dependencies": {
"@codemirror/lang-html": "^6.1.0",
"@codemirror/lang-javascript": "^6.0.2",
"@codemirror/theme-one-dark": "^6.0.0",
"@docsearch/js": "^3.3.3",
"codemirror": "^6.0.1",
"quark-doc-header": "^0.3.30",
"quarkd": "^1.0.59",
"sass": "~1.32.0",
"vue-codemirror": "^6.0.2",
Expand Down
2 changes: 2 additions & 0 deletions src/assets/styles/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ html.dark {
--line-light: rgba(82, 82, 89, .32);
--nav-link-color: #fff;

--logo-dark-mode: url(https://m.hellobike.com/resource/helloyun/13459/H3kyK_quarkc-light.png?x-oss-process=image/quality,q_80);

font-family: var(--font-family-base);
color: var(--link-font-color-dark);
background-color: var(--main-bg);
Expand Down
Loading

0 comments on commit 6b82587

Please sign in to comment.