mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
feat(client): add some theme functions
This commit is contained in:
parent
bae55207ce
commit
bff89a1a1c
@ -92,6 +92,8 @@ function compile(theme: Theme): Record<string, string> {
|
|||||||
case 'darken': return color.darken(arg);
|
case 'darken': return color.darken(arg);
|
||||||
case 'lighten': return color.lighten(arg);
|
case 'lighten': return color.lighten(arg);
|
||||||
case 'alpha': return color.setAlpha(arg);
|
case 'alpha': return color.setAlpha(arg);
|
||||||
|
case 'hue': return color.spin(arg);
|
||||||
|
case 'saturate': return color.saturate(arg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user