containers / podman-desktop-extension-bootc

Support for bootable OS containers (bootc) and generating disk images
Apache License 2.0
403 stars 13 forks source link

chore: light mode, mostly for build page #604

Closed deboer-tim closed 1 month ago

deboer-tim commented 1 month ago

What does this PR do?

Move up to latest ui-svelte in order to do the following. Requires a recent Podman Desktop build in order for variables to be defined at runtime.

In the Build form, pick up status colors, switch to use ErrorMessage component, and pick up other light mode color variables. Uses the same styling as PD for the tiles, and radio buttons use the checkbox color variables (since PD has no vars for radio inputs).

Use status colors in bootc status icon for now - we should probably reuse StatusIcon now, but that's separate work.

After doing this, we can even set the default text color in the index.

Screenshot / video of UI

Screenshot 2024-07-08 at 12 16 46 PM

What issues does this PR fix or reference?

Not marking this as 'fixes' since we still need a select component, but this is most of #540.

How to test this PR?

Check the homepage and build page in light and dark modes.