Ir para o conteĆŗdo principal
Version: 2.4.0

šŸ“¦ tema-clĆ”ssico

O tema clƔssico para Docusaurus.

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

npm install --save @docusaurus/theme-classic
tip

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

Configurationā€‹

Campos aceitos:

OptionTypePadrĆ£oDescriĆ§Ć£o
customCssstring[] | string[]Stylesheets to be imported globally as client modules. Relative paths are resolved against the site directory.
note

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.

tip

A maioria dos usuĆ”rios do Docusaurus configura este plugin atravĆ©s das configuraƧƵes de predefiniĆ§Ć£o.

If you use a preset, configure this plugin through the opƧƵes de predefiniĆ§Ć£o:

docusaurus.config.js
module.exports = {
presets: [
[
'@docusaurus/preset-classic',
{
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};