Skip to content

Commit

Permalink
make sidebar hideable
Browse files Browse the repository at this point in the history
  • Loading branch information
swapsatoshi committed Aug 26, 2024
1 parent fe3506f commit bc7d113
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ const config: Config = {
],
copyright: `Copyright © ${new Date().getFullYear()}`,
},
docs: {
sidebar: {
hideable: true,
},
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
Expand Down
2 changes: 2 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
--ifm-color-primary-lightest: #89d72b;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(181, 208, 0, 0.1);
--ifm-footer-padding-vertical: 12px;
--ifm-footer-padding-horizontal: 12px;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand Down

0 comments on commit bc7d113

Please sign in to comment.