vuepress-theme-hope
Version:
A light vuepress theme with tons of features
55 lines • 1.22 kB
TypeScript
import type { ThemeHomePageFrontmatter } from "./home.js";
export interface ThemeBlogHomeProjectOptions {
/**
* Project name
*
* 项目名称
*/
name: string;
/**
* Project description
*
* 项目描述
*/
desc?: string;
/**
* Project link
*
* 项目链接
*/
link: string;
/**
* Project icon
*
* @description image link or icon fontClass are supported, as well as `"link"`、`"project"`、`"book"`、`"article"`、`"friend"`
*
* 项目图标
*
* @description 支持图片链接或者图标字体类,同时也支持 `"link"`、`"project"`、`"book"`、`"article"`、`"friend"`
*/
icon?: string;
/**
* Background color
*
* @description Can be css variables
*
* 背景颜色
*
* @description 可以是 CSS 变量
*/
background?: string;
}
export interface ThemeBlogHomePageFrontmatter extends ThemeHomePageFrontmatter {
layout: "BlogHome";
/**
* @default true
*/
hero?: boolean;
/**
* Projects
*
* 项目
*/
projects: ThemeBlogHomeProjectOptions[];
}
//# sourceMappingURL=blogHome.d.ts.map