Customizing state colours in UI¶
New in version 1.10.11.
To change the colors for TaskInstance/DagRun State in the Airflow Webserver, perform the following steps:
Create
airflow_local_settings.py
file and put in on$PYTHONPATH
or to$AIRFLOW_HOME/config
folder. (Airflow adds$AIRFLOW_HOME/config
onPYTHONPATH
when Airflow is initialized)Add the following contents to
airflow_local_settings.py
file. Change the colors to whatever you would like.Restart Airflow Webserver.