From 4f76acd2495e719cd53f87621eec226d76e7f9ea Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 30 Dec 2018 14:00:57 +0900 Subject: :art: --- src/client/app/theme.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/app/theme.ts') diff --git a/src/client/app/theme.ts b/src/client/app/theme.ts index 39537da36f..5653573c1d 100644 --- a/src/client/app/theme.ts +++ b/src/client/app/theme.ts @@ -99,12 +99,12 @@ function compile(theme: Theme): { [key: string]: string } { props['primaryAlpha0' + i] = genValue(color); } - for (let i = 1; i < 100; i++) { + for (let i = 5; i < 100; i += 5) { const color = primary.clone().lighten(i); props['primaryLighten' + i] = genValue(color); } - for (let i = 1; i < 100; i++) { + for (let i = 5; i < 100; i += 5) { const color = primary.clone().darken(i); props['primaryDarken' + i] = genValue(color); } -- cgit v1.2.3-freya