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

   Follow-up to #64232.
   
   Makes the `tokens` field optional on the `Theme` model, so users can supply 
any combination of top-level theme fields, or an empty `{}` to restore OSS 
defaults. Previously, `tokens` was required, meaning a `globalCss`-only or 
icon-only config would fail validation.
   
   **Use case:** A user may want to apply custom CSS or a custom icon without 
specifying any colour tokens, or set `AIRFLOW__API__THEME='{}'` to explicitly 
fall back to the default theme without removing the config key entirely.
   
   **Screenshot** (icon-only theme, `tokens` omitted entirely):
   <img width="1780" height="1122" alt="Screenshot 2026-03-31 at 3 57 48 PM" 
src="https://github.com/user-attachments/assets/35171230-8284-419a-aaa1-f4e6e22f6d1b";
 />
   
   closes: #64232 (follow-up)
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (claude-opus-4-6)
   
   Generated-by: Claude Code (claude-opus-4-6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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