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

   ## Summary
   
   The `$enable-gradients: false` from #1501 only affected our custom CSS 
bundle (`main-custom.min.css`). Docsy's `main.scss` compiles Bootstrap 
separately with its own `_variables.scss` that sets `$enable-gradients: true 
!default`.
   
   Since the Sphinx docs theme reuses the Docsy-compiled `main.min.css` (via 
`site.sh prepare-theme`), the docs pages still had gradient overlays on buttons 
and navbar — especially visible in dark mode.
   
   Fix: add `_variables_project.scss` — the [Docsy hook 
point](https://www.docsy.dev/docs/adding-content/lookandfeel/#project-style-files)
 loaded before Docsy's own variables — setting `$enable-gradients: false`.
   
   ## Verification
   
   After rebuild, `main.min.css` contains only 1 reference to `--bs-gradient`: 
the `.bg-gradient` utility class (always emitted by Bootstrap). Zero 
component-level gradient usage (no `.btn`, `.navbar` etc).


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