ayush00git opened a new pull request, #1978:
URL: https://github.com/apache/apisix-website/pull/1978

   Fixes: #1977 
   
   Changes:
   1. Removed the desktop rule that hid `.react-toggle` in 
`website/src/css/customTheme.scss`, so the theme switch is now visible in the 
navbar on all pages.
   
   2. Removed `ThemeResetComponent` from `website/src/pages/index.tsx`, which 
previously forced light mode and manually hid the toggle via DOM queries. The 
component was forcing light theme whenever the home page was being opened.
   
   Result:
   The color mode switch now appears and works consistently across the whole 
website, matching the behavior of the Blog and Case Studies  page.
   
   Screenshots of the change:
   
   <img width="1915" height="653" alt="image" 
src="https://github.com/user-attachments/assets/2a96d5f3-8ad7-4658-997b-596b851d739e";
 />
   <img width="1915" height="653" alt="Screenshot From 2025-12-17 13-53-41" 
src="https://github.com/user-attachments/assets/541a4e1f-2d31-4303-9209-b58ebb6757c2";
 />
   


-- 
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]

Reply via email to