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 admonition icons are all configured automatically.

Installation

uv pip install intility-bifrost-mkdocs

Usage

Add intility-bifrost to your mkdocs.yml plugins:

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

plugins:
  - intility-bifrost
  - search

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 headings, Open Sans for body, JetBrains Mono for code
  • 23 markdown extensions - Admonitions, code highlighting, tabs, mermaid diagrams, math (MathJax), emoji, task lists, and more
  • 13 theme features - Instant navigation, search suggestions, code copy buttons, etc.
  • Admonition icons - Custom FontAwesome icons for all admonition types

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

uv venv .venv
source .venv/bin/activate
uv pip install -e ".[dev]"
mkdocs serve

This installs the plugin in editable mode with dev dependencies (ruff, pytest, livereload, git-revision-date plugin). The demo site at docs/index.md uses the plugin directly.

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.5.0.tar.gz (113.9 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.5.0-py3-none-any.whl (110.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for intility_bifrost_mkdocs-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b9d351f9b6061f91536c91211e3b1a155f8fc7c878899ed7609c24221b3577df
MD5 375bcfc0fdf8d9b518cd8ccce52d9547
BLAKE2b-256 5c966d2617bed2077c7ff5c18a902e1a21846309d1b144938112061996888f02

See more details on using hashes here.

Provenance

The following attestation bundles were made for intility_bifrost_mkdocs-0.5.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.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intility_bifrost_mkdocs-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f01e4eaadc726d6fece7d0c1f2c7aed39ddd6a4076e36c663816205d67001e2c
MD5 ff1eb01411b3173b89bfd5aaa3fc8a13
BLAKE2b-256 fda0b1e9982c6865a66eb4042742e95ce29973b586b2202adaee567592635208

See more details on using hashes here.

Provenance

The following attestation bundles were made for intility_bifrost_mkdocs-0.5.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