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
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions docsite/src/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ export const Route = createRootRoute({
],
links: [
{ rel: "stylesheet", href: appCss },
{ rel: "preload", as: "font", type: "font/woff2", href: "/fonts/geist-latin-wght-normal.woff2", crossOrigin: "anonymous" },
{ rel: "preload", as: "font", type: "font/woff2", href: "/fonts/geist-latin-wght-italic.woff2", crossOrigin: "anonymous" },
{
rel: "preload",
as: "font",
type: "font/woff2",
href: "/fonts/geist-mono-latin-wght-normal.woff2",
crossOrigin: "anonymous",
},
{ rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon/favicon-16.png" },
{ rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon/favicon-32.png" },
{ rel: "icon", type: "image/png", sizes: "48x48", href: "/favicon/favicon-48.png" },
Expand Down
51 changes: 47 additions & 4 deletions docsite/src/styles/app.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,56 @@
@import "tailwindcss";
@import "@fontsource-variable/geist";
@import "@fontsource-variable/geist-mono";
@import "fumadocs-ui/css/emerald.css";
@import "fumadocs-ui/css/preset.css";
@import "./landing.css";

@source "../../node_modules/fumadocs-ui/dist/**/*.js";

@font-face {
font-family: "Geist Variable";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Geist Variable";
font-style: italic;
font-display: swap;
font-weight: 100 900;
src: url("/fonts/geist-latin-wght-italic.woff2") format("woff2-variations");
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Geist Mono Variable";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
font-family: "Geist Fallback";
src: local("Arial");
ascent-override: 96.69%;
descent-override: 22.66%;
line-gap-override: 0%;
size-adjust: 95.95%;
}
@font-face {
font-family: "Geist Mono Fallback";
src: local("Arial");
ascent-override: 80.95%;
descent-override: 18.97%;
line-gap-override: 0%;
size-adjust: 114.66%;
}

@theme {
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--font-mono: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, monospace;
--font-sans: "Geist Variable", "Geist Fallback", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--font-mono: "Geist Mono Variable", "Geist Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
}
Loading