vuepress-theme-hope
Version:
A light vuepress theme with tons of features
39 lines • 784 B
TypeScript
//#region src/presets/transparentNavbar.d.ts
interface TransparentNavbarOptions {
/** @default "blog-homepage" */
type?: "homepage" | "blog-homepage" | "all";
/**
* Transparent threshold
*
* 透明的临界距离
*
* @default 50
*/
threshold?: number;
/**
* Text color in lightmode
*
* 浅色模式下字体颜色
*/
light?: string;
/**
* Text color in darkmode
*
* 深色模式下字体颜色
*/
dark?: string;
}
/**
* Transparent navbar if needed
*
* 将导航栏设置为透明
*/
declare const setupTransparentNavbar: ({
type,
threshold,
light,
dark
}?: TransparentNavbarOptions) => void;
//#endregion
export { TransparentNavbarOptions, setupTransparentNavbar };
//# sourceMappingURL=transparentNavbar.d.ts.map