nimiq-vitepress-theme
Version:
Nimiq UI theme for VitePress
16 lines (15 loc) • 434 B
JavaScript
import { defineConfigWithTheme } from "vitepress";
export function defineNimiqVitepressConfig(config) {
const defaultConfig = {
title: "Nimiq Vitepress",
description: "Build awesome docs with the Nimiq Style",
markdown: {
theme: "vitesse-dark",
languages: ["vue", "vue-html", "js", "ts", "markdown", "json", "rs"]
}
};
return defineConfigWithTheme({
extends: defaultConfig,
...config
});
}