docs: update code highlight color (#4263)

This commit is contained in:
neverland
2019-08-27 20:21:37 +08:00
committed by GitHub
parent 959efb0ce6
commit a79750d00c
4 changed files with 10 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@vant/doc",
"version": "2.5.2",
"version": "2.5.3",
"description": "vant document template",
"main": "./lib/index.js",
"publishConfig": {

View File

@@ -1,4 +1,5 @@
@import './variable';
@import '../../../../src/style/var';
code {
position: relative;
@@ -35,7 +36,7 @@ pre {
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition {
color: #5758bb;
color: #7232dd;
}
.hljs-comment,
@@ -56,6 +57,7 @@ pre {
color: #88f;
}
.hljs-attr,
.hljs-keyword,
.hljs-selector-tag,
.hljs-title,
@@ -63,12 +65,11 @@ pre {
.hljs-built_in,
.hljs-doctag,
.hljs-type,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-strong {
color: #1889f9;
color: @blue;
}
.hljs-emphasis {