This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b1f54b8f6861 [fix](website) Improve navbar Ask Me icon contrast (#4551)
b1f54b8f6861 is described below

commit b1f54b8f686135f54d3ffab1841aa9e27ee02666
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Oct 29 09:48:47 2026 +0000

    [fix](website) Improve navbar Ask Me icon contrast (#4551)
    
    The navbar Ask Me sparkle uses the brand primary color, which nearly
    disappears against the dark navbar in themes such as Steel Cyan. Set its
    fill to `currentColor` so it inherits the button's theme-aware text
    color.
    
    ## Validation
    
    - Docusaurus landing-page development compilation passed.
    - Sass compilation passed.
    - Programmatic icon/background contrast checks passed for all eight
    brand themes; the lowest contrast is 4.57:1 in the normal button state.
    - `git diff --check` passed.
    
    ## Versions
    
    Not applicable: this is a shared navbar style change.
    
    ## Languages
    
    Applies to every locale through the shared component.
    
    ## Docs Checklist
    
    - [x] Checked by AI
    - [ ] 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
    
    No documentation changes or new test cases are needed for this scoped
    CSS adjustment.
    
    Co-authored-by: morningman <[email protected]>
---
 src/components/home-next/NavbarNext.scss | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/components/home-next/NavbarNext.scss 
b/src/components/home-next/NavbarNext.scss
index 047e383dee87..3f3447a850db 100644
--- a/src/components/home-next/NavbarNext.scss
+++ b/src/components/home-next/NavbarNext.scss
@@ -173,6 +173,9 @@
         width: 18px;
         height: 18px;
     }
+    &__ask-ai-icon--full path {
+        fill: currentColor;
+    }
     &__ask-ai-icon--compact,
     &__ask-ai-label--compact {
         display: none;


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

Reply via email to