Skip to content

AIRFLOW__FAB__NAVBAR_COLOR not working #52251

Closed
@Zinkue

Description

@Zinkue

Apache Airflow Provider(s)

fab

Versions of Apache Airflow Providers

apache-airflow-providers-fab==2.2.1

Apache Airflow version

3.0.2

Operating System

macOS 15.5

Deployment

Docker-Compose

Deployment details

Docker Compose version v2.35.1-desktop.1

What happened

I wanted to change the color of navbar, followed documentation but nothing happened

What you think should happen instead

If I change the color of the navbar it should change

How to reproduce

  1. Follow the steps of https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#
  2. Inside of docker-compose.yaml file do the next change:
# image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:3.0.2}
build: .
  1. Create Dockerfile
FROM apache/airflow:3.0.2
ADD requirements.txt .
RUN pip install apache-airflow==${AIRFLOW_VERSION} -r requirements.txt
  1. Create requirements.txt
apache-airflow-providers-fab==2.2.1
  1. In the same directory, go to config/airflow.cfg and change navbar_color value to #219151
  2. In terminal, run docker compose up -d and then docker exec -it <apiserver-container> /bin/bash
  3. Execute airflow config list | grep navbar_color and check we have the same value from step 5.
  4. Go to Airflow UI and check that navbar color has not changed

Image

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions