Socket
Socket
Sign inDemoInstall

ant-design-palettes

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ant-design-palettes - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

3

package.json
{
"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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc