Skip to content

Commit f109049

Browse files
Fix CI
1 parent 93b9cbc commit f109049

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

airflow-core/docs/howto/customize-ui.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ We can provide a JSON configuration to customize the UI.
7070

7171
.. important::
7272

73-
- Currently only the ``brand`` color palette and globalCss can be customized.
73+
- Currently only the ``brand`` color palette and ``globalCss`` can be customized.
7474
- You must supply ``50``-``950`` OKLCH color values for ``brand`` color.
7575
- OKLCH colors must have next format ``oklch(l c h)`` For more info see :ref:`config:api__theme`
76-
- There is also the ability to provide custom global CSS for a fine grained theming control.
76+
- There is also the ability to provide custom global CSS for a fine grained theme control.
7777

7878
.. note::
7979

airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_config.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,15 @@
4242
"950": {"value": "oklch(0.179 0.05 265.487)"},
4343
}
4444
}
45-
}
45+
},
46+
"globalCss": {
47+
"button": {
48+
"text-transform": "uppercase",
49+
},
50+
"a": {
51+
"text-transform": "uppercase",
52+
},
53+
},
4654
}
4755

4856
expected_config_response = {

0 commit comments

Comments
 (0)