Skip to content

Commit

Permalink
few improvements
Browse files Browse the repository at this point in the history
- Improved list numbers size
- Improved syntax highlighting for some languages to match GitHub's one
  • Loading branch information
kinoute committed May 15, 2021
1 parent 05ad572 commit ce479a2
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ I made other themes for different applications. Here there are:
- Vim Theme: https://github.com/kinoute/vim-hivacruz-theme
- iTerm2: https://github.com/kinoute/hivacruz-itermcolors
- Nova: https://github.com/kinoute/hivacruz-nova-theme

## Credits

* Created by [Yann Defretin](https://github.com/kinoute).
Expand Down
115 changes: 114 additions & 1 deletion github-night.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/kinoute/typora-github-night-theme
Authors: Yann Defretin, GitHub Team
Author URI: https://github.com/kinoute
Description: A Typora theme that uses GitHub Dark Color Scheme.
Version: 0.4.2
Version: 0.5.0
Tags: dark, github, typora
*/

Expand Down Expand Up @@ -1218,6 +1218,7 @@ body::-moz-selection {
#write ol,
#write ul {
padding-left: 2rem;
font-size: 1.15rem;
/* margin: .5rem 0;*/
}

Expand Down Expand Up @@ -1276,6 +1277,7 @@ sup.md-footnote {
color: #58a6ff;
font-weight: 700;
font-size: 75%;
font-style: normal;
}

sup.md-footnote:hover {
Expand Down Expand Up @@ -1895,6 +1897,117 @@ file-node-title-name-part {
white-space: pre-wrap;
}

/* Custom syntax highlighting */
div.cm-s-inner[lang="css"] .cm-qualifier {
color: #a5d6ff !important;
}

div.cm-s-inner[lang="css"] .cm-def {
color: #ff7b72 !important;
}

div.cm-s-inner[lang="css"] .cm-tag {
color: #7ee787 !important;
}

div.cm-s-inner[lang="diff"] .cm-meta {
color: #d2a8ff !important;
font-weight: 700;
}

div.cm-s-inner[lang="diff"] .cm-negative {
color: #d2a8ff !important;
font-weight: 700;
}

div.cm-s-inner[lang="dockerfile"] .cm-variable-2 {
color: #ff7b72 !important;
}

div.cm-s-inner[lang="elixir"] .cm-def {
color: #ff7b72 !important;
}

div.cm-s-inner[lang="elixir"] .cm-atom {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="erlang"] .cm-tag {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="fsharp"] .cm-variable {
color: #ffa657 !important;
}

div.cm-s-inner[lang="go"] .cm-atom {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="http"] .cm-atom {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="java"] .cm-def {
color: #ffa657 !important;
}

div.cm-s-inner[lang="javascript"] .cm-def {
color: #ffa657 !important;
}

div.cm-s-inner[lang="less"] .cm-def {
color: #ff7b72 !important;
}

div.cm-s-inner[lang="kotlin"] .cm-def {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="markdown"] .cm-comment.cm-variable-2 {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="perl"] .cm-def {
color: #ff7b72 !important;
}

div.cm-s-inner[lang="perl"] .cm-meta {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="perl"] .cm-variable-2 {
color: #8b949e !important;
}

div.cm-s-inner[lang="php"] .cm-def {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="python"] .cm-property {
color: #ffa657 !important;
}

div.cm-s-inner[lang="rust"] .cm-def {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="rust"] .cm-variable-3 {
color: #d2a8ff !important;
}

div.cm-s-inner[lang="scss"] .cm-def {
color: #ff7b72 !important;
}

div.cm-s-inner[lang="scss"] .cm-variable-2 {
color: #ffa657 !important;
}

div.cm-s-inner[lang="scss"] .cm-tag {
color: #d2a8ff !important;
}

/* Exports */
.typora-export li {
font-size: 1.25rem !important;
Expand Down

0 comments on commit ce479a2

Please sign in to comment.