-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert prism-tomorrow.css to stylus and include it in our main CSS. (#…
- Loading branch information
Showing
5 changed files
with
103 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/** | ||
* prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML | ||
* Based on https://github.com/chriskempson/tomorrow-theme | ||
* @author Rose Pritchard | ||
*/ | ||
|
||
code[class*='language-'], | ||
pre[class*='language-'] | ||
color #ccc | ||
font-family Consolas, Monaco, 'Andale Mono', monospace | ||
direction ltr | ||
text-align left | ||
white-space pre | ||
word-spacing normal | ||
word-break normal | ||
line-height 1.5 | ||
|
||
-moz-tab-size 4 | ||
-o-tab-size 4 | ||
tab-size 4 | ||
|
||
-webkit-hyphens none | ||
-moz-hyphens none | ||
-ms-hyphens none | ||
hyphens none | ||
|
||
/* Code blocks */ | ||
pre[class*='language-'] | ||
padding 1em | ||
margin 0.5em 0 | ||
overflow auto | ||
|
||
:not(pre) > code[class*='language-'], | ||
pre[class*='language-'] | ||
background #2d2d2d | ||
|
||
/* Inline code */ | ||
:not(pre) > code[class*='language-'] | ||
padding 0.1em | ||
border-radius 0.3em | ||
|
||
.token.comment, | ||
.token.block-comment, | ||
.token.prolog, | ||
.token.doctype, | ||
.token.cdata | ||
color #999 | ||
|
||
.token | ||
&.punctuation | ||
color #ccc | ||
&.function-name | ||
color #6196cc | ||
&.italic | ||
font-style italic | ||
&.entity | ||
cursor help | ||
&.inserted | ||
color green | ||
|
||
.token.tag, | ||
.token.attr-name, | ||
.token.namespace, | ||
.token.deleted | ||
color #e2777a | ||
|
||
.token.boolean, | ||
.token.number, | ||
.token.function | ||
color #f08d49 | ||
|
||
.token.property, | ||
.token.class-name, | ||
.token.constant, | ||
.token.symbol | ||
color #f8c555 | ||
|
||
.token.selector, | ||
.token.important, | ||
.token.atrule, | ||
.token.keyword, | ||
.token.builtin | ||
color #cc99cd | ||
|
||
.token.string, | ||
.token.char, | ||
.token.attr-value, | ||
.token.regex, | ||
.token.variable | ||
color #7ec699 | ||
|
||
.token.operator, | ||
.token.entity, | ||
.token.url | ||
color #67cdcc | ||
|
||
.token.important, | ||
.token.bold | ||
font-weight 700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.