9 lines
257 B
TypeScript
9 lines
257 B
TypeScript
import { PrismTheme } from "prism-react-renderer";
|
|
import { Theme } from "@/contexts/ThemeContext";
|
|
import { themes } from "prism-react-renderer";
|
|
|
|
export const prismThemes: Record<Theme, PrismTheme> = {
|
|
dark: themes.oneDark,
|
|
light: themes.oneLight,
|
|
};
|