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: default       # or 'light' — both map to Bifrost light mode
      primary: teal         # Options: teal, purple, pink, yellow
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - scheme: slate         # or 'dark' — both map to Bifrost dark mode
      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
  • Bundled plugins - mkdocs-awesome-nav and mkdocs-git-revision-date-localized-plugin are installed alongside; opt in by adding them to your plugins: list

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.7.1.tar.gz (18.2 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.7.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: intility_bifrost_mkdocs-0.7.1.tar.gz
  • Upload date:
  • Size: 18.2 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.7.1.tar.gz
Algorithm Hash digest
SHA256 f7d5accd108e50fcb5c2682f2a033fde9393e957e7ddd6309422909f6ab42efe
MD5 a5b394aa192edd375df47b748e9aeb49
BLAKE2b-256 846e78fe6315c7ba3fe9aa64f5c1809bab08622016dba918a198c5c7e6c1119e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for intility_bifrost_mkdocs-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ffcafddb34c873f2705d2a06299c405b24efcb3e5ecb20bfb640ba3079b5723
MD5 fbb3122155c80288e0b6342d303af30d
BLAKE2b-256 10d4373022f7eb14f1fed13bfb81469cb1e7ae04b44a8fa54599a12171ee8bcd

See more details on using hashes here.

Provenance

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