|
197 | 197 |
|
198 | 198 | /* ── System message card ─────────────────────────────────── */ |
199 | 199 | #chat-sys-wrap .card-accent{transition:all .3s ease;overflow:hidden} |
200 | | -#sys-msg-textarea{width:100%;border:1px solid var(--input-border);border-radius:6px;padding:10px 12px;font-size:17px;font-family:inherit;background:var(--bg-primary-container);color:var(--text-primary);outline:none;resize:none;line-height:1.5;overflow-y:auto;display:block;transition:height .3s ease} |
| 200 | +#sys-msg-textarea{width:100%;border:1px solid var(--input-border);border-radius:6px;padding:10px 12px;font-size:17px;font-family:inherit;background:var(--bg-primary-container);color:#1C1B1F;outline:none;resize:none;line-height:1.5;overflow-y:auto;display:block;transition:height .3s ease} |
201 | 201 | #sys-msg-textarea:focus{border-color:var(--primary)} |
202 | 202 |
|
203 | 203 | #sys-msg-textarea.collapsed{height: auto; min-height: calc(3 * 1.5em + 20px); max-height: calc(3 * 1.5em + 20px)} |
|
209 | 209 | #sys-msg-textarea.expanded-keyboard{min-height: calc(3 * 1.5em + 20px); max-height: 320px} |
210 | 210 | #sys-msg-textarea.expanded-full{min-height: calc(3 * 1.5em + 20px); max-height: 320px} |
211 | 211 |
|
| 212 | +@media (prefers-color-scheme: dark) { |
| 213 | + #sys-msg-textarea { color: var(--text-primary); } |
| 214 | + .task-input { color: var(--text-primary); } |
| 215 | +} |
| 216 | +html.dark-mode #sys-msg-textarea { color: var(--text-primary); } |
| 217 | +html.dark-mode .task-input { color: var(--text-primary); } |
| 218 | + |
212 | 219 | /* ── Chat bubbles ────────────────────────────────────────── */ |
213 | 220 | .bubble-wrap{display:flex;align-items:flex-start;gap:6px;margin:8px 8px} |
214 | 221 | .bubble-wrap.user-wrap{flex-direction:row-reverse} |
|
247 | 254 | font-size:16px; |
248 | 255 | font-family:inherit; |
249 | 256 | background:transparent; |
250 | | - color:var(--text-primary); |
| 257 | + color:#1C1B1F; |
251 | 258 | outline:none; |
252 | 259 | resize:none; |
253 | 260 | overflow-y:auto; |
|
525 | 532 | <div id="chat-sys-wrap"> |
526 | 533 | <div class="card-accent"> |
527 | 534 | <div class="row between" style="align-items:flex-start;gap:8px"> |
528 | | - <span class="title-md" style="color:var(--text-on-primary-container);padding-top:2px">System Message</span> |
| 535 | + <span class="title-md" style="color:var(--primary);padding-top:2px">System Message</span> |
529 | 536 | <div class="row" style="gap:6px;flex-shrink:0"> |
530 | 537 | <button class="btn btn-outline" onclick="restoreSystemMessage()">Restore<br>System Message</button> |
531 | 538 | <button class="btn btn-outline" onclick="openDatabasePopup()">Database</button> |
|
0 commit comments