Skip to content

Commit

Permalink
update Docusaurus to latest beta, fix Algolia styles (facebook#2636)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Jun 2, 2021
1 parent 22ca7ed commit 0802fee
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 930 deletions.
11 changes: 6 additions & 5 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@
]
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.75",
"@docusaurus/plugin-pwa": "2.0.0-alpha.75",
"@docusaurus/preset-classic": "2.0.0-alpha.75",
"docusaurus-plugin-sass": "^0.1.12",
"@docusaurus/core": "^2.0.0-beta.0",
"@docusaurus/plugin-pwa": "^2.0.0-beta.0",
"@docusaurus/preset-classic": "^2.0.0-beta.0",
"docusaurus-plugin-sass": "^0.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-github-btn": "^1.2.0"
"react-github-btn": "^1.2.0",
"sass": "^1.34.0"
},
"devDependencies": {
"alex": "^9.1.0",
Expand Down
15 changes: 9 additions & 6 deletions website/src/css/customTheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ html[data-theme="dark"] {
--ifm-toc-border-color: var(--dark);
--ifm-color-emphasis-300: var(--dark);
--ifm-hr-border-color: var(--dark);
--docsearch-searchbox-background: var(--ifm-background-color);
--docsearch-modal-background: var(--deepdark);
--docsearch-footer-background: var(--dark);
--docsearch-key-gradient: var(--deepdark);
--docsearch-key-shadow: inset 0 -2px 0 0 var(--light),

*[class^="DocSearch"] {
--docsearch-searchbox-background: var(--ifm-background-color);
--docsearch-modal-background: var(--deepdark);
--docsearch-footer-background: var(--dark);
--docsearch-key-gradient: var(--deepdark);
--docsearch-key-shadow: inset 0 -2px 0 0 var(--light),
inset 0 0 1px 1px var(--light), 0 1px 2px 1px var(--ifm-table-border-color);
--docsearch-container-background: rgba(0, 0, 0, 0.6);
--docsearch-container-background: rgba(0, 0, 0, 0.6);
}
}

/* Content */
Expand Down
1 change: 1 addition & 0 deletions website/src/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
font-size: 18px;
position: relative;
background: none;
border: 0;
}

.GetStarted code:first-child::before {
Expand Down
Loading

0 comments on commit 0802fee

Please sign in to comment.