Feat: add theme switcher (#18093)

This commit is contained in:
KVOJJJin
2025-05-14 09:06:14 +08:00
committed by GitHub
parent 297d35364e
commit 3548c133e3
23 changed files with 330 additions and 54 deletions

View File

@@ -121,7 +121,7 @@ const Doc = ({ appDetail }: IDocProps) => {
</button>
)}
</div>
<article className={cn('prose-xl prose', theme === Theme.dark && 'dark:prose-invert')} >
<article className={cn('prose-xl prose', theme === Theme.dark && 'prose-invert')} >
{(appDetail?.mode === 'chat' || appDetail?.mode === 'agent-chat') && (
(() => {
switch (locale) {