morningman opened a new pull request, #4481:
URL: https://github.com/apache/doris-website/pull/4481

   ## Summary
   
   The Ask AI attachment button appears as a solid dark circle, and 
Fast/Thinking labels can disappear after toggling. The theme bridge overrides 
every action-icon background and mistakes neutral black text and icons for 
brand colors.
   
   Replace DOM recoloring with `Kapa.updateConfig`, passing the current 
`--brand-primary` as `data-project-color`. Kapa then recalculates its palette 
and contrasting text. The existing modal positioning and scrolling styles 
remain unchanged.
   
   ## Validation
   
   - `node --check static/js/custom-script.js`
   - `git diff --check`
   - Browser checks with the current Kapa widget and repository theme tokens at 
1440 × 1100 and 390 × 844 across all eight brand themes, including repeated 
Fast/Thinking toggles and text/icon contrast checks.
   - Verified attachment file chooser, keyboard toggling, Escape/close/reopen, 
saved-theme initialization, and preservation of draft input and selected mode 
during theme changes.
   - Used a temporary browser fixture; the full Docusaurus build was not run.
   
   ## Versions
   
   - [ ] dev
   - [ ] 4.x
   - [ ] 3.x
   - [ ] 2.1 or older (not covered by version/language sync gate)
   
   ## Languages
   
   - [ ] Chinese
   - [ ] English
   
   This shared site script applies to all versions and locales. No 
documentation counterparts require changes.
   
   ## Docs Checklist
   
   - [x] Checked by AI
   - [x] Test Cases Built
   - [x] Updated required version and language counterparts, or explained why 
not
   - [x] If only one language changed, confirmed whether source/translation 
counterparts need sync
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to