From 681a160e3571994cb5d5643dedca9de3edb9d2c4 Mon Sep 17 00:00:00 2001 From: keng Date: Mon, 10 Apr 2017 14:33:18 +0800 Subject: [PATCH] If you use locale-provider, specify the ant-design theme as the default theme. This will automatically add all the less variables defined by ant-design. This is useful if you want to create custom themes with less and you are referencing less variables defined by ant-design. --- components/locale-provider/style/index.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/locale-provider/style/index.less b/components/locale-provider/style/index.less index ff7bd09c0..805e99969 100644 --- a/components/locale-provider/style/index.less +++ b/components/locale-provider/style/index.less @@ -1 +1,3 @@ // placeholder +@import "../../style/themes/default"; +@import "../../style/core/index";