Skip to content

Commit d2112c0

Browse files
committed
first commit
0 parents  commit d2112c0

File tree

3 files changed

+165
-0
lines changed

3 files changed

+165
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Josh Goebel
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

templates/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
default:
2+
extension: .css
3+
output: themes

templates/default.mustache

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
/*!
2+
Theme: {{scheme-name}}
3+
Author: {{scheme-author}}
4+
5+
This theme was auto-generated from {{scheme-slug}} by Highlight.js Base16
6+
template builder.
7+
*/
8+
9+
/*
10+
base00 - #{{base00-hex}} - Default Background
11+
base01 - #{{base01-hex}} - Lighter Background (Used for status bars, line number and folding marks)
12+
base02 - #{{base02-hex}} - Selection Background
13+
base03 - #{{base03-hex}} - Comments, Invisibles, Line Highlighting
14+
base04 - #{{base04-hex}} - Dark Foreground (Used for status bars)
15+
base05 - #{{base05-hex}} - Default Foreground, Caret, Delimiters, Operators
16+
base06 - #{{base06-hex}} - Light Foreground (Not often used)
17+
base07 - #{{base07-hex}} - Light Background (Not often used)
18+
base08 - #{{base08-hex}} - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
19+
base09 - #{{base09-hex}} - Integers, Boolean, Constants, XML Attributes, Markup Link Url
20+
base0A - #{{base0A-hex}} - Classes, Markup Bold, Search Text Background
21+
base0B - #{{base0B-hex}} - Strings, Inherited Class, Markup Code, Diff Inserted
22+
base0C - #{{base0C-hex}} - Support, Regular Expressions, Escape Characters, Markup Quotes
23+
base0D - #{{base0D-hex}} - Functions, Methods, Attribute IDs, Headings
24+
base0E - #{{base0E-hex}} - Keywords, Storage, Selector, Markup Italic, Diff Changed
25+
base0F - #{{base0F-hex}} - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
26+
*/
27+
28+
.hljs {
29+
color: #{{base05-hex}};
30+
background: #{{base00-hex}};
31+
}
32+
33+
::selection {
34+
color: #{{base02-hex}};
35+
}
36+
37+
.hljs-formula,
38+
.hljs-params,
39+
.hljs-property
40+
{}
41+
42+
/* base03 - #{{base03-hex}} - Comments, Invisibles, Line Highlighting */
43+
.hljs-comment {
44+
color: #{{base03-hex}};
45+
}
46+
47+
/* base04 - #{{base04-hex}} - Dark Foreground (Used for status bars) */
48+
.hljs-tag {
49+
color: #{{base04-hex}};
50+
}
51+
52+
/* base05 - #{{base05-hex}} - Default Foreground, Caret, Delimiters, Operators */
53+
.hljs-subst {
54+
color: #{{base05-hex}};
55+
}
56+
.hljs-punctuation,
57+
.hljs-operator {
58+
color: #{{base05-hex}};
59+
}
60+
61+
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
62+
.hljs-bullet,
63+
.hljs-variable,
64+
.hljs-template-variable,
65+
.hljs-selector-tag,
66+
.hljs-name,
67+
.hljs-deletion {
68+
color: #{{base08-hex}};
69+
}
70+
71+
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
72+
.hljs-symbol,
73+
.hljs-number,
74+
.hljs-link,
75+
.hljs-attr,
76+
.hljs-literal {
77+
color: #{{base09-hex}};
78+
}
79+
80+
/* base0A - Classes, Markup Bold, Search Text Background */
81+
.hljs-title,
82+
.hljs-class .hljs-title,
83+
.hljs-title.class_
84+
{
85+
color: #{{base0A-hex}};
86+
}
87+
88+
.hljs-strong {
89+
font-weight:bold;
90+
color: #{{base0A-hex}};
91+
}
92+
93+
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
94+
.hljs-code,
95+
.hljs-addition,
96+
.hljs-title.class_.inherited__,
97+
.hljs-string {
98+
color: #{{base0B-hex}};
99+
}
100+
101+
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
102+
.hljs-built_in,
103+
.hljs-doctag, /* guessing */
104+
.hljs-quote,
105+
.hljs-regexp {
106+
color: #{{base0C-hex}};
107+
}
108+
109+
/* base0D - Functions, Methods, Attribute IDs, Headings */
110+
.hljs-function .hljs-title,
111+
.hljs-attribute,
112+
.hljs-title.function_,
113+
.hljs-section {
114+
color: #{{base0D-hex}};
115+
}
116+
117+
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
118+
.hljs-type,
119+
.hljs-selector-id,
120+
.hljs-selector-class,
121+
.hljs-selector-attr,
122+
.hljs-selector-pseudo,
123+
.hljs-template-tag,
124+
.diff .hljs-meta,
125+
.hljs-keyword {
126+
color: #{{base0E-hex}};
127+
}
128+
.hljs-emphasis {
129+
color: #{{base0E-hex}};
130+
font-style: italic;
131+
}
132+
133+
.hljs-meta-keyword {
134+
/* color: #{{base0E-hex}}; */
135+
font-weight: bold;
136+
}
137+
138+
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
139+
.hljs-meta {
140+
color: #{{base0F-hex}};
141+
}

0 commit comments

Comments
 (0)