From bff89a1a1cb901b1fa29817a4f6f0d7ededbca75 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 14 Oct 2021 01:25:50 +0900 Subject: [PATCH] feat(client): add some theme functions --- src/client/scripts/theme.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/scripts/theme.ts b/src/client/scripts/theme.ts index 9f165f799..e79d54fa6 100644 --- a/src/client/scripts/theme.ts +++ b/src/client/scripts/theme.ts @@ -92,6 +92,8 @@ function compile(theme: Theme): Record { case 'darken': return color.darken(arg); case 'lighten': return color.lighten(arg); case 'alpha': return color.setAlpha(arg); + case 'hue': return color.spin(arg); + case 'saturate': return color.saturate(arg); } }