Skip to content

Commit 66ca089

Browse files
authored
added config for (https://js.langchain.com/docs/introduction/) to respect user theme (#8466)
2 parents 89385e7 + 0ab7991 commit 66ca089

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/core_docs/docusaurus.config.js

Lines changed: 4 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>',

0 commit comments

Comments
 (0)