Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/_sass/color_schemes/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ $green-000: #41d693 !default;
$green-100: #11b584 !default;
$green-200: #009c7b !default;
$green-300: #026e57 !default;
$yellow-000: #ffeb82 !default;
// Override the default yellow 000 for better visibility
$yellow-000: #5f4f00;
$yellow-100: #fadf50 !default;
$yellow-200: #f7d12e !default;
$yellow-300: #e7af06 !default;
Expand Down
2 changes: 1 addition & 1 deletion docs/_sass/color_schemes/custom_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $sidebar-color: $new-body-background-color; //Replacing default $grey-dk-300
$base-button-color: $grey-dk-250;
$btn-primary-color: $blue-200;
$code-background-color:#202020; // Important to match with .highlight background and .highlight.err background-color
$code-linenumber-color: #447fcf; // Important to match with .highlight.nf color
$code-linenumber-color: #f5f6fa; // Important to match with .highlight.nf color
$feedback-color: darken($sidebar-color, 3%);
$table-background-color: lighten($new-body-background-color, 5%); // Replacing default $grey-dk-250
$search-background-color: $new-body-background-color; // Replacing default $grey-dk-250
Expand Down
13 changes: 13 additions & 0 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Fixes callout styling regression introduced in just-the-docs v0.11.0 which
// replaced the colored background fill with an all-sides border outline.
// These overrides restore the left-border + colored-background style.

@mixin callout-fix($bg-color, $border-color) {
border: none;
border-left: $border-radius solid $border-color;
background: rgba($bg-color, 0.2);
}

p.note, blockquote.note { @include callout-fix($purple-000, $purple-300); }
p.warning, blockquote.warning { @include callout-fix($red-000, $red-300); }
p.highlight, blockquote.highlight { @include callout-fix($yellow-000, $yellow-300); }
6 changes: 3 additions & 3 deletions docs/_sass/highlight/native.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}

.nc {
color: #447fcf;
color: #f5f6fa;
text-decoration: underline;
}

Expand All @@ -152,15 +152,15 @@
}

.nf {
color: #447fcf;
color: #f5f6fa;
}

.nl {
color: #d0d0d0;
}

.nn {
color: #447fcf;
color: #f5f6fa;
text-decoration: underline;
}

Expand Down
Loading