---
title: SvartzTheme
updated_at: '2026-11-26T00:42:57+01:00'
created_at: '2026-03-07T03:07:52+01:00'
symbol:
  kind: interface
  name: SvartzTheme
  signatures:
    - interface SvartzTheme
  members:
    - name: id
      kind: property
      signature: 'readonly id: string'
    - name: version
      kind: property
      signature: 'readonly version: string'
    - name: contractVersion
      kind: property
      signature: 'readonly contractVersion: string'
    - name: layouts
      kind: property
      signature: 'readonly layouts: [[reference/api/core/ThemeLayoutMap|ThemeLayoutMap]]'
    - name: routes
      kind: property
      signature: >-
        readonly routes: readonly
        [[reference/api/core/ThemeRouteDefinition|ThemeRouteDefinition]][]
    - name: displayName
      kind: property
      signature: 'readonly displayName?: string'
    - name: description
      kind: property
      signature: 'readonly description?: string'
    - name: author
      kind: property
      signature: 'readonly author?: string'
    - name: homepage
      kind: property
      signature: 'readonly homepage?: string'
    - name: components
      kind: property
      signature: >-
        readonly components?:
        [[reference/api/core/ThemeComponentRegistry|ThemeComponentRegistry]]
    - name: capabilities
      kind: property
      signature: >-
        readonly capabilities?:
        [[reference/api/core/ThemeRenderCapabilities|ThemeRenderCapabilities]]
    - name: requiredFeatures
      kind: property
      signature: >-
        readonly requiredFeatures?: readonly ("gfm" | "ofm" |
        "syntaxHighlighting" | "math" | "embeds" | "toc")[]
    - name: artifactRequirements
      kind: property
      signature: >-
        readonly artifactRequirements?:
        [[reference/api/core/ThemeArtifactRequirements|ThemeArtifactRequirements]]
    - name: pluginPreset
      kind: property
      signature: >-
        readonly pluginPreset?:
        [[reference/api/core/ThemePluginPreset|ThemePluginPreset]]
    - name: socialImage
      kind: method
      signature: >-
        readonly socialImage?(metadata:
        [[reference/api/core/SocialImageMetadata|SocialImageMetadata]]): string
      description: Return a complete SVG document; Svartz rasterizes it at build time.
    - name: faviconSvg
      kind: property
      signature: 'readonly faviconSvg?: string'
      description: Default scalable favicon when no vault source is configured.
    - name: defaults
      kind: property
      signature: 'readonly defaults?: Record<string, unknown>'
    - name: hooks
      kind: property
      signature: 'readonly hooks?: Record<string, unknown>'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/theme/types.ts#L131
description: ''
---

# SvartzTheme
