Skip to content

Commit

Permalink
feat: Update Algolia configuration and add highlight color for DocSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
jpranays committed Sep 16, 2024
1 parent ecd3ac1 commit a37e82c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ const config: Config = {
],

themeConfig: {
// algolia: {
// apiKey: "3012a81621acdbbb5fc663277d5d013e",
// appId: "1F8174QBLL",
// indexName: "jpranaysio",
// contextualSearch: true,
// },
algolia: {
apiKey: "0c8cba9b8511b6b54357af0cd132ed74",
appId: "IGWQP76FT1",
indexName: "jpranaysio",
contextualSearch: true,
},
colorMode: {
defaultMode: "dark",
disableSwitch: false,
Expand Down
1 change: 1 addition & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ html[data-theme="dark"] .navbar__github {
var(--ifm-color-emphasis-200) 0%,
var(--ifm-color-emphasis-100) 100%
);
--docsearch-highlight-color: var(--ifm-color-emphasis-200);
}
.DocSearch-Logo svg * {
fill: var(--ifm-color-primary);
Expand Down

0 comments on commit a37e82c

Please sign in to comment.