Skip to main content
Version: Canary 🚧

📦 theme-classic

The classic theme for Docusaurus.

You can refer to the theme configuration page for more details on the configuration.

npm install --save @docusaurus/theme-classic

If you have installed @docusaurus/preset-classic, you don't need to install it as a dependency.


Accepted fields:

customCssstring[] | string[]Stylesheets to be imported globally as client modules. Relative paths are resolved against the site directory.

Most configuration for the theme is done in themeConfig, which can be found in theme configuration.

Example configuration

You can configure this theme through preset options or plugin options.


Most Docusaurus users configure this plugin through the preset options.

If you use a preset, configure this plugin through the preset options:

module.exports = {
presets: [
theme: {
customCss: './src/css/custom.css',