Does Ant Design v5 guarantee continued Less‑based theming support alongside its CSS‑in‑JS API?
0 reputation · 17 Mar 2026, 09:01 UTC
Goal: Assess whether Ant Design v5 will retain Less‑based theme customization as a viable option while promoting its CSS‑in‑JS runtime theming.
Constraints: The library still ships Less source files, but the official docs recommend the ConfigProvider theme object; internal components occasionally reference Less variables, and no public roadmap confirms Less removal or continuation.
Uncertainty: Developers need to know if investing in Less modifications now will remain compatible with future minor releases, or if they should migrate exclusively to the CSS‑in‑JS API to avoid breaking changes.
Does Ant Design v5 guarantee that Less variables will remain a supported customization method in upcoming versions? Does the team plan to provide a clear migration path if Less support is deprecated? Which theming approach should be adopted for long‑term stability?