minor themeing
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user