Skip to content

Commit 6f8f243

Browse files
committed
added config to respect user theme
1 parent 58db055 commit 6f8f243

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/core_docs/docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ const config = {
141141
themeConfig:
142142
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
143143
({
144+
colorMode: {
145+
disableSwitch: false,
146+
respectPrefersColorScheme: true,
147+
},
144148
announcementBar: {
145149
content:
146150
'<strong>Our <a href="https://academy.langchain.com/courses/ambient-agents/?utm_medium=internal&utm_source=docs&utm_campaign=q2-2025_ambient-agents_co" target="_blank">Building Ambient Agents with LangGraph</a> course is now available on LangChain Academy!</strong>',
@@ -324,6 +328,7 @@ const config = {
324328

325329
contextualSearch: false,
326330
},
331+
327332
}),
328333

329334
scripts: [baseUrl + "js/job_link.js"],

0 commit comments

Comments
 (0)