pleshevski.ru/docs/.vuepress/theme.ts

11 lines
245 B
TypeScript
Raw Permalink Normal View History

2024-07-25 16:11:58 +03:00
import { DefaultThemeOptions, defaultTheme } from "@vuepress/theme-default";
2024-07-24 17:15:05 +03:00
2024-07-25 16:11:58 +03:00
export const mkMyTheme = (options: DefaultThemeOptions) => {
2024-07-24 17:15:05 +03:00
// returns a theme object
return {
2024-07-25 16:11:58 +03:00
name: "my-theme",
2024-07-24 17:15:05 +03:00
extends: defaultTheme(options),
2024-07-25 16:11:58 +03:00
};
};