ulekarsiddhant0-boop opened a new pull request, #1421:
URL: https://github.com/apache/airflow-site/pull/1421

   ### Description
   This PR resolves the syntax highlighting issues in Sphinx documentation 
where keywords and module names were rendering with the same color, leading to 
poor contrast.
   
   ### Changes
   - Updated `landing-pages/site/assets/scss/_highlights.scss` to use 
`var(--bs-body-color)` for fallback.
   - Removed the explicit `.highlight .nn` rule in `_dark.scss` to allow 
namespaces to render in the default body color (white/off-white) in dark mode.
   - (Optional) Set `pygments_style = none` in theme configuration to prevent 
CSS conflicts.
   
   ### Validation
   Verified locally using `./site.sh build-site` and `./site.sh run`. 
   - **Before:** `import` and `pendulum` both appeared red in dark mode.
   - **After:** `import` is red, `pendulum` is white/default, matching GitHub 
style.
   
   Closes: #1344


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