@@ -10,43 +10,7 @@ Users can custom style variables via [palette file](#palette-file), and add extr
10
10
11
11
You can create a ` .vuepress/styles/palette.scss ` file to override predefined variables of default theme:
12
12
13
- ``` scss
14
- // colors
15
- $accentColor : #3eaf7c !default ;
16
- $textColor : #2c3e50 !default ;
17
- $borderColor : #eaecef !default ;
18
- $arrowBgColor : #ccc !default ;
19
- $tipColor : #42b983 !default ;
20
- $warningColor : #e7c000 !default ;
21
- $dangerColor : #cc0000 !default ;
22
-
23
- // code colors
24
- $codeBgColor : #282c34 !default ;
25
- $highlightLineBgColor : rgba (0 , 0 , 0 , 66% ) !default ;
26
- $lineNumbersColor : rgba (255 , 255 , 255 , 0.3 ) !default ;
27
-
28
- // badge component colors
29
- $badgeTipColor : $tipColor !default ;
30
- $badgeWarningColor : $warningColor !default ;
31
- $badgeDangerColor : $dangerColor !default ;
32
-
33
- // layout
34
- $navbarHeight : 3.6rem !default ;
35
- $sidebarWidth : 20rem !default ;
36
- $contentWidth : 740px !default ;
37
- $homePageWidth : 960px !default ;
38
-
39
- // responsive breakpoints
40
- $MQNarrow : 959px !default ;
41
- $MQMobile : 719px !default ;
42
- $MQMobileNarrow : 419px !default ;
43
-
44
- // code
45
- $lineNumbersWrapperWidth : 3.5rem !default ;
46
- $codeLang : ' c' ' cpp' ' cs' ' css' ' dart' ' docker' ' fs' ' go' ' html' ' java' ' js'
47
- ' json' ' kt' ' less' ' makefile' ' md' ' php' ' py' ' rb' ' rs' ' sass' ' scss' ' sh'
48
- ' styl' ' ts' ' toml' ' vue' ' yml' !default ;
49
- ```
13
+ @[ code{3-} scss] ( @vuepress/theme-default/src/client/styles/_variables.scss )
50
14
51
15
## Style File
52
16
0 commit comments