Skip to content

Commit a2bfcce

Browse files
authored
(themes) Add tokyo-night-light theme (#3482)
1 parent 6b8c831 commit a2bfcce

File tree

4 files changed

+122
-3
lines changed

4 files changed

+122
-3
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Themes:
44
- Added `Tokyo-Night-dark` theme [Henri Vandersleyen][]
5+
- Added `Tokyo-Night-light` theme [Henri Vandersleyen][]
56

67
New Grammars:
78

src/styles/tokyo-night-dark.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
Theme: Tokyionight-Dark
2+
Theme: Tokyo-night-Dark
33
origin: https://github.com/enkia/tokyo-night-vscode-theme
44
Description: Original highlight.js style
55
Author: (c) Henri Vandersleyen <[email protected]>
@@ -88,7 +88,7 @@
8888

8989

9090

91-
/* Purple */
91+
/* Magenta */
9292
/*INFO: Control Keywords, Storage Types, Regex symbols and operators, HTML Attributes, Terminal Magenta */
9393
.hljs-name,
9494
.hljs-keyword,
@@ -104,7 +104,6 @@
104104
.hljs-punctuation {color: #c0caf5}
105105

106106
.hljs {
107-
/* background: #002451; */
108107
background: #1a1b26;
109108
color: #9aa5ce;
110109
}

src/styles/tokyo-night-light.css

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/*!
2+
Theme: Tokyo-night-light
3+
origin: https://github.com/enkia/tokyo-night-vscode-theme
4+
Description: Original highlight.js style
5+
Author: (c) Henri Vandersleyen <[email protected]>
6+
License: see project LICENSE
7+
Touched: 2022
8+
*/
9+
10+
/* Comment */
11+
.hljs-meta,
12+
.hljs-comment {
13+
color: #9699a3;
14+
}
15+
16+
/* Red */
17+
/*INFO: This keyword, HTML elements, Regex group symbol, CSS units, Terminal Red */
18+
.hljs-tag,
19+
.hljs-doctag,
20+
.hljs-selector-id,
21+
.hljs-selector-class,
22+
.hljs-regexp,
23+
.hljs-template-tag,
24+
.hljs-selector-pseudo,
25+
.hljs-selector-attr,
26+
.hljs-variable.language_,
27+
.hljs-deletion {
28+
color: #8c4351;
29+
}
30+
31+
/*Orange */
32+
/*INFO: Number and Boolean constants, Language support constants */
33+
.hljs-variable,
34+
.hljs-template-variable,
35+
.hljs-number,
36+
.hljs-literal,
37+
.hljs-type,
38+
.hljs-params,
39+
.hljs-link {
40+
color: #965027;
41+
}
42+
43+
44+
/* Yellow */
45+
/* INFO: Function parameters, Regex character sets, Terminal Yellow */
46+
.hljs-built_in,
47+
.hljs-attribute {
48+
color: #8f5e15;
49+
}
50+
/* cyan */
51+
/* INFO: Language support functions, CSS HTML elements */
52+
.hljs-selector-tag {
53+
color: #166775;
54+
}
55+
56+
/* light blue */
57+
/* INFO: Object properties, Regex quantifiers and flags, Markdown headings, Terminal Cyan, Markdown code, Import/export keywords */
58+
.hljs-keyword,
59+
.hljs-title.function_,
60+
.hljs-title,
61+
.hljs-title.class_,
62+
.hljs-title.class_.inherited__,
63+
.hljs-subst,
64+
.hljs-property {color: #0f4b6e;}
65+
66+
/*Green*/
67+
/* INFO: Object literal keys, Markdown links, Terminal Green */
68+
.hljs-selector-tag { color: #33635c;}
69+
70+
71+
/*Green(er) */
72+
/* INFO: Strings, CSS class names */
73+
.hljs-quote,
74+
.hljs-string,
75+
.hljs-symbol,
76+
.hljs-bullet,
77+
.hljs-addition {
78+
color: #485e30;
79+
}
80+
81+
/* Blue */
82+
/* INFO: Function names, CSS property names, Terminal Blue */
83+
.hljs-code,
84+
.hljs-formula,
85+
.hljs-section {
86+
color: #34548a;
87+
}
88+
89+
90+
91+
/* Magenta */
92+
/*INFO: Control Keywords, Storage Types, Regex symbols and operators, HTML Attributes, Terminal Magenta */
93+
.hljs-name,
94+
.hljs-keyword,
95+
.hljs-operator,
96+
.hljs-keyword,
97+
.hljs-char.escape_,
98+
.hljs-attr {
99+
color: #5a4a78;
100+
}
101+
102+
/* white*/
103+
/* INFO: Variables, Class names, Terminal White */
104+
.hljs-punctuation {color: #343b58}
105+
106+
.hljs {
107+
background: #d5d6db;
108+
color: #565a6e;
109+
}
110+
111+
.hljs-emphasis {
112+
font-style: italic;
113+
}
114+
115+
.hljs-strong {
116+
font-weight: bold;
117+
}
118+

tools/developer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ <h3>Code</h3>
7272
Theme: <select class="theme">
7373
<option>stackoverflow-light.css</option>
7474
<option>tokyo-night-dark.css</option>
75+
<option>tokyo-night-light.css</option>
7576
<option>qtcreator-light.css</option>
7677
<option>codepen-embed.css</option>
7778
<option>docco.css</option>

0 commit comments

Comments
 (0)