You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ulekarsiddhant0-boop (via GitHub)" <gi...@apache.org> on 2026/02/21 05:53:24 UTC
[PR] Fix syntax highlighting contrast and namespace colors (#1344) [airflow-site]
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix syntax highlighting contrast and namespace colors (#1344) [airflow-site]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #1421:
URL: https://github.com/apache/airflow-site/pull/1421#issuecomment-3938423978
Thanks!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix syntax highlighting contrast and namespace colors (#1344) [airflow-site]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #1421:
URL: https://github.com/apache/airflow-site/pull/1421
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org