Răsfoiți Sursa

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
Arthur Hanson 2 ani în urmă
părinte
comite
a1e42dad10

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
netbox/project-static/dist/netbox-dark.css


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

@@ -282,7 +282,7 @@ $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
 $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>");
 
 // Code
-$code-color: $gray-200;
+$code-color: $gray-600;
 $kbd-color: $white;
 $kbd-bg: $gray-300;
 $pre-color: null;

+ 1 - 1
netbox/templates/extras/script_list.html

@@ -42,7 +42,7 @@
             <div class="alert alert-warning d-flex align-items-center" role="alert">
               <i class="mdi mdi-alert"></i>
               {% blocktrans trimmed with file_path=module.full_path %}
-                Script file at <code>{{ file_path }}</code> could not be loaded.
+                Script file at <code class="mx-1">{{ file_path }}</code> could not be loaded.
               {% endblocktrans %}
             </div>
           {% else %}

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff