Skip to content

Commit c46c60b

Browse files
committed
0.2.0
1 parent 7b28a26 commit c46c60b

File tree

3 files changed

+40
-34
lines changed

3 files changed

+40
-34
lines changed

lib/github-light.css

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,14 @@
1-
/*
2-
The MIT License (MIT)
1+
/*!
2+
* GitHub Light v0.2.0
3+
* Copyright (c) 2012 - 2016 GitHub, Inc.
4+
* Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE)
5+
*/
36

4-
Copyright (c) 2016 GitHub, Inc.
5-
6-
Permission is hereby granted, free of charge, to any person obtaining a copy
7-
of this software and associated documentation files (the "Software"), to deal
8-
in the Software without restriction, including without limitation the rights
9-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
copies of the Software, and to permit persons to whom the Software is
11-
furnished to do so, subject to the following conditions:
12-
13-
The above copyright notice and this permission notice shall be included in all
14-
copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
SOFTWARE.
23-
24-
*/
25-
26-
.pl-c /* comment */ {
7+
.pl-c /* comment, punctuation.definition.comment, string.comment */ {
278
color: #969896;
289
}
2910

30-
.pl-c1 /* constant, variable.other.constant, support, meta.property-name, support.constant, support.variable, meta.module-reference, markup.raw, meta.diff.header */,
11+
.pl-c1 /* constant, entity.name.constant, variable.other.constant, variable.language, support, meta.property-name, support.constant, support.variable, meta.module-reference, markup.raw, meta.diff.header */,
3112
.pl-s .pl-v /* string variable */ {
3213
color: #0086b3;
3314
}
@@ -51,7 +32,7 @@ SOFTWARE.
5132
}
5233

5334
.pl-s /* string */,
54-
.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
35+
.pl-pds /* punctuation.definition.string, source.regexp, string.regexp.character-class */,
5536
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
5637
.pl-sr /* string.regexp */,
5738
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
@@ -60,11 +41,12 @@ SOFTWARE.
6041
color: #183691;
6142
}
6243

63-
.pl-v /* variable */ {
44+
.pl-v /* variable */,
45+
.pl-smw /* sublimelinter.mark.warning */ {
6446
color: #ed6a43;
6547
}
6648

67-
.pl-id /* invalid.deprecated */ {
49+
.pl-bu /* invalid.broken, invalid.deprecated, invalid.unimplemented, message.error, brackethighlighter.unmatched, sublimelinter.mark.error */ {
6850
color: #b52a1d;
6951
}
7052

@@ -103,16 +85,26 @@ SOFTWARE.
10385
color: #333;
10486
}
10587

106-
.pl-md /* markup.deleted, meta.diff.header.from-file */ {
88+
.pl-md /* markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted */ {
10789
color: #bd2c00;
10890
background-color: #ffecec;
10991
}
11092

111-
.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
93+
.pl-mi1 /* markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted */ {
11294
color: #55a532;
11395
background-color: #eaffea;
11496
}
11597

98+
.pl-mc /* markup.changed, punctuation.definition.changed */ {
99+
color: #ef9700;
100+
background-color: #ffe3b4;
101+
}
102+
103+
.pl-mi2 /* markup.ignored, markup.untracked */ {
104+
color: #d8d8d8;
105+
background-color: #808080;
106+
}
107+
116108
.pl-mdr /* meta.diff.range */ {
117109
font-weight: bold;
118110
color: #795da3;
@@ -122,3 +114,16 @@ SOFTWARE.
122114
color: #1d3e81;
123115
}
124116

117+
.pl-ba /* brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote */ {
118+
color: #595e62;
119+
}
120+
121+
.pl-sg /* sublimelinter.gutter-mark */ {
122+
color: #c0c0c0;
123+
}
124+
125+
.pl-corl /* constant.other.reference.link, string.other.link */ {
126+
text-decoration: underline;
127+
color: #183691;
128+
}
129+

lib/github-light.map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"comment":"pl-c","constant":"pl-c1","markup.raw":"pl-c1","meta.diff.header":"pl-c1","meta.module-reference":"pl-c1","meta.property-name":"pl-c1","support":"pl-c1","support.constant":"pl-c1","support.variable":"pl-c1","variable.other.constant":"pl-c1","string":"pl-s","variable":"pl-v","keyword.operator.symbole":"pl-kos","keyword.other.mark":"pl-kos","string.unquoted.import.ada":"pl-kos","entity":"pl-e","entity.name":"pl-en","storage.modifier.import":"pl-smi","storage.modifier.package":"pl-smi","storage.type.java":"pl-smi","variable.other":"pl-smi","variable.parameter.function":"pl-smi","source":"pl-s1","entity.name.tag":"pl-ent","keyword":"pl-k","storage":"pl-k","storage.type":"pl-k","punctuation.definition.string":"pl-pds","string.regexp.character-class":"pl-pds","punctuation.section.embedded":"pl-pse","string.regexp":"pl-sr","constant.character.escape":"pl-cce","source.ruby.embedded":"pl-sre","string.regexp.arbitrary-repitition":"pl-sra","invalid.deprecated":"pl-id","invalid.illegal":"pl-ii","markup.list":"pl-ml","meta.separator":"pl-ms","markup.heading":"pl-mh","markup.quote":"pl-mq","markup.italic":"pl-mi","markup.bold":"pl-mb","markup.deleted":"pl-md","meta.diff.header.from-file":"pl-md","markup.inserted":"pl-mi1","meta.diff.header.to-file":"pl-mi1","meta.diff.range":"pl-mdr","meta.output":"pl-mo"}
1+
{"comment":"pl-c","punctuation.definition.comment":"pl-c","string.comment":"pl-c","constant":"pl-c1","entity.name.constant":"pl-c1","markup.raw":"pl-c1","meta.diff.header":"pl-c1","meta.module-reference":"pl-c1","meta.property-name":"pl-c1","support":"pl-c1","support.constant":"pl-c1","support.variable":"pl-c1","variable.language":"pl-c1","variable.other.constant":"pl-c1","string":"pl-s","variable":"pl-v","keyword.operator.symbole":"pl-kos","keyword.other.mark":"pl-kos","string.unquoted.import.ada":"pl-kos","entity":"pl-e","entity.name":"pl-en","storage.modifier.import":"pl-smi","storage.modifier.package":"pl-smi","storage.type.java":"pl-smi","variable.other":"pl-smi","variable.parameter.function":"pl-smi","source":"pl-s1","entity.name.tag":"pl-ent","keyword":"pl-k","storage":"pl-k","storage.type":"pl-k","punctuation.definition.string":"pl-pds","source.regexp":"pl-pds","string.regexp.character-class":"pl-pds","punctuation.section.embedded":"pl-pse","string.regexp":"pl-sr","constant.character.escape":"pl-cce","source.ruby.embedded":"pl-sre","string.regexp.arbitrary-repitition":"pl-sra","sublimelinter.mark.warning":"pl-smw","brackethighlighter.unmatched":"pl-bu","invalid.broken":"pl-bu","invalid.deprecated":"pl-bu","invalid.unimplemented":"pl-bu","message.error":"pl-bu","sublimelinter.mark.error":"pl-bu","invalid.illegal":"pl-ii","markup.list":"pl-ml","meta.separator":"pl-ms","markup.heading":"pl-mh","markup.quote":"pl-mq","markup.italic":"pl-mi","markup.bold":"pl-mb","markup.deleted":"pl-md","meta.diff.header.from-file":"pl-md","punctuation.definition.deleted":"pl-md","markup.inserted":"pl-mi1","meta.diff.header.to-file":"pl-mi1","punctuation.definition.inserted":"pl-mi1","markup.changed":"pl-mc","punctuation.definition.changed":"pl-mc","markup.ignored":"pl-mi2","markup.untracked":"pl-mi2","meta.diff.range":"pl-mdr","meta.output":"pl-mo","brackethighlighter.angle":"pl-ba","brackethighlighter.curly":"pl-ba","brackethighlighter.quote":"pl-ba","brackethighlighter.round":"pl-ba","brackethighlighter.square":"pl-ba","brackethighlighter.tag":"pl-ba","sublimelinter.gutter-mark":"pl-sg","constant.other.reference.link":"pl-corl","string.other.link":"pl-corl"}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
},
2121
"scripts": {
2222
"_version": "npm version $(npm view github-syntax-theme-generator version)",
23+
"_commit": "git commit -am $(npm view github-syntax-theme-generator version)",
2324
"_update": "npm update && cp node_modules/github-syntax-theme-generator/build/css/github-light.* lib/.",
24-
"ship": "npm run _update && npm run _version && git push && git push --tags && npm publish",
25+
"ship": "npm run _update && npm run _commit && npm run _version && git push && git push --tags && npm publish",
2526
"test": "echo \"Error: no test specified\" && exit 1"
2627
},
2728
"keywords": [
@@ -33,6 +34,6 @@
3334
"code"
3435
],
3536
"devDependencies": {
36-
"github-syntax-theme-generator": "^0.1.0"
37+
"github-syntax-theme-generator": "*"
3738
}
3839
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy