Skip to content

Commit

Permalink
(themes) Add new intellij-light theme (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
PegasisForever committed Dec 27, 2021
1 parent c5ff49e commit c0138d9
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -8,6 +8,7 @@ Themes:

- `Default` is now much closer WCAG AA (contrast) (#3402) [Josh Goebel]
- `Dark` now meets WCAG AA (contrast) (#3402) [Josh Goebel]
- Added `intellij-light` theme [Pegasis]

These changes should be for the better and should not be super noticeable but if you're super picky about your colors you may want to intervene here or copy over the older themes from 11.3 or prior.

Expand Down Expand Up @@ -52,6 +53,7 @@ Themes:

- Modified background color in css for Gradient Light and Gradient Dark themes [Samia Ali][]

[Pegasis]: https://github.com/PegasisForever
[Wojciech Kania]: https://github.com/wkania
[Jeylani B]: https://github.com/jeyllani
[Richard Gibson]: https://github.com/gibson042
Expand Down
119 changes: 119 additions & 0 deletions src/styles/intellij-light.css
@@ -0,0 +1,119 @@
/*
Intellij-light style (c) Pegasis <me@pegasis.site>
*/

.hljs {
color: #000;
background: #fff;
}

.hljs-subst,
.hljs-title {
font-weight: normal;
color: #000;
}

.hljs-title.function_ {
color: #7A7A43;
}

.hljs-code,
.hljs-comment,
.hljs-quote {
color: #8C8C8C;
font-style: italic;
}

.hljs-meta {
color: #9E880D;
}

.hljs-section {
color: #871094;
}

.hljs-variable.language_,
.hljs-symbol,
.hljs-selector-class,
.hljs-selector-id,
.hljs-selector-tag,
.hljs-template-tag,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-literal,
.hljs-name,
.hljs-built_in,
.hljs-type {
color: #0033B3;
}

.hljs-property,
.hljs-attr {
color: #871094;
}

.hljs-attribute {
color: #174AD4;
}

.hljs-number {
color: #1750EB;
}

.hljs-regexp {
color: #264EFF;
}

.hljs-link {
text-decoration: underline;
color: #006DCC;
}

.hljs-meta .hljs-string,
.hljs-string {
color: #067D17;
}

.hljs-char.escape_ {
color: #0037A6;
}

.hljs-doctag {
text-decoration: underline;
}

.hljs-template-variable {
color: #248F8F;
}

.hljs-addition {
background: #BEE6BE;
}

.hljs-deletion {
background: #D6D6D6;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

.hljs-variable,
.hljs-operator,
.hljs-punctuation,
.hljs-title.class_.inherited__,
.hljs-title.class_,
.hljs-params,
.hljs-bullet,
.hljs-formula,
.hljs-tag {
/* purposely ignored */
}
1 change: 1 addition & 0 deletions tools/developer.html
Expand Up @@ -107,6 +107,7 @@ <h3>Code</h3>
<option>tomorrow-night-blue.css</option>
<option>monokai.css</option>
<option>idea.css</option>
<option>intellij-light.css</option>
<option>purebasic.css</option>
<option>qtcreator-dark.css</option>
<option>androidstudio.css</option>
Expand Down

0 comments on commit c0138d9

Please sign in to comment.