livve-preview: Make the color widget editable

... in a bare-bones fashion.
This commit is contained in:
Tobias Hunger 2024-09-18 11:43:06 +00:00 committed by Tobias Hunger
parent 81be4f2208
commit 0e751b1eea
3 changed files with 34 additions and 6 deletions

View file

@ -186,6 +186,10 @@ export global Api {
// # Callbacks
// ## Custom conversion functions:
callback string-is-color(string) -> bool;
callback string-to-color(string) -> color;
// ## Style:
callback style-changed();