diff --git a/docusaurus.config.js b/docusaurus.config.js index 55ed5ec3..d9aaa487 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: {}, }), @@ -66,7 +69,7 @@ const config = { label: "Twitter", }, { - href: "https://github.com/acid-info/acid.info", + href: "https://github.com/acid-info", label: "Github", }, ], 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/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; } 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"