pierrejeambrun opened a new pull request, #60256:
URL: https://github.com/apache/airflow/pull/60256

   Remove some unnecessary code so React Plugins can directly inherit the 
Chakra Theme for Airflow Core without duplicating or copy pasting any core 
theme.
   
   Now in local development, we use Chakra default theme (black).
   <img width="1924" height="938" alt="Screenshot 2026-01-08 at 10 37 35" 
src="https://github.com/user-attachments/assets/11c6ec74-2970-4a78-a709-ffd47b9443bc";
 />
   
   
   
   When loaded into airflow, nothing changes, theme is smooth and consistent:
   <img width="1922" height="935" alt="Screenshot 2026-01-08 at 10 37 01" 
src="https://github.com/user-attachments/assets/95caf519-380f-45a3-bbe2-af42bf5e7036";
 />
   
   
   Also importantly this fixes an issue where the 'plugin theme' when loaded 
would override the core theme. (which is not what we want). This was an issue 
for instance if I customized my core theme via the `api.theme` config option, 
then loading the plugin would restore back the `Airflow Core UI` default theme 
that was hard copy/pasted into plugins.
   
   
   


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