mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-29 08:01:26 +08:00
site: update generateColorLess.js
This commit is contained in:
parent
e8d3be5dc2
commit
68c1da8045
@ -14,6 +14,7 @@ const COLOR_MAP = {
|
|||||||
'#096dd9': 'color(~`colorPalette("@{primary-color}", 7)`)', // @primary-7
|
'#096dd9': 'color(~`colorPalette("@{primary-color}", 7)`)', // @primary-7
|
||||||
'#46a6ff': 'tint(@primary-color, 20%)',
|
'#46a6ff': 'tint(@primary-color, 20%)',
|
||||||
'#8cc8ff': 'tint(@primary-color, 50%)',
|
'#8cc8ff': 'tint(@primary-color, 50%)',
|
||||||
|
'rgba\\(24, 144, 255, 0.2\\)': 'fade(@primary-color, 20%)',
|
||||||
};
|
};
|
||||||
|
|
||||||
const reducePlugin = postcss.plugin('reducePlugin', () => {
|
const reducePlugin = postcss.plugin('reducePlugin', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user