This is an automated email from the ASF dual-hosted git repository.
kgabryje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new c7779578f9 chore: Add instruction for LLMs to use antd theme tokens
(#34800)
c7779578f9 is described below
commit c7779578f91ae99c922c292d567637d557878c57
Author: Kamil Gabryjelski <[email protected]>
AuthorDate: Mon Aug 25 14:03:47 2025 +0200
chore: Add instruction for LLMs to use antd theme tokens (#34800)
---
LLMS.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/LLMS.md b/LLMS.md
index d979f085f8..ad3fbf2274 100644
--- a/LLMS.md
+++ b/LLMS.md
@@ -9,7 +9,9 @@ Apache Superset is a data visualization platform with
Flask/Python backend and R
### Frontend Modernization
- **NO `any` types** - Use proper TypeScript types
- **NO JavaScript files** - Convert to TypeScript (.ts/.tsx)
-- **Use @superset-ui/core** - Don't import Ant Design directly
+- **Use @superset-ui/core** - Don't import Ant Design directly, prefer Ant
Design component wrappers from @superset-ui/core/components
+- **Use antd theming tokens** - Prefer antd tokens over legacy theming tokens
+- **Avoid custom css and styles** - Follow antd best practices and avoid
styling and custom CSS whenever possible
### Testing Strategy Migration
- **Prefer unit tests** over integration tests