diff --git a/docs.json b/docs.json index 99081b7..dfc4a3f 100644 --- a/docs.json +++ b/docs.json @@ -3,11 +3,18 @@ "theme": "mint", "name": "Garden Docs", "colors": { - "primary": "#e36492", + "primary": "#FC79C1", "light": "#f29Fcd", - "dark": "#e36492" + "dark": "#FC79C1" }, "favicon": "/favicon.svg", + "thumbnails": { + "background": "https://garden.imgix.net/metaimage2.png" + }, + "fonts": { + "family": "Haffer" + }, + "css": "styles.css", "openapi": "api-reference/openapi.json", "contextual": { "options": [ diff --git a/fonts/HafferBlack.woff b/fonts/HafferBlack.woff new file mode 100644 index 0000000..422d321 Binary files /dev/null and b/fonts/HafferBlack.woff differ diff --git a/fonts/HafferBlack.woff2 b/fonts/HafferBlack.woff2 new file mode 100644 index 0000000..0d2cbff Binary files /dev/null and b/fonts/HafferBlack.woff2 differ diff --git a/fonts/HafferBlackItalic.woff b/fonts/HafferBlackItalic.woff new file mode 100644 index 0000000..14af0ce Binary files /dev/null and b/fonts/HafferBlackItalic.woff differ diff --git a/fonts/HafferBlackItalic.woff2 b/fonts/HafferBlackItalic.woff2 new file mode 100644 index 0000000..be76a2d Binary files /dev/null and b/fonts/HafferBlackItalic.woff2 differ diff --git a/fonts/HafferBold.woff b/fonts/HafferBold.woff new file mode 100644 index 0000000..a013a66 Binary files /dev/null and b/fonts/HafferBold.woff differ diff --git a/fonts/HafferBold.woff2 b/fonts/HafferBold.woff2 new file mode 100644 index 0000000..592c4cf Binary files /dev/null and b/fonts/HafferBold.woff2 differ diff --git a/fonts/HafferBoldItalic.woff b/fonts/HafferBoldItalic.woff new file mode 100644 index 0000000..bf19730 Binary files /dev/null and b/fonts/HafferBoldItalic.woff differ diff --git a/fonts/HafferBoldItalic.woff2 b/fonts/HafferBoldItalic.woff2 new file mode 100644 index 0000000..6584838 Binary files /dev/null and b/fonts/HafferBoldItalic.woff2 differ diff --git a/fonts/HafferHeavy.woff b/fonts/HafferHeavy.woff new file mode 100644 index 0000000..a84e223 Binary files /dev/null and b/fonts/HafferHeavy.woff differ diff --git a/fonts/HafferHeavy.woff2 b/fonts/HafferHeavy.woff2 new file mode 100644 index 0000000..f3591d2 Binary files /dev/null and b/fonts/HafferHeavy.woff2 differ diff --git a/fonts/HafferHeavyItalic.woff b/fonts/HafferHeavyItalic.woff new file mode 100644 index 0000000..955b271 Binary files /dev/null and b/fonts/HafferHeavyItalic.woff differ diff --git a/fonts/HafferHeavyItalic.woff2 b/fonts/HafferHeavyItalic.woff2 new file mode 100644 index 0000000..d23d81b Binary files /dev/null and b/fonts/HafferHeavyItalic.woff2 differ diff --git a/fonts/HafferLight.woff b/fonts/HafferLight.woff new file mode 100644 index 0000000..d98e5ec Binary files /dev/null and b/fonts/HafferLight.woff differ diff --git a/fonts/HafferLight.woff2 b/fonts/HafferLight.woff2 new file mode 100644 index 0000000..76d2080 Binary files /dev/null and b/fonts/HafferLight.woff2 differ diff --git a/fonts/HafferLightItalic.woff b/fonts/HafferLightItalic.woff new file mode 100644 index 0000000..a59f61a Binary files /dev/null and b/fonts/HafferLightItalic.woff differ diff --git a/fonts/HafferLightItalic.woff2 b/fonts/HafferLightItalic.woff2 new file mode 100644 index 0000000..c2f292a Binary files /dev/null and b/fonts/HafferLightItalic.woff2 differ diff --git a/fonts/HafferMedium.woff b/fonts/HafferMedium.woff new file mode 100644 index 0000000..64fec36 Binary files /dev/null and b/fonts/HafferMedium.woff differ diff --git a/fonts/HafferMedium.woff2 b/fonts/HafferMedium.woff2 new file mode 100644 index 0000000..fdee73f Binary files /dev/null and b/fonts/HafferMedium.woff2 differ diff --git a/fonts/HafferMediumItalic.woff b/fonts/HafferMediumItalic.woff new file mode 100644 index 0000000..c7e8696 Binary files /dev/null and b/fonts/HafferMediumItalic.woff differ diff --git a/fonts/HafferMediumItalic.woff2 b/fonts/HafferMediumItalic.woff2 new file mode 100644 index 0000000..0e66688 Binary files /dev/null and b/fonts/HafferMediumItalic.woff2 differ diff --git a/fonts/HafferRegular.woff b/fonts/HafferRegular.woff new file mode 100644 index 0000000..6a564c9 Binary files /dev/null and b/fonts/HafferRegular.woff differ diff --git a/fonts/HafferRegular.woff2 b/fonts/HafferRegular.woff2 new file mode 100644 index 0000000..3bae681 Binary files /dev/null and b/fonts/HafferRegular.woff2 differ diff --git a/fonts/HafferRegularItalic.woff b/fonts/HafferRegularItalic.woff new file mode 100644 index 0000000..80805bf Binary files /dev/null and b/fonts/HafferRegularItalic.woff differ diff --git a/fonts/HafferRegularItalic.woff2 b/fonts/HafferRegularItalic.woff2 new file mode 100644 index 0000000..cb80575 Binary files /dev/null and b/fonts/HafferRegularItalic.woff2 differ diff --git a/fonts/HafferSemiBold.woff b/fonts/HafferSemiBold.woff new file mode 100644 index 0000000..5fa2ea2 Binary files /dev/null and b/fonts/HafferSemiBold.woff differ diff --git a/fonts/HafferSemiBold.woff2 b/fonts/HafferSemiBold.woff2 new file mode 100644 index 0000000..e38f5e2 Binary files /dev/null and b/fonts/HafferSemiBold.woff2 differ diff --git a/fonts/HafferSemiBoldItalic.woff b/fonts/HafferSemiBoldItalic.woff new file mode 100644 index 0000000..2f66738 Binary files /dev/null and b/fonts/HafferSemiBoldItalic.woff differ diff --git a/fonts/HafferSemiBoldItalic.woff2 b/fonts/HafferSemiBoldItalic.woff2 new file mode 100644 index 0000000..7694763 Binary files /dev/null and b/fonts/HafferSemiBoldItalic.woff2 differ diff --git a/fonts/HafferThin.woff b/fonts/HafferThin.woff new file mode 100644 index 0000000..2bee47f Binary files /dev/null and b/fonts/HafferThin.woff differ diff --git a/fonts/HafferThin.woff2 b/fonts/HafferThin.woff2 new file mode 100644 index 0000000..51aa66c Binary files /dev/null and b/fonts/HafferThin.woff2 differ diff --git a/fonts/HafferThinItalic.woff b/fonts/HafferThinItalic.woff new file mode 100644 index 0000000..0813eb0 Binary files /dev/null and b/fonts/HafferThinItalic.woff differ diff --git a/fonts/HafferThinItalic.woff2 b/fonts/HafferThinItalic.woff2 new file mode 100644 index 0000000..ec35a19 Binary files /dev/null and b/fonts/HafferThinItalic.woff2 differ diff --git a/index.mdx b/index.mdx index dbcdb75..e0ff554 100644 --- a/index.mdx +++ b/index.mdx @@ -3,29 +3,26 @@ mode: "custom" --- export function openSearch() { - document.getElementById("search-bar-entry").click(); + document.getElementById("search-bar-entry").click(); }
-
- - +
+ + +
+
Swap Bitcoin cross-chain in minutes.
+
+ Ask me anything... +
+ +
+ Get started →
-
- Swap Bitcoin cross-chain in minutes. -
-
- Ask me anything... -
-
-
Get started →
-
+
@@ -102,4 +99,5 @@ export function openSearch() {
+
diff --git a/logo/dark.svg b/logo/dark.svg index 579a37d..b47bed2 100644 --- a/logo/dark.svg +++ b/logo/dark.svg @@ -1,10 +1,10 @@ - - - + + + - + diff --git a/logo/light.svg b/logo/light.svg index 5ffe2f8..b47bed2 100644 --- a/logo/light.svg +++ b/logo/light.svg @@ -1,10 +1,10 @@ - - - + + + - + diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..5f38148 --- /dev/null +++ b/styles.css @@ -0,0 +1,100 @@ +/* Custom Haffer Font Loading for Mintlify Docs */ + +@font-face { + font-family: "Haffer"; + src: url("./fonts/HafferRegular.woff2") format("woff2"), + url("./fonts/HafferRegular.woff") format("woff"); + font-weight: 430; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Haffer"; + src: url("./fonts/HafferMedium.woff2") format("woff2"), + url("./fonts/HafferMedium.woff") format("woff"); + font-weight: 570; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Haffer"; + src: url("./fonts/HafferBold.woff2") format("woff2"), + url("./fonts/HafferBold.woff") format("woff"); + font-weight: 790; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Haffer"; + src: url("./fonts/HafferLight.woff2") format("woff2"), + url("./fonts/HafferLight.woff") format("woff"); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Haffer"; + src: url("./fonts/HafferSemiBold.woff2") format("woff2"), + url("./fonts/HafferSemiBold.woff") format("woff"); + font-weight: 670; + font-style: normal; + font-display: swap; +} + +/* Apply Haffer font to all text elements */ +body, +.mintlify-docs, +.mintlify-docs * { + font-family: "Haffer", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + sans-serif !important; +} + +/* Specific font weights for different elements */ +h1, +h2, +h3, +h4, +h5, +h6, +.mintlify-docs h1, +.mintlify-docs h2, +.mintlify-docs h3, +.mintlify-docs h4, +.mintlify-docs h5, +.mintlify-docs h6 { + font-family: "Haffer", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + sans-serif !important; +} + +/* Body text */ +p, +li, +div, +span, +.mintlify-docs p, +.mintlify-docs li, +.mintlify-docs div, +.mintlify-docs span { + font-family: "Haffer", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + sans-serif; +} + +/* Code blocks and inline code */ +code span { + font-family: "JetBrains Mono", "Fira Code", "Monaco", "Consolas", monospace !important; +} + +/* Navigation and sidebar */ +nav, +aside, +.sidebar, +.mintlify-docs nav, +.mintlify-docs aside, +.mintlify-docs .sidebar { + font-family: "Haffer", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + sans-serif !important; +}