gpui-component/docs/.vitepress/language.ts

6 lines
229 B
TypeScript

import { readFileSync } from "fs";
const lightTheme = JSON.parse(readFileSync("src/light.theme.json").toString());
const darkTheme = JSON.parse(readFileSync("src/dark.theme.json").toString());
export { darkTheme, lightTheme };