From cb945dbc09269934ec16ed8324bd88806289f537 Mon Sep 17 00:00:00 2001 From: yuyang Date: Tue, 10 Jan 2023 16:24:10 +0800 Subject: [PATCH] feat(color): remove built-in theme and get palette from tvision color (#218) * feat(color): remove built-in theme and get palette from tvision color * feat: card with default nobordered --- src/components/color/index.vue | 6 +- src/components/product-card/index.vue | 2 +- src/config/color.ts | 232 ++---------------- src/config/style.ts | 3 +- src/layouts/setting.vue | 36 +-- .../dashboard/base/components/MiddleChart.vue | 4 +- .../base/components/OutputOverview.vue | 2 +- .../dashboard/base/components/RankList.vue | 4 +- .../dashboard/base/components/TopPanel.vue | 1 + src/pages/dashboard/detail/index.vue | 6 +- src/pages/detail/advanced/index.vue | 8 +- src/pages/detail/base/index.vue | 4 +- src/pages/detail/deploy/index.vue | 6 +- src/pages/form/base/index.vue | 2 +- src/pages/form/step/index.vue | 2 +- src/pages/list/base/index.vue | 2 +- src/pages/list/filter/index.vue | 2 +- src/pages/list/tree/index.vue | 2 +- src/pages/user/index.vue | 10 +- src/store/modules/setting.ts | 20 +- src/style/index.less | 3 +- src/style/theme/cyan.less | 27 -- src/style/theme/default.less | 26 -- src/style/theme/green.less | 26 -- src/style/theme/index.less | 15 -- src/style/theme/orange.less | 28 --- src/style/theme/pink.less | 27 -- src/style/theme/purple.less | 27 -- src/style/theme/red.less | 27 -- src/style/theme/yellow.less | 27 -- src/utils/color.ts | 108 +++++--- 31 files changed, 162 insertions(+), 533 deletions(-) delete mode 100644 src/style/theme/cyan.less delete mode 100644 src/style/theme/default.less delete mode 100644 src/style/theme/green.less delete mode 100644 src/style/theme/index.less delete mode 100644 src/style/theme/orange.less delete mode 100644 src/style/theme/pink.less delete mode 100644 src/style/theme/purple.less delete mode 100644 src/style/theme/red.less delete mode 100644 src/style/theme/yellow.less diff --git a/src/components/color/index.vue b/src/components/color/index.vue index d83e34e..cbc41d3 100644 --- a/src/components/color/index.vue +++ b/src/components/color/index.vue @@ -2,7 +2,7 @@