mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 14:05:14 +00:00
feat(client): add some theme functions
This commit is contained in:
parent
23de45cea5
commit
3f95bd53cd
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue