antd pro里样式文件是theme.js,我按照antd的配置设置了less,代码如下
@import '~antd/lib/style/color/colors.less';
@custom-bg: #1b1c1f;
@custom-combg: #24282a;
@custom-combg-hover: #242424;
@body-background : @custom-bg;
// Base background color for most components
@component-background : #2A2A2A;
@heading-color : fade(#fff, 100%);
@text-color : fade(#fff,85%);
@text-color-secondary : fade(#fff, 65%);
@text-color : fade(#fff, 65%);
@text-color-secondary : fade(#fff, 45%);
@item-active-bg : @blue-5;
@item-hover-bg : @blue-5;
@menu-bg: @custom-combg;
// @menu-item-color: #00f0ff;
// @btn-default-color: #00f0ff;
@btn-default-bg: @custom-combg;
// @btn-default-border: #00f0ff;
@layout-body-background : @custom-bg;
@table-header-bg: @custom-combg;
@table-header-sort-bg: @custom-combg;
@table-row-hover-bg: @custom-combg-hover;
@table-selected-row-bg: #fafafa;
@table-expanded-row-bg: #fbfbfb;
@disabled-color : fade(#fff, 25%);
@disabled-bg : @background-color-base;
我想知道怎么转换成theme.js, 主要是这种@blue-5, fade(#fff, 25%)怎么引入