mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 11:19:51 +08:00
Add a registry of every installed Prism theme (46 options) using individual module imports rather than the barrel, plus type declarations for the style modules. Extend AppShell storage and context so code-block preferences are available synchronously to renderers outside /settings/*. Sync backend-loaded values from SettingsContext into AppShell storage and add update helpers that PUT only the changed field.
7 lines
187 B
TypeScript
7 lines
187 B
TypeScript
declare module "react-syntax-highlighter/dist/esm/styles/prism/*" {
|
|
import type { CSSProperties } from "react";
|
|
|
|
const theme: Record<string, CSSProperties>;
|
|
export default theme;
|
|
}
|