You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,13 +111,32 @@ module.exports = {
111
111
maxSuggestions:10, // Default: 5
112
112
hotKeys: [], // Default: ['s', '/']
113
113
cropLength:50, // Default: 30
114
-
layout:'simple'// Default: "columns"
114
+
layout:'simple', // Default: "columns"
115
+
debug:true, // Default: false
116
+
enableDarkMode:true// Default: false
115
117
}
116
118
]
117
119
]
118
120
}
119
121
```
120
122
123
+
#### Dark mode
124
+
125
+
You can enable dark mode by adding `enableDarkMode: true` to your configuration file.
126
+
127
+
To override the default theme of the search bar, you can edit your `.vuepress/styles/palette.styl` file.<br>
128
+
A few variables are available:
129
+
130
+
```js
131
+
$accentDarkColor
132
+
$inputDarkBgColor
133
+
$textDarkColor
134
+
$borderDarkColor
135
+
$dropdownBgDarkColor
136
+
```
137
+
138
+
You can also find an example in our [playground's `palette.styl` file](./playground/.vuepress/styles/palette.styl)
139
+
121
140
## Compatibility with MeiliSearch
122
141
123
142
This package only guarantees the compatibility with the [version v0.20.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.20.0).
0 commit comments