From 3f95bd53cd7a3eedf2c47f53544b268d4c010d69 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); } }