fix: Use theme-aware code color in file modal
- Replace hardcoded #a5f3fc (bright blue) with var(--code-text) - Now respects dark mode (#d4d4d4) and light mode (#404040) - Fixes unreadable text in file preview modal
This commit is contained in:
parent
559eca4d61
commit
85976afa09
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<pre id="fileModalContent" style="background:var(--bg-base);color:#a5f3fc;
|
<pre id="fileModalContent" style="background:var(--bg-base);color:var(--code-text);
|
||||||
border-radius:var(--radius-sm);padding:1.1rem;white-space:pre-wrap;
|
border-radius:var(--radius-sm);padding:1.1rem;white-space:pre-wrap;
|
||||||
word-break:break-word;max-height:70vh;overflow-y:auto;font-size:.83rem;
|
word-break:break-word;max-height:70vh;overflow-y:auto;font-size:.83rem;
|
||||||
border:1px solid var(--border);font-family:'JetBrains Mono',monospace;">Wird geladen…</pre>
|
border:1px solid var(--border);font-family:'JetBrains Mono',monospace;">Wird geladen…</pre>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue