From 86b96aafb0b30bdf65dd19c39d11e3505d068240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=89=B2?= Date: Mon, 9 Jan 2023 11:58:47 +0800 Subject: [PATCH] release: 15.0.1 (#10) --- lib/color-generator.ts | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/color-generator.ts b/lib/color-generator.ts index 864b6be..67c3bd0 100644 --- a/lib/color-generator.ts +++ b/lib/color-generator.ts @@ -63,7 +63,7 @@ function combineLess(filePath: string, config: ColorLessConfig): string { e.g. #fe12ee */ function randomColor() { - return '#' + (0x1000000 + Math.random() * 0xffffff).toString(16).substr(1, 6); + return '#' + (0x1000000 + Math.random() * 0xffffff).toString(16).substring(1, 7); } /* diff --git a/package.json b/package.json index e920c28..00d3c17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ng-alain-plugin-theme", - "version": "14.0.2", + "version": "15.0.1", "description": "NG-ALAIN theme plugin", "keywords": [ "delon", @@ -34,12 +34,12 @@ "meow": "^9.0.0", "less-plugin-clean-css": "^1.5.1", "less-vars-to-js": "^1.3.0", - "postcss-less": "^6.0.0" + "postcss-less": "^6.0.0", + "postcss": "^8.4.18" }, "peerDependencies": { "jsonc-parser": "^3.0.0", - "less": "^4.1.3", - "postcss": "^8.4.18" + "less": "^4.1.3" }, "devDependencies": { "@delon/abc": "^14.1.1",