-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy paththeme.config.tsx
65 lines (61 loc) · 7.13 KB
/
theme.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
const config: DocsThemeConfig = {
primaryHue: 211,
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
</>
),
logo: (
<svg width="109" height="20" viewBox="0 0 109 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<g fill="currentColor" clipPath="url(#a)">
<path
d="M108.383 17.2239L108.335 18.9999H106.655C105.887 18.9999 105.215 18.8799 104.615 18.6159C104.015 18.3519 103.535 17.9679 103.199 17.4399C102.863 16.9119 102.695 16.2639 102.695 15.4719V15.4239V7.91189H99.9833V6.13589H102.695V3.08789H105.047V6.13589H108.311V7.91189H105.047V15.4239V15.4719C105.047 16.1199 105.215 16.5759 105.527 16.8399C105.839 17.1039 106.319 17.2239 106.943 17.2239H108.383Z"
fill="currentColor"/>
<path
d="M99.7922 13.2639L90.0482 13.3119C90.1442 14.6799 90.5282 15.7359 91.1762 16.4799C91.8242 17.2239 92.6882 17.5839 93.7682 17.5839C94.6562 17.5839 95.3762 17.3919 95.9042 17.0079C96.4322 16.6239 96.8402 16.0479 97.1042 15.3039H99.5042C99.1442 16.6479 98.4722 17.6559 97.4882 18.3279C96.5042 18.9999 95.2802 19.3359 93.7922 19.3359C92.5202 19.3359 91.4402 19.0479 90.5282 18.4719C89.6162 17.8959 88.9202 17.1039 88.4402 16.0959C87.9602 15.0879 87.7202 13.9359 87.7202 12.6399C87.7202 11.3199 87.9602 10.1679 88.4402 9.15992C88.9202 8.15192 89.6162 7.35992 90.5282 6.78392C91.4402 6.20792 92.5202 5.91992 93.7682 5.91992C94.9682 5.91992 96.0242 6.18392 96.9362 6.71192C97.8482 7.23992 98.5682 8.00792 99.0722 8.99192C99.5762 9.97592 99.8402 11.1039 99.8402 12.3999C99.8402 12.5679 99.8162 12.8559 99.7922 13.2639ZM91.2482 8.65592L91.2242 8.63192C90.5762 9.30392 90.1922 10.2639 90.0482 11.5359H97.3922C97.3442 10.7679 97.1762 10.0959 96.8642 9.51992C96.5522 8.94392 96.1202 8.48792 95.5922 8.15192C95.0642 7.81592 94.4642 7.64792 93.7682 7.64792C92.7362 7.64792 91.8962 7.98392 91.2482 8.65592Z"
fill="currentColor"/>
<path d="M85.7065 18.9998H83.3545V0.759766H85.7065V18.9998Z" fill="currentColor"/>
<path d="M80.5727 18.9998H78.2207V0.759766H80.5727V18.9998Z" fill="currentColor"/>
<path
d="M73.3006 6.568L73.2526 6.712C74.0446 7.168 74.6206 7.768 74.9806 8.488C75.3406 9.208 75.5326 10 75.5326 10.864V10.912V19.144H73.1805V16.504C72.8686 17.152 72.5326 17.68 72.1726 18.088C71.8126 18.496 71.3566 18.808 70.8046 19.024C70.2526 19.24 69.5806 19.36 68.7886 19.36C67.9966 19.36 67.2765 19.168 66.6285 18.808C65.9805 18.448 65.4525 17.944 65.0686 17.32C64.6846 16.696 64.4926 16 64.4926 15.208C64.4926 14.272 64.7566 13.528 65.2846 13C65.8126 12.472 66.4606 12.088 67.2046 11.872C67.9486 11.656 68.8126 11.488 69.7966 11.392L73.2526 11.032V10.816V10.768C73.2526 10.192 73.1566 9.664 72.9406 9.184C72.7246 8.704 72.3885 8.32 71.9325 8.056C71.4765 7.792 70.9245 7.64799 70.2766 7.64799C69.7005 7.64799 69.1965 7.744 68.7645 7.96C68.3325 8.17599 67.9966 8.464 67.7566 8.824C67.5166 9.184 67.3726 9.568 67.3006 9.976H64.9006C64.9966 9.184 65.2845 8.464 65.7645 7.84C66.2445 7.216 66.8686 6.736 67.6366 6.4C68.4046 6.064 69.2926 5.896 70.2766 5.896C71.5006 5.896 72.5086 6.112 73.3006 6.568ZM71.5486 17.32V17.392C72.0766 17.032 72.4846 16.528 72.7486 15.904C73.0126 15.28 73.1566 14.56 73.1566 13.768V12.808L70.5886 13.072C69.7966 13.144 69.1486 13.24 68.6446 13.36C68.1406 13.48 67.7085 13.696 67.3485 14.008C66.9885 14.32 66.8205 14.776 66.8205 15.352C66.8205 15.88 66.9405 16.336 67.1805 16.72C67.4205 17.104 67.7566 17.392 68.1886 17.584C68.6206 17.776 69.1006 17.872 69.6046 17.872C70.3726 17.872 71.0206 17.68 71.5486 17.32Z"
fill="currentColor"/>
<path
d="M57.6597 18.9038L62.1237 0.759766H64.6917L60.2037 18.9998H55.1637L51.5637 0.879766L47.9637 18.9998H42.9237L38.4357 0.759766H41.0037L45.4677 18.9038L49.0677 0.759766H54.0597L57.6597 18.9038Z"
fill="currentColor"/>
<path d="M32.5924 18.9998H30.2404V6.13577H32.5924V18.9998ZM32.6884 3.92777H30.1444V0.759766H32.6884V3.92777Z"
fill="currentColor"/>
<path
d="M25.1122 6.13582L27.4402 6.11182V18.9758H25.0882V16.4078C24.7762 17.2238 24.2962 17.8958 23.6242 18.4238C22.9522 18.9518 22.1122 19.2158 21.1282 19.2158C20.1922 19.2158 19.4002 18.9998 18.7282 18.5678C18.0562 18.1358 17.5522 17.5358 17.2162 16.7678C16.8802 15.9998 16.7122 15.1118 16.7122 14.1278V14.0798V6.11182H19.0642V13.7198V13.7678C19.0642 15.0398 19.3282 15.9758 19.8562 16.5998C20.3842 17.2238 21.1282 17.5358 22.0882 17.5358C23.0482 17.5358 23.7922 17.2238 24.3202 16.5998C24.8482 15.9758 25.1122 15.0158 25.1122 13.7438V6.13582Z"
fill="currentColor"/>
<path
d="M4.00699 18.5681H3.91099C2.87899 18.1121 2.03899 17.4401 1.39099 16.5761C0.742992 15.7121 0.334992 14.6801 0.166992 13.5041H2.68699C2.80699 14.2961 3.07099 14.9681 3.50299 15.5201C3.93499 16.0721 4.48699 16.4801 5.15899 16.7681C5.83099 17.0561 6.57499 17.2001 7.41499 17.2001C8.47099 17.2001 9.38299 17.0561 10.127 16.7921C10.871 16.5281 11.447 16.1441 11.831 15.6641C12.215 15.1841 12.407 14.6081 12.407 13.9601C12.407 13.3121 12.263 12.8081 11.951 12.4241C11.639 12.0401 11.183 11.7281 10.583 11.5121C9.98299 11.2961 9.11899 11.0561 7.99099 10.8161L5.71099 10.3121C4.19899 9.97609 2.99899 9.42409 2.11099 8.63209C1.22299 7.84009 0.790992 6.80809 0.790992 5.51209C0.790992 4.57609 1.07899 3.71209 1.65499 2.94409C2.23099 2.17609 3.02299 1.57609 4.03099 1.14409C5.03899 0.712093 6.14299 0.496094 7.36699 0.496094C8.63899 0.496094 9.76699 0.712094 10.751 1.12009C11.735 1.52809 12.551 2.10409 13.175 2.87209C13.799 3.64009 14.207 4.50409 14.375 5.48809H11.855C11.591 4.48009 11.063 3.73609 10.295 3.25609C9.52699 2.77609 8.56699 2.53609 7.41499 2.53609C6.64699 2.53609 5.95099 2.65609 5.32699 2.89609C4.70299 3.13609 4.19899 3.47209 3.83899 3.90409C3.47899 4.33609 3.28699 4.81609 3.28699 5.36809C3.28699 5.94409 3.43099 6.40009 3.69499 6.73609C3.95899 7.0721 4.36699 7.36009 4.91899 7.60009C5.47099 7.84009 6.26299 8.05609 7.27099 8.27209L9.55099 8.77609C10.823 9.04009 11.831 9.37609 12.599 9.78409C13.367 10.1921 13.943 10.7201 14.327 11.3441C14.711 11.9681 14.903 12.7601 14.903 13.6961C14.903 14.7761 14.591 15.7361 13.967 16.5761C13.343 17.4161 12.479 18.0641 11.351 18.5441C10.223 19.0241 8.92699 19.2641 7.46299 19.2641C6.19099 19.2641 5.03899 19.0241 4.00699 18.5681Z"
fill="currentColor"/>
</g>
<defs>
<clipPath id="a">
<path fill="#fff" d="M0 0h180v21.492H0z"/>
</clipPath>
</defs>
</svg>
),
project: {
link: "https://github.com/mystenlabs/sui",
},
chat: {
link: "https://discord.com/invite/mysten",
},
docsRepositoryBase: "https://github.com/mystenlabs/mysten-app-docs",
footer: {
text: "© 2023 Mysten Labs. All Rights Reserved.",
},
useNextSeoProps() {
return {
titleTemplate: "%s – Mysten Labs Docs",
};
},
darkMode: false,
};
export default config;