ant-design-palettes
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "ant-design-palettes", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Color palettes calculator of Ant Design", | ||
"main": "lib/index.js", | ||
"module": "src/index.js", | ||
"repository": { | ||
@@ -8,0 +7,0 @@ "type": "git", |
@@ -19,5 +19,6 @@ # Ant Design Palettes | ||
// Generate color palettes by a given color | ||
const colors = generate('#1890ff'); | ||
console.log(colors); | ||
// ['#E6F7FF', '#BAE7FF', '#91D5FF', ''#69C0FF', '#40A9FF', '#1890FF', '#096DD9', '#0050B3', '#003A8C', '#002766'] | ||
console.log(colors); // ['#E6F7FF', '#BAE7FF', '#91D5FF', ''#69C0FF', '#40A9FF', '#1890FF', '#096DD9', '#0050B3', '#003A8C', '#002766'] | ||
console.log(presetPalettes); | ||
@@ -41,1 +42,6 @@ /* | ||
``` | ||
## Articles | ||
- [Ant Design Colors](https://ant.design/docs/spec/colors) | ||
- [Ant Design 色板生成算法演进之路](https://zhuanlan.zhihu.com/p/32422584) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9086
46