Skip to content

Commit a1e42da

Browse files
authored
13653 darken code color to work in light and dark modes (#13827)
* 13653 darken code color to work in light and dark modes * 13809 changed to use mx-1 on code block
1 parent 6e4b4a5 commit a1e42da

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

netbox/project-static/dist/netbox-dark.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/project-static/styles/theme-dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
282282
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
283283

284284
// Code
285-
$code-color: $gray-200;
285+
$code-color: $gray-600;
286286
$kbd-color: $white;
287287
$kbd-bg: $gray-300;
288288
$pre-color: null;

netbox/templates/extras/script_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h5 class="card-header" id="module{{ module.pk }}">
4242
<div class="alert alert-warning d-flex align-items-center" role="alert">
4343
<i class="mdi mdi-alert"></i>
4444
{% blocktrans trimmed with file_path=module.full_path %}
45-
Script file at <code>{{ file_path }}</code> could not be loaded.
45+
Script file at <code class="mx-1">{{ file_path }}</code> could not be loaded.
4646
{% endblocktrans %}
4747
</div>
4848
{% else %}

0 commit comments

Comments
 (0)