@jsprismarine/typedoc-material-theme
Version:
A TypeDoc theme based on Material 3.
60 lines (41 loc) • 2.71 kB
Markdown
# typedoc-material-theme
[](https://www.npmjs.com/package/typedoc-material-theme)
[](https://www.npmjs.com/package/typedoc-material-theme)
[](https://bundlephobia.com/package/typedoc-material-theme)
[](https://github.com/dmnsgn/typedoc-material-theme/blob/main/package.json)
[](https://github.com/microsoft/TypeScript)
[](https://conventionalcommits.org)
[](https://github.com/prettier/prettier)
[](https://github.com/eslint/eslint)
[](https://github.com/dmnsgn/typedoc-material-theme/blob/main/LICENSE.md)
A TypeDoc theme based on [Material 3](https://m3.material.io/).
[](https://paypal.me/dmnsgn)
[](https://commerce.coinbase.com/checkout/56cbdf28-e323-48d8-9c98-7019e72c97f3)
[](https://twitter.com/dmnsgn)

## Installation
```bash
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:
```bash
typedoc src/** --plugin typedoc-material-theme --themeColor '#cb9820'
```
or in `typedoc.js`:
```json5
{
plugin: ["typedoc-material-theme"],
themeColor: "#cb9820",
// ... other options
}
```
Default fonts (changeable with [customCss](https://typedoc.org/options/output/#customcss)):
- [Space Grotesk](https://fonts.google.com/specimen/Space+Grotesk)
- [Space Mono](https://fonts.google.com/specimen/Space+Mono)
## Documentation
Example [generated docs of this package](https://dmnsgn.github.io/typedoc-material-theme/)

## License
MIT. See [license file](https://github.com/dmnsgn/typedoc-material-theme/blob/main/LICENSE.md).