From 3fa3e9ff6b4174a41b4cac4896328a7e474663b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=B8=B8=E5=90=9B?= Date: Sun, 12 Dec 2021 16:14:42 +0800 Subject: [PATCH] refactor(utils): use @ctrl/tinycolor instead of custom color.ts (#4682) --- packages/components/button/src/button.vue | 27 +++++++----- .../components/menu/src/use-menu-color.ts | 4 +- packages/element-plus/package.json | 1 + packages/utils/color.ts | 44 ------------------- pnpm-lock.yaml | 7 +++ 5 files changed, 25 insertions(+), 58 deletions(-) delete mode 100644 packages/utils/color.ts diff --git a/packages/components/button/src/button.vue b/packages/components/button/src/button.vue index 4ef8b0b75b..e703b62655 100644 --- a/packages/components/button/src/button.vue +++ b/packages/components/button/src/button.vue @@ -37,6 +37,7 @@