yaooqinn opened a new pull request, #54640:
URL: https://github.com/apache/spark/pull/54640

   ### What changes were proposed in this pull request?
   
   Replace hardcoded hex colors and rgb() values in CSS/JS files with Bootstrap 
5 CSS custom properties so the Spark UI automatically adapts to 
`data-bs-theme="dark"`.
   
   ### Why are the changes needed?
   
   The Spark UI currently uses hardcoded color values throughout its CSS and JS 
files. To support dark mode via Bootstrap 5's `data-bs-theme` attribute, these 
colors need to use CSS custom properties that automatically adapt.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No visual change in light mode. Enables future dark mode support by making 
all colors theme-aware.
   
   ### How was this patch tested?
   
   - `./dev/lint-js` passes
   - `./build/sbt core/compile sql/compile` succeeds
   - Manual verification that all hardcoded colors outside `:root` blocks have 
been replaced
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Yes, GitHub Copilot CLI was used.


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