Skip to content
Snippets Groups Projects
Commit 3f95bd53 authored by syuilo's avatar syuilo
Browse files

feat(client): add some theme functions

parent 23de45ce
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,8 @@ function compile(theme: Theme): Record<string, string> {
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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment