File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
docs/reference/default-theme Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<NpmBadge package =" @vuepress/theme-default " />
4
4
5
- Default theme uses [ SASS] ( https://sass-lang.com/ ) as the CSS pre-processor.
5
+ The default theme uses [ SASS] ( https://sass-lang.com/ ) as the CSS pre-processor.
6
6
7
- Users can custom style variables via [ palette file] ( #palette-file ) , and add extra styles via [ style file] ( #style-file ) .
7
+ Users can customize style variables via a [ palette file] ( #palette-file ) ,
8
+ and add extra styles via a [ style file] ( #style-file ) .
8
9
9
10
## Palette File
10
11
11
- The path of palette file is ` .vuepress/styles/palette.scss ` .
12
+ The path of the palette file is ` .vuepress/styles/palette.scss ` .
12
13
13
- You can make use of it to override predefined SASS variables of default theme.
14
+ You can make use of it to override predefined SASS variables of the default theme.
14
15
15
16
::: details Click to expand SASS variables
16
17
@[ code{3-} scss] ( @vuepress/theme-default/src/client/styles/_variables.scss )
17
18
:::
18
19
19
20
## Style File
20
21
21
- The path of style file is ` .vuepress/styles/index.scss ` .
22
+ The path of the style file is ` .vuepress/styles/index.scss ` .
22
23
23
- You can add extra styles here, or override default styles:
24
+ You can add extra styles here, or override the default styles:
24
25
25
26
``` scss
26
27
:root {
27
28
scroll-behavior : smooth ;
28
29
}
29
30
```
30
31
31
- You can also make use of it to override predefined CSS variables of default theme.
32
+ You can also make use of it to override predefined CSS variables of the default theme.
32
33
33
34
::: details Click to expand CSS variables
34
35
@[ code scss] ( @vuepress/theme-default/src/client/styles/vars.scss )
You can’t perform that action at this time.
0 commit comments