Branding
Put branding assets in public/ and select them in docskit.config.ts. You can
use the same image in both themes or provide separate light and dark variants.
Add logos and favicons
For theme variants, create this asset structure:
docs/
public/
logos/
logo-light.svg
logo-dark.svg
icon-light.svg
icon-dark.svg
Add these fields to docskit.config.ts:
logo: {
light: "/logos/logo-light.svg",
dark: "/logos/logo-dark.svg",
},
favicon: {
light: "/logos/icon-light.svg",
dark: "/logos/icon-dark.svg",
},
Use public URLs: /logos/logo-light.svg refers to
public/logos/logo-light.svg. Docskit adds your deployment base path.
The navbar logo follows the theme selected on the site. Favicons use the browser's color scheme, so switching the site's theme does not necessarily switch the browser tab icon.
If one asset works in both themes, use a string:
logo: "/logos/logo.svg",
favicon: "/favicon.svg",
Without a logo, the navbar displays the site name. The logo or name links to the shared homepage, including while the reader is browsing a documentation version.
Add a GitHub link
Set the repository URL to show GitHub in the navbar:
repository: "https://github.com/pinanek/docskit",
For other top-level links, use the links field described in
Navigation and links.
Configure the footer
Set the copyright text and footer links:
copyright: "© 2026 Your name",
footerLinks: [
{ label: "Logos", href: "/docs/customization/branding/", icon: "Images" },
{ label: "License", href: "https://github.com/your-org/your-repo/blob/main/LICENSE", icon: "Scale" },
{ label: "GitHub", href: "https://github.com/your-org/your-repo", icon: "github" },
],
Replace the sample copyright and URLs with your own. Copyright appears on the left; links appear on the right.
The icon value is a string. Use a case-sensitive Lucide export name such as
"Images", "Scale", or "ExternalLink". "github" selects the package's custom
GitHub SVG. The label supplies the accessible name and tooltip. Omit icon to
show a text link. Local footer links receive the deployment base path.
Use this repository as an example
This site's source assets are in the repository's logos/ directory.
The Logos page previews all four variants and provides SVG downloads.
packages/docs/prepare.mjs copies them into packages/docs/public/logos/ before
development and builds. Edit the originals in logos/; the copies are ignored by
version control.
The branded example shows theme variants, a favicon, GitHub navigation, footer icons, and social-image configuration together. To adjust colors or typography, see Components and styles.