Add SASS support and convert CSS files to SCSS
This commit is contained in:
parent
febb0b52d2
commit
874da6bf16
10 changed files with 182 additions and 45 deletions
|
@ -55,7 +55,7 @@ const config = {
|
|||
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
||||
},
|
||||
theme: {
|
||||
customCss: './src/css/custom.css',
|
||||
customCss: './src/css/custom.scss',
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
@ -145,6 +145,8 @@ const config = {
|
|||
respectPrefersColorScheme: false
|
||||
}
|
||||
}),
|
||||
|
||||
plugins: ['docusaurus-plugin-sass'],
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue