Skip to content

pantoken / mintlify

mintlify

Experimental

@pantoken/mintlify — theme a Mintlify docs site with Instructure tokens.

toMintlifyConfig maps any IR onto the colors + background keys of a Mintlify docs.json; docsJson is the ready-made rebrand fragment. Merge it into your docs.json.

Example

jsonc
// docs.json
{
  "name": "My docs",
  "theme": "mint",
  "colors": { "primary": "#1D354F", "light": "#EEF4FD", "dark": "#1D354F" },
  "background": { "color": { "light": "#F2F4F5", "dark": "#10141A" } }
}

Interfaces

Variables

Functions

References

default

Renames and re-exports docsJson