diff --git a/ui/suite/chat/projector.html b/ui/suite/chat/projector.html index 3e406af..a0098cf 100644 --- a/ui/suite/chat/projector.html +++ b/ui/suite/chat/projector.html @@ -140,7 +140,7 @@ left: 0; right: 0; bottom: 0; - background: rgba(0, 0, 0, 0.9); + background: rgba(0, 0, 0, 0.8); z-index: 10000; display: flex; align-items: center; @@ -168,7 +168,7 @@ max-width: 1400px; height: 90%; max-height: 900px; - background: #1a1a1a; + background: var(--bg, #1a1a1a); border-radius: 12px; display: flex; flex-direction: column; @@ -190,8 +190,8 @@ justify-content: space-between; align-items: center; padding: 12px 20px; - background: #252525; - border-bottom: 1px solid #333; + background: var(--surface, #252525); + border-bottom: 1px solid var(--border, #333); } .projector-title-section { @@ -205,7 +205,7 @@ } .projector-title { - color: #fff; + color: var(--text, #fff); font-size: 16px; font-weight: 500; max-width: 400px; @@ -222,7 +222,7 @@ .projector-btn { background: transparent; border: none; - color: #aaa; + color: var(--text-muted, #aaa); font-size: 18px; padding: 8px; cursor: pointer; @@ -231,13 +231,13 @@ } .projector-btn:hover { - background: #333; - color: #fff; + background: var(--surface-hover, #333); + color: var(--text, #fff); } .projector-btn.close-btn:hover { - background: #e74c3c; - color: #fff; + background: var(--error, #e74c3c); + color: var(--text, #fff); } /* Content Area */ @@ -248,7 +248,7 @@ justify-content: center; overflow: hidden; position: relative; - background: #000; + background: var(--bg, #000); } /* Loading */ @@ -257,7 +257,7 @@ flex-direction: column; align-items: center; gap: 16px; - color: #888; + color: var(--text-muted, #888); } .projector-loading.hidden { @@ -267,8 +267,8 @@ .loading-spinner { width: 40px; height: 40px; - border: 3px solid #333; - border-top-color: #667eea; + border: 3px solid var(--surface-hover, #333); + border-top-color: var(--accent, #667eea); border-radius: 50%; animation: spin 1s linear infinite; } @@ -321,7 +321,7 @@ width: 100%; height: 100%; overflow: auto; - background: #1e1e1e; + background: var(--bg, #1e1e1e); padding: 20px; } @@ -330,7 +330,7 @@ font-family: 'Fira Code', 'Monaco', 'Consolas', monospace; font-size: 14px; line-height: 1.5; - color: #d4d4d4; + color: var(--text, #d4d4d4); } .projector-code.line-numbers pre { @@ -343,7 +343,7 @@ display: inline-block; width: 40px; padding-right: 20px; - color: #666; + color: var(--text-muted, #666); text-align: right; } @@ -357,7 +357,7 @@ } .slide-container { - background: #fff; + background: var(--bg, #fff); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); aspect-ratio: 16/9; max-width: 90%; @@ -379,7 +379,7 @@ width: 100%; height: 100%; border: none; - background: #fff; + background: var(--bg, #fff); } /* Markdown Viewer */ @@ -388,20 +388,20 @@ height: 100%; overflow: auto; padding: 40px; - background: #fff; - color: #333; + background: var(--bg, #fff); + color: var(--text, #333); } .projector-markdown h1, .projector-markdown h2, .projector-markdown h3 { - color: #1a1a1a; + color: var(--text, #1a1a1a); margin-top: 24px; margin-bottom: 12px; } .projector-markdown code { - background: #f0f0f0; + background: var(--surface, #f0f0f0); padding: 2px 6px; border-radius: 4px; font-family: monospace; @@ -416,8 +416,8 @@ /* Controls */ .projector-controls { padding: 12px 20px; - background: #252525; - border-top: 1px solid #333; + background: var(--surface, #252525); + border-top: 1px solid var(--border, #333); } .media-controls, @@ -438,9 +438,9 @@ } .control-btn { - background: #333; + background: var(--surface-hover, #333); border: none; - color: #fff; + color: var(--text, #fff); padding: 8px 12px; border-radius: 6px; cursor: pointer; @@ -449,11 +449,11 @@ } .control-btn:hover { - background: #444; + background: var(--surface-active, #444); } .control-btn.active { - background: #667eea; + background: var(--accent, #667eea); } .play-btn { @@ -475,7 +475,7 @@ height: 6px; -webkit-appearance: none; appearance: none; - background: #444; + background: var(--surface-active, #444); border-radius: 3px; cursor: pointer; } @@ -484,7 +484,7 @@ -webkit-appearance: none; width: 14px; height: 14px; - background: #667eea; + background: var(--accent, #667eea); border-radius: 50%; cursor: pointer; } @@ -492,14 +492,14 @@ .progress-bar::-moz-range-thumb { width: 14px; height: 14px; - background: #667eea; + background: var(--accent, #667eea); border-radius: 50%; cursor: pointer; border: none; } .time-display { - color: #888; + color: var(--text-muted, #888); font-size: 12px; min-width: 100px; text-align: right; @@ -511,7 +511,7 @@ height: 4px; -webkit-appearance: none; appearance: none; - background: #444; + background: var(--surface-active, #444); border-radius: 2px; cursor: pointer; } @@ -520,7 +520,7 @@ -webkit-appearance: none; width: 12px; height: 12px; - background: #fff; + background: var(--bg, #fff); border-radius: 50%; cursor: pointer; } @@ -528,8 +528,8 @@ /* Speed/Theme Select */ .speed-select, .theme-select { - background: #333; - color: #fff; + background: var(--surface-hover, #333); + color: var(--text, #fff); border: none; padding: 6px 10px; border-radius: 6px; @@ -541,15 +541,15 @@ .image-info, .code-info, .zoom-level { - color: #888; + color: var(--text-muted, #888); font-size: 14px; } .slide-nav input { width: 50px; - background: #333; + background: var(--surface-hover, #333); border: none; - color: #fff; + color: var(--text, #fff); padding: 6px; border-radius: 4px; text-align: center; @@ -561,7 +561,7 @@ flex-direction: column; align-items: center; gap: 16px; - color: #e74c3c; + color: var(--error, #e74c3c); } .projector-error-icon { @@ -570,7 +570,7 @@ .projector-error-message { font-size: 16px; - color: #888; + color: var(--text-muted, #888); } /* Responsive */ @@ -958,12 +958,12 @@ const wrapper = document.createElement('div'); wrapper.style.textAlign = 'center'; wrapper.style.padding = '40px'; - wrapper.style.color = '#888'; + wrapper.style.color = 'var(--text-muted, #888)'; wrapper.innerHTML = `