Skip to content

Commit

Permalink
docs(website): introduce SASS/SCSS to simplify CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Mar 14, 2024
1 parent 338d001 commit 8776db0
Show file tree
Hide file tree
Showing 4 changed files with 27,092 additions and 10,367 deletions.
5 changes: 4 additions & 1 deletion documentation/serenity-js.org/docusaurus.config.js
Expand Up @@ -86,7 +86,9 @@ const config = {
...remarkOptions,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
customCss: [
require.resolve('./src/css/custom.scss'),
],
},
}),
]
Expand Down Expand Up @@ -241,6 +243,7 @@ const config = {
}),

plugins: [
'docusaurus-plugin-sass',
[
'docusaurus-plugin-typedoc-api',
{
Expand Down
2 changes: 2 additions & 0 deletions documentation/serenity-js.org/package.json
Expand Up @@ -26,12 +26,14 @@
"@giscus/react": "2.4.0",
"@mdx-js/react": "1.6.22",
"clsx": "1.2.1",
"docusaurus-plugin-sass": "0.2.5",
"docusaurus-plugin-typedoc-api": "3.0.1",
"docusaurus-remark-plugin-tab-blocks": "^1.3.1",
"fast-glob": "3.3.2",
"prism-react-renderer": "1.3.5",
"react": "17.0.2",
"react-dom": "17.0.2",
"sass": "1.72.0",
"typedoc": "0.25.0",
"typedoc-plugin-mdn-links": "3.1.17"
},
Expand Down

0 comments on commit 8776db0

Please sign in to comment.