Skip to content

Commit

Permalink
Add Clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
nooges committed Jan 25, 2023
1 parent 5883285 commit 68fe3e9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = {
organizationName: 'keebio', // Usually your GitHub org/user name.
projectName: 'keebio-docs', // Usually your repo name.
plugins: [
'plugin-image-zoom'
'plugin-image-zoom',
'docusaurus-plugin-clarity'
],
themeConfig: {
algolia: {
Expand All @@ -18,6 +19,9 @@ module.exports = {
indexName: 'keeb',
contextualSearch: true,
},
clarity: {
ID: "fjw3p9p2xf",
},
zoomSelector: '.markdown :not(em) > img',
colorMode: {
defaultMode: 'dark'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@docusaurus/preset-classic": "^2.0.0-beta.18",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"docusaurus-plugin-clarity": "^2.1.0",
"plugin-image-zoom": "ataft/plugin-image-zoom",
"react": "^16.8.4",
"react-dom": "^16.8.4"
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4119,6 +4119,11 @@ dns-txt@^2.0.2:
dependencies:
buffer-indexof "^1.0.0"

docusaurus-plugin-clarity@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/docusaurus-plugin-clarity/-/docusaurus-plugin-clarity-2.1.0.tgz#f9e30b51f15b0f973f4f7d7d66d94be33a4dc937"
integrity sha512-8BHjDC+69m3yQTqBHJ1xFhijHqbCjJJs19bEVySX8DpnGWlPBDbGiujEqEAyIba0sSjYaJNfg/4n61k1NOm0lw==

dom-converter@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
Expand Down

0 comments on commit 68fe3e9

Please sign in to comment.