Jamijunky opened a new pull request, #1415:
URL: https://github.com/apache/airflow-site/pull/1415

   **Summary**
   Fixes syntax highlighting conflicts in Sphinx-generated documentation code 
blocks.
   
   **Changes**
   - Set `pygments_style = none` in `theme.conf` to prevent Sphinx from 
generating a conflicting `pygments.css`
   - Removed explicit `.highlight .nn` rule in dark theme to allow namespace 
tokens to inherit theme-aware colors
   - Replaced hardcoded gray fallback in `_highlights.scss` with 
`var(--bs-body-color)` to ensure proper light/dark mode contrast
   
   **Result**
   - Keywords (e.g., `import`) and namespace/module names are visually distinct
   - Theme-aware colors work correctly in both light and dark modes
   - Eliminates CSS conflicts between Sphinx-generated styles and custom theme 
styles
   
   **Fixes #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