Other features
# Style customization
The theme allows you to set variables in the palette.styl
of .vuepress/style
to customize most of the colors, responsive breakpoints, page layout size and other parameters.
For detailed info, please refer to Stylus Configuration
# Fullscreen Button
Enabled by default, it’s in the theme card in navbar.
If you don’t need it, you can disable it by setting fullscreen
to false
in the themeConfig.
Tips
If the current browser does not support full screen, the full screen button is automatically hidden.
// .vuepress/config.js
module.exports = {
themeConfig: {
fullscreen: false, // Enable by default
},
};
2
3
4
5
6
# Back to top button Support page config
vuepress-theme-hope
adds a back-to-top control which will display after scrolling down 300px by default.
You can set backToTop
to false
in themeConfig
to disable it, or set it to a number to change the default trigger timing of 300px.