Skip to content

dmnsgn/typedoc-material-theme

Repository files navigation

typedoc-material-theme

npm version stability-stable npm minzipped size dependencies types Conventional Commits styled with prettier linted with eslint license

A TypeDoc theme based on Material 3.

paypal coinbase twitter

Installation

npm install typedoc-material-theme

Usage

This plugin add a themeColor option to typedoc: the Material 3 source color to derive the theme from.

In CLI:

typedoc src/** --plugin typedoc-material-theme --themeColor '#cb9820'

or in typedoc.js:

{
  plugin: ["typedoc-material-theme"],
  themeColor: "#cb9820",
  // ... other options
}

Default fonts (changeable with customCss):

Documentation

Example generated docs of this package

License

MIT. See license file.