Skip to main content

Intility Bifrost theme plugin for MkDocs Material

Project description


Bifrost MkDocs

Intility's Bifrost design system as a Material for MkDocs plugin.

Python version MkDocs Material version License

Description

A pip-installable MkDocs plugin that applies Intility's Bifrost design system to Material for MkDocs. The plugin is batteries-included: colors, typography, component styling, markdown extensions, theme features, and message icons are all configured automatically.

Installation

Start from the bifrost-mkdocs-template for a preconfigured project, or add the plugin to an existing one:

uv pip install intility-bifrost-mkdocs

Usage

Add intility-bifrost to your mkdocs.yml plugins:

theme:
  name: material
  palette:
    - scheme: light
      primary: &bifrost_theme teal  # Options: teal, purple, pink, yellow
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - scheme: dark
      primary: *bifrost_theme
      toggle:
        icon: material/brightness-4
        name: Switch to light mode

plugins:
  - intility-bifrost
  - search

The &bifrost_theme anchor sets the color once and reuses it for both modes.

What it provides

Adding intility-bifrost to your plugins list gives you:

  • Bifrost design system - Colors, typography, and component styling matching the Intility design system
  • Light/dark mode - Automatic theme switching with Bifrost color variables
  • Theme colors - teal, purple, pink, yellow (set via primary in your palette config)
  • Typography - Satoshi for all text, JetBrains Mono for code (both self-hosted, no Google Fonts)
  • Markdown extensions - Messages, code highlighting, tabs, mermaid diagrams, emoji, task lists, and more
  • Theme features - Instant navigation, search suggestions (with a ⌘ K / Ctrl K hotkey), code copy buttons, and more
  • Message icons - Custom FontAwesome icons for all message types
  • Version badge - Set extra.version in mkdocs.yml to show a Bifrost-styled version badge in the header
  • Bundled plugins - mkdocs-awesome-nav and mkdocs-git-revision-date-localized-plugin are installed alongside; opt in by adding them to your plugins: list
  • GitHub-style alerts - markdown-callouts is bundled and auto-enabled, so > [!NOTE] blocks render as Bifrost Messages

All defaults are injected only when the user hasn't provided their own config, so you can override anything by setting it explicitly in your mkdocs.yml.

Local development

This project uses mise for tooling and just as a task runner:

mise install   # installs uv, Python, Node, just and lefthook
just setup     # syncs dev dependencies and installs git hooks
just dev       # serve the docs site locally

Run just to see all available recipes. The demo site at docs/index.md uses the plugin directly. See CONTRIBUTING.md for the full workflow.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intility_bifrost_mkdocs-0.8.0.tar.gz (144.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intility_bifrost_mkdocs-0.8.0-py3-none-any.whl (142.3 kB view details)

Uploaded Python 3

File details

Details for the file intility_bifrost_mkdocs-0.8.0.tar.gz.

File metadata

  • Download URL: intility_bifrost_mkdocs-0.8.0.tar.gz
  • Upload date:
  • Size: 144.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for intility_bifrost_mkdocs-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e6defa6ac8fde5bdce31c295156fe3b840f41c0378e4f62dc58473a8bde21dde
MD5 e83e48d844dcd5774ce4bd998469c7d5
BLAKE2b-256 c5bfb55278fa320eac7af604af129b5f7ccd545ce7ef9073a71c7c1a383fb21d

See more details on using hashes here.

Provenance

The following attestation bundles were made for intility_bifrost_mkdocs-0.8.0.tar.gz:

Publisher: publish.yml on intility/bifrost-mkdocs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file intility_bifrost_mkdocs-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intility_bifrost_mkdocs-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c871e1ad9becf4b9cd1534ef7274152c6f6c6c403c2b5748aaf5d6b9d4ddad77
MD5 d23d53b798057ae44fd197b70cf3bf7e
BLAKE2b-256 cc228cf631c351f6f5220c4991833fb83d5095d995e2414c857a4dfa267b983e

See more details on using hashes here.

Provenance

The following attestation bundles were made for intility_bifrost_mkdocs-0.8.0-py3-none-any.whl:

Publisher: publish.yml on intility/bifrost-mkdocs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page