The document is only used for theme display, please go to the official site for the latest Vuepress documentation

Styles

@vuepress/theme-default

Default theme uses SASSopen in new window as the CSS pre-processor.

Users can custom style variables via palette file, and add extra styles via style file.

Palette File

The path of palette file is .vuepress/styles/palette.scss.

You can make use of it to override predefined SASS variables of default theme.

Click to expand SASS variables
File not found

Style File

The path of style file is .vuepress/styles/index.scss.

You can add extra styles here, or override default styles:

:root {
  scroll-behavior: smooth;
}
1
2
3

You can also make use of it to override predefined CSS variables of default theme.

Click to expand CSS variables
File not found
Click to expand dark mode CSS variables
File not found