From 28e4b4869007af2a05c2411d166ceb22246d8e29 Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Mon, 17 Jul 2023 15:46:09 +0330 Subject: [PATCH 1/3] chore: upgrade logos preset --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index ec2808f2..5ba995ea 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "typecheck": "tsc" }, "dependencies": { - "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.81", + "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.82", "@docusaurus/core": "2.4.1", "@docusaurus/preset-classic": "2.4.1", "@docusaurus/theme-mermaid": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index 8d58297c..42ea9f2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,14 +16,14 @@ "@easyops-cn/docusaurus-search-local" "^0.33.6" lodash "^4.17.21" -"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.81": - version "1.0.0-alpha.81" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.81.tgz#8a654fd676dd2bfacf42ec39f850bfa4ccbbe507" - integrity sha512-pZNWhiTdaHWyJlncBL37xjaoOMd76FXFcAq0glqPGKqcRLbyq+tBBuSh0JRo86SKNkFW8ZAgGl3XlmSDwCAgyQ== +"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.82": + version "1.0.0-alpha.82" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.82.tgz#0383435a95b3a78c819a0dd1037031863eaa01ce" + integrity sha512-od4JGI5w/x3fVctYaZC/g/Hxf1AVyijwVaH9UP5d0Fg6ShxSb0rXBBeWYXViFEZRUYqy7XTiBpVl+1x4yfSbng== dependencies: "@acid-info/docusaurus-og" "^1.0.0-alpha.76" "@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.47" - "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.81" + "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.82" "@docusaurus/core" "^2.4.1" "@docusaurus/module-type-aliases" "^2.4.1" "@docusaurus/preset-classic" "^2.4.1" @@ -53,10 +53,10 @@ satori "^0.10.1" sharp "^0.32.1" -"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.81": - version "1.0.0-alpha.81" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.81.tgz#34ec1cd51f8ec827ae653d24fb92267069bd6a0d" - integrity sha512-cbCcVShPmEW5k+jyYnVGIttDOtHG9ohH5HKjXMc+kXUl2WJN1hUxt4oTo/TJD16b+Rlbe2RuTT+yorzdKyGHlA== +"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.82": + version "1.0.0-alpha.82" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.82.tgz#9b63da9f7ca552065e0bc823d24dfd91fe3404a7" + integrity sha512-wLLJuGFbJe8PIIWqYq+hKcFBA8Pvu5NE+tLzi/qZystT13KnNiDOJbUpWAbR60ps0R/GcbZkAeaVYdshOPVw2Q== dependencies: "@acid-info/docusaurus-og" "^1.0.0-alpha.76" "@acid-info/lsd-react" "^0.1.0-alpha.15" From 225f0ce390aa6d61ddf07bef7bec41689a7bb340 Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Mon, 17 Jul 2023 15:46:30 +0330 Subject: [PATCH 2/3] style: set global font-family to monospace --- docusaurus.config.js | 7 +++++-- src/css/custom.scss | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index c8523d60..8d679c2b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -30,11 +30,14 @@ const config = { name: "default", options: { customCss: [require.resolve("./src/css/custom.scss")], + typography: { + genericFontFamily: "monospace", + }, }, }, docs: { - routeBasePath: '/', - path: 'root-pages', + routeBasePath: "/", + path: "root-pages", }, og: {}, }), diff --git a/src/css/custom.scss b/src/css/custom.scss index f9f15df3..e207b188 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -40,7 +40,6 @@ white-space: pre-wrap; max-width: 500px; text-align: center; - font-family: monospace; font-size: 13px; margin-bottom: 13px; } From 5c368091f16ecb6fe96f57bcc785cb76c3ffc6bd Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Mon, 17 Jul 2023 15:48:03 +0330 Subject: [PATCH 3/3] chore: update footer links --- docusaurus.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 8d679c2b..47498a0d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -73,11 +73,7 @@ const config = { label: "Discord", }, { - href: "/", - label: "Docs", - }, - { - href: "https://github.com/", + href: "https://github.com/acid-info", label: "Github", }, ],