Theme Color

  • Interface
  • Interface
  • Theme Color
Less than 1 minute

The theme allows you to customize theme color and even provide a picker.

Setting Default Theme Color

You should set the default theme color of your site in .vuepress/styles/palette.scss:

$theme-color: #f00;

Theme Color Picker

You need to set themeColor with { colorName1: colorValue1, colorName2: colorValue2, ... } format:

The first color should be the default theme color above.

Example

Try it

Loading...