A slightly opinionated theme for Vuepress
- Customizable typography: Webfont support with font size and text-adjustment customization
- Dark and light themes: System theme detection with a theme-switcher to set the theme as per the user preference
- Accessible: Larger font size, deeper contrast, better legibility preferences to improve the readability
Add the dependency to your existing Vuepress project via Yarn or NPM.
yarn add -D vuepress-theme-succinct
npm install -D vuepress-theme-succinct
Update .vuepress/config.js
as follows.
module.exports = {
theme: 'vuepress-theme-succinct',
globalUIComponents: [
'ThemeManager'
],
}
ThemeManager
provides theme-switching functionality across the app.
Note that you can also use the shorthand name for the theme.
module.exports = {
theme: 'succinct',
globalUIComponents: [
'ThemeManager'
],
}
Check out the documentation built with Vuepress and Succinct 😄 for more details.
Contributions from the community are welcome and deeply appreciated. Refer to the contribution guidelines to get started.
This theme has the following plugins built in:
Nods to people and projects that made succinct
possible.
- Official Vuepress theme
- Tommy Vedvik's implementation of theme switcher on the official Gridsome website