Skip to content

Commit e37cd22

Browse files
add search plugin; update docs; (#310)
1 parent 671fdc7 commit e37cd22

File tree

4 files changed

+1619
-1490
lines changed

4 files changed

+1619
-1490
lines changed

docusaurus.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ module.exports = {
4747
customCss: require.resolve('./src/css/custom.css'),
4848
}
4949
}]
50-
]
50+
],
51+
plugins: [require.resolve("@cmfcmf/docusaurus-search-local")],
5152
};

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@
3636
"last 1 safari version"
3737
]
3838
},
39-
"packageManager": "[email protected]"
39+
"packageManager": "[email protected]",
40+
"dependencies": {
41+
"@cmfcmf/docusaurus-search-local": "^0.11.0"
42+
}
4043
}

src/css/custom.css

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
--ifm-heading-font-weight: 400;
2020
--ifm-global-shadow-lw: transparent;
2121
--ifm-toc-border-color: transparent;
22+
--aa-primary-color-rgb: 255, 140, 0 !important;
23+
--aa-muted-color-rgb: 255, 140, 0 !important;
24+
}
25+
26+
[data-theme='dark'] {
27+
--aa-primary-color-rgb: 255, 140, 0 !important;
28+
--aa-muted-color-rgb: 255, 140, 0 !important;
2229
}
2330

2431
h1 {

0 commit comments

Comments
 (0)