Skip to content

Commit

Permalink
Change away from red inline code color (#1222)
Browse files Browse the repository at this point in the history
* Change code color to black

Close #1212.

* Add CHANGELOG
  • Loading branch information
mortenpi authored Jan 7, 2020
1 parent 75682ff commit 278cf3b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Documenter.jl changelog

## Version `v0.24.4`

* ![Enhancement][badge-enhancement] Change the inline code to less distracting black color in the HTML light theme. ([#1212][github-1212], [#1222][github-1222])

## Version `v0.24.3`

* ![Bugfix][badge-bugfix] Fix a case where Documenter's deployment would fail due to git picking up the wrong ssh config file on non-standard systems. ([#1216][github-1216])
Expand Down Expand Up @@ -498,7 +502,9 @@
[github-1189]: https://github.com/JuliaDocs/Documenter.jl/pull/1189
[github-1194]: https://github.com/JuliaDocs/Documenter.jl/pull/1194
[github-1195]: https://github.com/JuliaDocs/Documenter.jl/pull/1195
[github-1212]: https://github.com/JuliaDocs/Documenter.jl/issues/1212
[github-1216]: https://github.com/JuliaDocs/Documenter.jl/pull/1216
[github-1222]: https://github.com/JuliaDocs/Documenter.jl/pull/1222

[documenterlatex]: https://github.com/JuliaDocs/DocumenterLaTeX.jl
[documentermarkdown]: https://github.com/JuliaDocs/DocumenterMarkdown.jl
Expand Down
1 change: 1 addition & 0 deletions assets/html/scss/documenter-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ $border-width: 1px;
@import "documenter/utilities";
@import "documenter/variables";

$code: $red;
$code-background: rgba(255, 255, 255, 0.05);

$documenter-docstring-shadow: none;
Expand Down
1 change: 1 addition & 0 deletions assets/html/scss/documenter/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $green: #22c35b !default;
$turquoise: #1db5c9 !default;
$text: #222222 !default;
$text-strong: $text !default;
$code: #000000 !default;
// The inline <code> tags get rendered on various different backgrounds. Therefore, in order
// to make sure it always renders nicely, we'll just use transparent black color to make the
// background of the <code> elements slightly darker.
Expand Down
2 changes: 1 addition & 1 deletion assets/html/themes/documenter-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ a {

code {
background-color: rgba(0, 0, 0, 0.05);
color: #da0b00;
color: #000000;
font-size: 0.875em;
font-weight: normal;
padding: 0.1em; }
Expand Down

0 comments on commit 278cf3b

Please sign in to comment.