-
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from vcapretz/replace-highlight-lib
highlight: replace libs with more powerful one
- Loading branch information
Showing
7 changed files
with
256 additions
and
144 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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React from 'react' | ||
import { render } from 'react-dom' | ||
import './index.css' | ||
import './xcode.css' | ||
import App from './components/App' | ||
|
||
render(<App basePath={window.basePath} />, document.getElementById('root')) |
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,103 @@ | ||
/* | ||
XCode style (c) Angel Garcia <[email protected]> | ||
*/ | ||
|
||
.hljs { | ||
display: block; | ||
overflow-x: auto; | ||
padding: 0.5em; | ||
background: #fff; | ||
color: black; | ||
} | ||
|
||
/* Gray DOCTYPE selectors like WebKit */ | ||
.xml .hljs-meta { | ||
color: #c0c0c0; | ||
} | ||
|
||
.hljs-comment, | ||
.hljs-quote { | ||
color: #007400; | ||
} | ||
|
||
.hljs-tag, | ||
.hljs-attribute, | ||
.hljs-keyword, | ||
.hljs-selector-tag, | ||
.hljs-literal, | ||
.hljs-name { | ||
color: #aa0d91; | ||
} | ||
|
||
.hljs-variable, | ||
.hljs-template-variable { | ||
color: #3f6e74; | ||
} | ||
|
||
.hljs-code, | ||
.hljs-string, | ||
.hljs-meta-string { | ||
color: #c41a16; | ||
} | ||
|
||
.hljs-regexp, | ||
.hljs-link { | ||
color: #0e0eff; | ||
} | ||
|
||
.hljs-title, | ||
.hljs-symbol, | ||
.hljs-bullet, | ||
.hljs-number { | ||
color: #1c00cf; | ||
} | ||
|
||
.hljs-section, | ||
.hljs-meta { | ||
color: #643820; | ||
} | ||
|
||
.hljs-class .hljs-title, | ||
.hljs-type, | ||
.hljs-built_in, | ||
.hljs-builtin-name, | ||
.hljs-params { | ||
color: #5c2699; | ||
} | ||
|
||
.hljs-attr { | ||
color: #836c28; | ||
} | ||
|
||
.hljs-subst { | ||
color: #000; | ||
} | ||
|
||
.hljs-formula { | ||
background-color: #eee; | ||
font-style: italic; | ||
} | ||
|
||
.hljs-addition { | ||
background-color: #baeeba; | ||
} | ||
|
||
.hljs-deletion { | ||
background-color: #ffc8bd; | ||
} | ||
|
||
.hljs-selector-id, | ||
.hljs-selector-class { | ||
color: #9b703f; | ||
} | ||
|
||
.hljs-doctag, | ||
.hljs-strong { | ||
font-weight: bold; | ||
} | ||
|
||
.hljs-emphasis { | ||
font-style: italic; | ||
} |
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
Oops, something went wrong.