Skip to content

Commit

Permalink
Update comment and invisible colors of Solarized
Browse files Browse the repository at this point in the history
#3 (comment)

* Make comments italicized
* Fix colors of comments in solarized dark
* Adjust colors of invisible characters
  • Loading branch information
gadenbuie committed Dec 27, 2019
1 parent d1a82c9 commit 44e8b64
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
12 changes: 8 additions & 4 deletions inst/templates/solarized-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ $ui-line-active-gutter : $base01;
$ui-line-active-selection : $base01;
$ui-line-find : $base0;
$ui-bracket : $base00;
$ui-invisible : $base00;
$ui-indent-guide : $base01;
$ui-invisible : transparentize($base01, 0.66);
$ui-indent-guide : transparentize($base01, 0.66);
$ui-debug-background : lighten($ui-background, 10%);
$ui-fold-arrows-background: $violet;
$ui-fold-arrows-color : $ui-foreground;
Expand All @@ -43,7 +43,7 @@ $ui-rstudio-scrollbar-background: $ui-background;
$ui-rstudio-scrollbar-handle : $base02;

// R language colors
$rlang-comment : $base0;
$rlang-comment : $base01;
$rlang-string : $cyan;
$rlang-function : $blue;
$rlang-reserved : $green;
Expand All @@ -57,4 +57,8 @@ $rlang-namespace-font-style: italic;

$other-tag: $rlang-variable;

@import "rstudio/_rstudio-dark", "rstudio/_terminal";
.ace_comment {
font-style: italic;
}

@import "rstudio/_rstudio-dark", "rstudio/_terminal";
10 changes: 7 additions & 3 deletions inst/templates/solarized-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ $ui-line-active-gutter : $ui-gutter-color;
$ui-line-active-selection : $base1;
$ui-line-find : $base00;
$ui-bracket : transparentize($ui-cursor, 0.6);
$ui-invisible : $base2;
$ui-indent-guide : $base2;
$ui-invisible : transparentize($base1, 0.66);
$ui-indent-guide : transparentize($base1, 0.66);
$ui-debug-background : lighten($ui-background, 10%);
$ui-fold-arrows-background: $violet;
$ui-fold-arrows-color : $ui-foreground;
Expand Down Expand Up @@ -57,4 +57,8 @@ $rlang-namespace-font-style: italic;

$other-tag: $rlang-variable;

@import "rstudio/_rstudio-light", "rstudio/_terminal";
.ace_comment {
font-style: italic;
}

@import "rstudio/_rstudio-light", "rstudio/_terminal";
10 changes: 7 additions & 3 deletions inst/themes/solarized-dark.rstheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/* rs-theme-name: Solarized Dark {rsthemes} */
/* rs-theme-is-dark: TRUE */
/* https://ethanschoonover.com/solarized */
.ace_comment {
font-style: italic;
}

.ace_gutter {
background: #002b36;
color: #839496;
Expand Down Expand Up @@ -98,7 +102,7 @@
}

.ace_indent-guide {
border-right: 1px solid #586e75;
border-right: 1px solid rgba(88, 110, 117, 0.34);
margin-right: -1px;
}

Expand Down Expand Up @@ -179,11 +183,11 @@
}

.ace_comment {
color: #839496;
color: #586e75;
}

.ace_invisible {
color: #657b83;
color: rgba(88, 110, 117, 0.34);
}

.ace_variable {
Expand Down
8 changes: 6 additions & 2 deletions inst/themes/solarized-light.rstheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/* rs-theme-name: Solarized Light {rsthemes} */
/* rs-theme-is-dark: FALSE */
/* https://ethanschoonover.com/solarized */
.ace_comment {
font-style: italic;
}

.ace_gutter {
background: #eee8d5;
color: #93a1a1;
Expand Down Expand Up @@ -99,7 +103,7 @@
}

.ace_indent-guide {
border-right: 1px solid #eee8d5;
border-right: 1px solid rgba(147, 161, 161, 0.34);
margin-right: -1px;
}

Expand Down Expand Up @@ -184,7 +188,7 @@
}

.ace_invisible {
color: #eee8d5;
color: rgba(147, 161, 161, 0.34);
}

.ace_variable {
Expand Down

0 comments on commit 44e8b64

Please sign in to comment.