minor themeing

This commit is contained in:
mfahampshire
2024-10-18 16:24:43 +02:00
parent b4157a67a2
commit 3f4361cb8a
2 changed files with 17 additions and 11 deletions
+2 -4
View File
@@ -1,8 +1,6 @@
body {
--colorPrimary: #fb6e4e;
--textPrimary: #121726;
/* padding: 5px 5px 10px;
margin: 0 auto; */
--colorPrimary: #fc8469;
/* --textPrimary: #121726; */
}
div.nextra-code-block > div {
+15 -7
View File
@@ -2,8 +2,14 @@ import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
import { Footer } from "./components/footer";
import { Matrix } from "./components/matrix-link";
import { useRouter } from "next/router";
const config: DocsThemeConfig = {
useNextSeoProps() {
return {
titleTemplate: "%s Nym Docs",
};
},
logo: <span>Nym Docs</span>,
project: {
link: "https://github.com/nymtech/nym",
@@ -23,14 +29,16 @@ const config: DocsThemeConfig = {
},
toc: {
float: true, // TODO would be nice to set this to false so the TOC is in the left sidebar but this doesn't seem to work with pages that are also the top of directories: fix
// if we do this then we also have to uncomment the editLink and feedback objects below
},
// gitTimestamp: TODO ,
editLink: {
component: null,
},
feedback: {
content: null,
},
// editLink: {
// component: null,
// },
// feedback: {
// content: null,
// },
// gitTimestamp: TODO
};
export default config;