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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

View File

@ -71,7 +71,7 @@
"@babel/preset-typescript": "^7.3.3", "@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.16", "@types/jest": "^24.0.16",
"@vant/cli": "^1.0.4", "@vant/cli": "^1.0.4",
"@vant/doc": "^2.5.2", "@vant/doc": "^2.5.3",
"@vant/eslint-config": "^1.2.5", "@vant/eslint-config": "^1.2.5",
"@vant/markdown-loader": "^2.2.0", "@vant/markdown-loader": "^2.2.0",
"@vant/markdown-vetur": "^1.0.0", "@vant/markdown-vetur": "^1.0.0",

View File

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

View File

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

View File

@ -1194,10 +1194,10 @@
shelljs "^0.8.2" shelljs "^0.8.2"
signale "^1.4.0" signale "^1.4.0"
"@vant/doc@^2.5.2": "@vant/doc@^2.5.3":
version "2.5.2" version "2.5.3"
resolved "https://registry.yarnpkg.com/@vant/doc/-/doc-2.5.2.tgz#fbc51239eab5fcbeb31aac67fe285378238c1ba7" resolved "https://registry.yarnpkg.com/@vant/doc/-/doc-2.5.3.tgz#5790949bfdb8cfcd0a6d14258f491244c1ee53f1"
integrity sha512-Pz+bNXBv09Sr7T8G2gNejp6XRsDsHqdMMr/O/cq9ylrNfQToPS+cPkerjf296b2b8/aLDGO9nVNuA9Gu84A2Qw== integrity sha512-/oQgLBu4lpFBxbAG7C44ZFTAmZwSU9W4Ght3CApB6rYBXlEU9Yu7q/pAMW5f0/etkxr31QWijgKnK7rFKhAVXQ==
"@vant/eslint-config@^1.2.5": "@vant/eslint-config@^1.2.5":
version "1.2.5" version "1.2.5"