feat(ui): add workflow saving/loading (wip)

Adds loading workflows with exhaustive validation via `zod`.

There is a load button but no dedicated save/load UI yet. Also need to add versioning to the workflow format itself.
This commit is contained in:
psychedelicious
2023-08-22 21:14:11 +10:00
parent 38b2dedc1d
commit ce7172d78c
26 changed files with 611 additions and 397 deletions

View File

@ -0,0 +1,2 @@
export const colorTokenToCssVar = (colorToken: string) =>
`var(--invokeai-colors-${colorToken.split('.').join('-')}`;