File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
packages/@vuepress/core/lib/client/style Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 1+ @require '~@temp/palette.styl'
2+
13// colors
2- $accentColor = #3e af 7c
3- $textColor = #2c 3e 50
4- $borderColor = #ea ec ef
5- $codeBgColor = #28 2c 34
6- $arrowBgColor = #c c c
7- $badgeTipColor = #42 b9 83
8- $badgeWarningColor = darken (#ff e5 64 , 35% )
9- $badgeErrorColor = #DA 59 61
4+ $accentColor ? = #3e af 7c
5+ $textColor ? = #2c 3e 50
6+ $borderColor ? = #ea ec ef
7+ $codeBgColor ? = #28 2c 34
8+ $arrowBgColor ? = #c c c
9+ $badgeTipColor ? = #42 b9 83
10+ $badgeWarningColor ? = darken (#ff e5 64 , 35% )
11+ $badgeErrorColor ? = #DA 59 61
1012
1113// layout
12- $navbarHeight = 3.6rem
13- $sidebarWidth = 20rem
14- $contentWidth = 740px
15- $homePageWidth = 960px
14+ $navbarHeight ? = 3.6rem
15+ $sidebarWidth ? = 20rem
16+ $contentWidth ? = 740px
17+ $homePageWidth ? = 960px
1618
1719// responsive breakpoints
18- $MQNarrow = 959px
19- $MQMobile = 719px
20- $MQMobileNarrow = 419px
20+ $MQNarrow ? = 959px
21+ $MQMobile ? = 719px
22+ $MQMobileNarrow ? = 419px
2123
2224// code
23- $lineNumbersWrapperWidth = 3.5rem
24- $codeLang = js ts html md vue css sass scss less stylus go java c sh yaml py docker dockerfile makefile
25-
26- @import '~@temp/palette.styl'
25+ $lineNumbersWrapperWidth ?= 3.5rem
26+ $codeLang ?= js ts html md vue css sass scss less stylus go java c sh yaml py docker dockerfile makefile
You can’t perform that action at this time.
0 commit comments