You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2026/04/16 02:10:57 UTC
(airflow-site) branch fix-sphinx-theme-gradient created (now f5f032bf71)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a change to branch fix-sphinx-theme-gradient
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
at f5f032bf71 Disable gradients in Docsy's Bootstrap bundle via _variables_project.scss
This branch includes the following new commits:
new f5f032bf71 Disable gradients in Docsy's Bootstrap bundle via _variables_project.scss
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow-site) 01/01: Disable gradients in Docsy's Bootstrap bundle via _variables_project.scss
Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch fix-sphinx-theme-gradient
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit f5f032bf71b3b84f6f3eb68aae39d2701ab8be99
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Apr 16 03:10:48 2026 +0100
Disable gradients in Docsy's Bootstrap bundle via _variables_project.scss
The $enable-gradients: false in _variables.scss only affected our custom
CSS bundle (main-custom.min.css). Docsy's main.scss compiles Bootstrap
separately and its _variables.scss sets $enable-gradients: true !default.
This adds _variables_project.scss — the Docsy hook point loaded BEFORE
Docsy's own variables — setting $enable-gradients: false so it takes
precedence. The compiled main.min.css (which flows into the Sphinx
theme) no longer applies gradient overlays to buttons or navbar.
---
.../site/assets/scss/_variables_project.scss | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/landing-pages/site/assets/scss/_variables_project.scss b/landing-pages/site/assets/scss/_variables_project.scss
new file mode 100644
index 0000000000..cdf23abc02
--- /dev/null
+++ b/landing-pages/site/assets/scss/_variables_project.scss
@@ -0,0 +1,25 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+// Project-level Bootstrap/Docsy variable overrides.
+// This file is loaded by Docsy's main.scss via @import "variables_project"
+// BEFORE Bootstrap and Docsy's own _variables.scss, so values set here
+// take precedence over !default declarations.
+
+$enable-gradients: false;