Browse Source

Add missing highlighting css for the light theme

pull/1161/head
Still Hsu 7 years ago
parent
commit
a6780b73af
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
2 changed files with 73 additions and 0 deletions
  1. +1
    -0
      docs/_template/light-dark-theme/styles/light.css
  2. +72
    -0
      docs/_template/light-dark-theme/styles/tomorrow.css

+ 1
- 0
docs/_template/light-dark-theme/styles/light.css View File

@@ -1,5 +1,6 @@
/* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */

@import url('tomorrow.css');
html,
body {
background: #fff;


+ 72
- 0
docs/_template/light-dark-theme/styles/tomorrow.css View File

@@ -0,0 +1,72 @@
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */

/* Tomorrow Comment */
.hljs-comment,
.hljs-quote {
color: #8e908c;
}

/* Tomorrow Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #c82829;
}

/* Tomorrow Orange */
.hljs-number,
.hljs-built_in,
.hljs-builtin-name,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #f5871f;
}

/* Tomorrow Yellow */
.hljs-attribute {
color: #eab700;
}

/* Tomorrow Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #718c00;
}

/* Tomorrow Blue */
.hljs-title,
.hljs-section {
color: #4271ae;
}

/* Tomorrow Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #8959a8;
}

.hljs {
display: block;
overflow-x: auto;
background: white;
color: #4d4d4c;
padding: 0.5em;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

Loading…
Cancel
Save