fix(chat): 修复暗黑模式下 Markdown 和滚动条样式 — 响应式 useIsDark hook + 动态主题切换

This commit is contained in:
2026-06-02 22:44:46 +08:00
parent ed97b30d51
commit 1f05f259d0
7 changed files with 73 additions and 12 deletions

3
src/web/css.d.ts vendored
View File

@@ -1 +1,4 @@
declare module "*.css";
declare module "react-syntax-highlighter/dist/esm/styles/prism" {
export { oneDark, oneLight } from "react-syntax-highlighter";
}