mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
imported missing variable imports which are required to compile less files to css (#24450)
This commit is contained in:
parent
84225e4d50
commit
f0a4e211b1
@ -173,8 +173,8 @@
|
||||
"@typescript-eslint/eslint-plugin": "^3.0.0",
|
||||
"@typescript-eslint/parser": "^3.0.0",
|
||||
"antd-img-crop": "^3.1.1",
|
||||
"antd-pro-merge-less": "^3.0.3",
|
||||
"antd-theme-generator": "1.2.2",
|
||||
"antd-pro-merge-less": "^3.0.9",
|
||||
"antd-theme-generator": "^1.2.3",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
"bisheng": "^1.5.1",
|
||||
|
@ -38,9 +38,10 @@ genCss(
|
||||
);
|
||||
|
||||
const options = {
|
||||
antDir: path.join(__dirname, '../node_modules/antd'),
|
||||
stylesDir: path.join(__dirname, '../site/theme/static'),
|
||||
antdStylesDir: path.join(__dirname, '../components'),
|
||||
varFile: path.join(__dirname, '../components/style/themes/default.less'),
|
||||
antdStylesDir: path.join(__dirname, '../node_modules/antd/lib/'),
|
||||
varFile: path.join(__dirname, '../site/theme/static/theme.less'),
|
||||
mainLessFile: path.join(__dirname, '../site/theme/static/index.less'),
|
||||
themeVariables: ['@primary-color'],
|
||||
outputFilePath: path.join(__dirname, '../_site/color.less'),
|
||||
|
@ -1,3 +1,7 @@
|
||||
@import '../../../components/style/themes/default.less';
|
||||
@import './colors.less';
|
||||
@import './home.less';
|
||||
|
||||
@site-heading-color: @heading-color;
|
||||
@site-text-color: @heading-color;
|
||||
@site-text-color-secondary: @text-color-secondary;
|
||||
|
Loading…
Reference in New Issue
Block a user