Skip to content

Commit ea04a45

Browse files
committed
fix: improve spinner contrast against white icon background
- Icon circle keeps its white background instead of transparent, so the spinner ring sits on white (not on the light-purple bubble color) - Ring/track colors changed to fixed neutral gray + strong purple instead of --outline/--primary tokens, which were too close in luminance to the bubble background and hard to distinguish
1 parent 9a4bea0 commit ea04a45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@
219219
.bubble.error{background:var(--bg-error-container);color:var(--text-on-error-container);width:100%;max-width:100%}
220220
.bubble-wrap.error-wrap{display:block}
221221
/* pending-dots removed – replaced by spinner on model-icon */
222-
.model-icon.loading{background:transparent;font-size:0}
223-
.model-icon.loading::after{content:'';display:block;width:18px;height:18px;border:2.5px solid var(--outline);border-top-color:var(--primary);border-radius:50%;animation:ai-spin 1.4s linear infinite}
222+
.model-icon.loading{font-size:0}
223+
.model-icon.loading::after{content:'';display:block;width:16px;height:16px;border:2.5px solid #C4C4C4;border-top-color:#6650A4;border-radius:50%;animation:ai-spin 1.4s linear infinite}
224224
/* Use CSS-driven keyframe – unaffected by Android animator duration scale */
225225
@keyframes ai-spin{to{transform:rotate(360deg)}}
226226

0 commit comments

Comments
 (0)