Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,7 @@ export default defineConfig({
"link",
{
rel: "preload",
href: "/fonts/Satoshi/Satoshi-Regular.woff2",
as: "font",
type: "font/woff2",
crossorigin: "anonymous",
},
],
[
"link",
{
rel: "preload",
href: "/fonts/Satoshi/Satoshi-Medium.woff2",
href: "/fonts/Inter/InterVariable.woff2",
as: "font",
type: "font/woff2",
crossorigin: "anonymous",
Expand Down
75 changes: 36 additions & 39 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,45 +93,13 @@
}

/* ================================================
SATOSHI FONT
INTER VARIABLE FONT
================================================ */

@font-face {
font-family: "Satoshi";
src:
url("/fonts/Satoshi/Satoshi-Light.woff2") format("woff2"),
url("/fonts/Satoshi/Satoshi-Light.woff") format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Satoshi";
src:
url("/fonts/Satoshi/Satoshi-Regular.woff2") format("woff2"),
url("/fonts/Satoshi/Satoshi-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Satoshi";
src:
url("/fonts/Satoshi/Satoshi-Medium.woff2") format("woff2"),
url("/fonts/Satoshi/Satoshi-Medium.woff") format("woff");
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Satoshi";
src:
url("/fonts/Satoshi/Satoshi-Bold.woff2") format("woff2"),
url("/fonts/Satoshi/Satoshi-Bold.woff") format("woff");
font-weight: 700;
font-family: "Inter";
src: url("/fonts/Inter/InterVariable.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
Expand Down Expand Up @@ -187,13 +155,42 @@

/* Fonts */
--vp-font-family-base:
"Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
sans-serif;
--vp-font-family-mono:
"IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
}

/* Font rendering optimizations */
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-feature-settings: "cv01", "cv02", "zero";
}

/* Typography tuning */
.vp-doc {
line-height: 1.7;
letter-spacing: -0.011em;
}

.vp-doc h1 {
letter-spacing: -0.022em;
line-height: 1.2;
}

.vp-doc h2 {
letter-spacing: -0.017em;
line-height: 1.3;
}

.vp-doc h3 {
letter-spacing: -0.014em;
line-height: 1.4;
}

/* Dark mode */
.dark {
--vp-c-bg: #0a0a0a;
Expand Down Expand Up @@ -300,7 +297,7 @@
font-weight: 700;
padding: 5px 12px;
border-radius: 6px;
font-family: ui-monospace, SFMono-Regular, monospace;
font-family: var(--vp-font-family-mono);
text-transform: uppercase;
}

Expand Down Expand Up @@ -347,7 +344,7 @@
}

.api-endpoint-badge .path {
font-family: ui-monospace, SFMono-Regular, monospace;
font-family: var(--vp-font-family-mono);
font-size: 14px;
color: #6b7280;
}
Expand Down
Binary file added docs/public/fonts/Inter/InterVariable.woff2
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Bold.woff
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Bold.woff2
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Light.woff
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Light.woff2
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Medium.woff
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Medium.woff2
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Regular.woff
Binary file not shown.
Binary file removed docs/public/fonts/Satoshi/Satoshi-Regular.woff2
Binary file not shown.
Loading