From 67962f1deea31d695d20ae0ea7fc39b39c1eea47 Mon Sep 17 00:00:00 2001 From: Vben <anncwb@126.com> Date: 星期四, 18 三月 2021 22:38:55 +0800 Subject: [PATCH] fix(v-auth): ensure the background mode is correct close #330 --- build/config/themeConfig.ts | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/config/themeConfig.ts b/build/config/themeConfig.ts index 4b004af..24fe903 100644 --- a/build/config/themeConfig.ts +++ b/build/config/themeConfig.ts @@ -38,22 +38,22 @@ tinycolor, }: GenerateColorsParams) { const arr = new Array(19).fill(0); - const lightens = arr.map((t, i) => { + const lightens = arr.map((_t, i) => { return mixLighten(color, i / 5); }); - const darkens = arr.map((t, i) => { + const darkens = arr.map((_t, i) => { return mixDarken(color, i / 5); }); - const alphaColors = arr.map((t, i) => { + const alphaColors = arr.map((_t, i) => { return tinycolor(color) .setAlpha(i / 20) .toRgbString(); }); const tinycolorLightens = arr - .map((t, i) => { + .map((_t, i) => { return tinycolor(color) .lighten(i * 5) .toHexString(); @@ -61,7 +61,7 @@ .filter((item) => item !== '#ffffff'); const tinycolorDarkens = arr - .map((t, i) => { + .map((_t, i) => { return tinycolor(color) .darken(i * 5) .toHexString(); -- Gitblit v1.8.0