vuepress-theme-hope
Version:
A light vuepress theme with tons of features
34 lines • 764 B
TypeScript
import "./transparent-navbar.scss";
export 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
*
* 将导航栏设置为透明
*/
export declare const setupTransparentNavbar: ({ type, threshold, light, dark, }?: TransparentNavbarOptions) => void;
//# sourceMappingURL=transparentNavbar.d.ts.map