Skip to content

Commit

Permalink
release: 15.0.1 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Jan 9, 2023
1 parent 8396764 commit 86b96aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/color-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-alain-plugin-theme",
"version": "14.0.2",
"version": "15.0.1",
"description": "NG-ALAIN theme plugin",
"keywords": [
"delon",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 86b96aa

Please sign in to comment.