From de3572850f0b569fa5d290bfcf57436e29eb04da Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Tue, 7 Jul 2026 14:15:03 -0400 Subject: [PATCH] deps: upgrade fuz_css with oklch --- src/lib/ui/AccountSessions.svelte | 10 +++++----- src/lib/ui/AdminAccounts.svelte | 24 +++++++++++------------ src/lib/ui/AdminAuditLog.svelte | 8 ++++---- src/lib/ui/AdminInvites.svelte | 8 ++++---- src/lib/ui/AdminOverview.svelte | 22 ++++++++++----------- src/lib/ui/AdminRoleGrantHistory.svelte | 6 +++--- src/lib/ui/AdminSessions.svelte | 8 ++++---- src/lib/ui/AdminSurface.svelte | 2 +- src/lib/ui/BootstrapForm.svelte | 10 +++++----- src/lib/ui/ConfirmButton.svelte | 2 +- src/lib/ui/Datatable.svelte | 2 +- src/lib/ui/LoginForm.svelte | 4 ++-- src/lib/ui/OpenSignupToggle.svelte | 4 ++-- src/lib/ui/RoleGrantOfferForm.svelte | 2 +- src/lib/ui/RoleGrantOfferHistory.svelte | 8 ++++---- src/lib/ui/RoleGrantOfferInbox.svelte | 8 ++++---- src/lib/ui/SignupForm.svelte | 10 +++++----- src/lib/ui/SurfaceExplorer.svelte | 26 +++++++++++++------------ 18 files changed, 83 insertions(+), 81 deletions(-) diff --git a/src/lib/ui/AccountSessions.svelte b/src/lib/ui/AccountSessions.svelte index 11b4a3fd..f8ee60f8 100644 --- a/src/lib/ui/AccountSessions.svelte +++ b/src/lib/ui/AccountSessions.svelte @@ -44,18 +44,18 @@

sessions {#if account_sessions.active_count > 0} - {account_sessions.active_count} active + {account_sessions.active_count} active {/if}

{#if account_sessions.list.loading}

loading sessions...

{:else if account_sessions.list.error} -

{account_sessions.list.error}

+

{account_sessions.list.error}

{:else} {@const revoke_all_error = account_sessions.revoke_all.error} {#if revoke_all_error} -

{revoke_all_error}

+

{revoke_all_error}

{/if} {#if account_sessions.active_count > 1}
@@ -65,7 +65,7 @@ {#snippet cell(column, row)} {#if column.key === 'id'} - active + active {truncate_uuid(row.id)} {:else if column.key === 'created_at'} @@ -90,7 +90,7 @@ {revoking ? 'revoking…' : 'revoke'} {#if revoke_error} - {revoke_error} + {revoke_error} {/if} {:else if column.format} {column.format(row[column.key], row)} diff --git a/src/lib/ui/AdminAccounts.svelte b/src/lib/ui/AdminAccounts.svelte index a1897a9b..998da6fe 100644 --- a/src/lib/ui/AdminAccounts.svelte +++ b/src/lib/ui/AdminAccounts.svelte @@ -44,7 +44,7 @@

accounts

{#if admin_accounts.account_count > 0}

- {admin_accounts.account_count} account{admin_accounts.account_count === 1 ? '' : 's'}

@@ -66,7 +66,7 @@ {#if admin_accounts.list.loading}

loading accounts...

{:else if admin_accounts.list.error} -

{admin_accounts.list.error}

+

{admin_accounts.list.error}

{:else} {#snippet cell(column, row)} @@ -76,7 +76,7 @@ {row.account.email} {#if row.account.email_verified} - verified + verified {:else} unverified {/if} @@ -94,7 +94,7 @@ {#each row.role_grants as role_grant (role_grant.id)} {@const scope = scope_label(role_grant.scope_id, role_grant.role)}
- {role_grant.role} + {role_grant.role} {#if scope !== null} {scope} @@ -119,7 +119,7 @@ pending={admin_accounts.revoke.loading(role_grant.id)} /> {#if revoke_error} - {revoke_error} + {revoke_error} {/if} {/if}
@@ -147,7 +147,7 @@ pending={admin_accounts.retract.loading(offer.id)} /> {#if retract_error} - {retract_error} + {retract_error} {/if}
{/each} @@ -167,13 +167,13 @@ pending={admin_accounts.grant.loading(key)} > {#snippet popover_content(_popover, do_confirm)} - {/snippet} {#if grant_error} - {grant_error} + {grant_error} {/if} {/if} {/each} @@ -181,7 +181,7 @@ {#if row.account.deleted_at} {@const undelete_error = admin_accounts.undelete.error(row.account.id)} deleted {format_relative_time(row.account.deleted_at)} @@ -195,7 +195,7 @@ reactivate {#if undelete_error} - {undelete_error} + {undelete_error} {/if} {:else} {@const delete_error = admin_accounts.soft_delete.error(row.account.id)} @@ -207,13 +207,13 @@ pending={admin_accounts.soft_delete.loading(row.account.id)} > {#snippet popover_content(_popover, do_confirm)} - {/snippet} {#if delete_error} - {delete_error} + {delete_error} {/if} {/if} {/if} diff --git a/src/lib/ui/AdminAuditLog.svelte b/src/lib/ui/AdminAuditLog.svelte index 3cbd2a01..4080c0bc 100644 --- a/src/lib/ui/AdminAuditLog.svelte +++ b/src/lib/ui/AdminAuditLog.svelte @@ -88,7 +88,7 @@ - {#if streaming} @@ -101,7 +101,7 @@ {#if audit_log.list.loading}

loading audit log...

{:else if audit_log.list.error} -

{audit_log.list.error}

+

{audit_log.list.error}

{:else} {#snippet cell(column, row)} @@ -114,8 +114,8 @@ {:else if column.key === 'outcome'} {row.outcome} diff --git a/src/lib/ui/AdminInvites.svelte b/src/lib/ui/AdminInvites.svelte index 96434a62..7236eb82 100644 --- a/src/lib/ui/AdminInvites.svelte +++ b/src/lib/ui/AdminInvites.svelte @@ -59,7 +59,7 @@ {#if admin_invites.invite_count > 0}

- {admin_invites.unclaimed_count} unclaimed / {admin_invites.invite_count} total

@@ -103,7 +103,7 @@ {#if admin_invites.list.error || admin_invites.create.error} -

{admin_invites.list.error ?? admin_invites.create.error}

+

{admin_invites.list.error ?? admin_invites.create.error}

{/if} {#if admin_invites.list.loading} @@ -113,7 +113,7 @@ {#snippet cell(column, row)} {#if column.key === 'claimed_at'} {#if row.claimed_at} - claimed + claimed {#if row.claimed_by_username} by {row.claimed_by_username} @@ -142,7 +142,7 @@ pending={admin_invites.remove.loading(row.id)} /> {#if remove_error} - {remove_error} + {remove_error} {/if} {:else} - diff --git a/src/lib/ui/AdminOverview.svelte b/src/lib/ui/AdminOverview.svelte index 44365d49..a06afd44 100644 --- a/src/lib/ui/AdminOverview.svelte +++ b/src/lib/ui/AdminOverview.svelte @@ -92,7 +92,7 @@ {#if accounts.list.loading}

loading...

{:else if accounts.list.error} -

{accounts.list.error}

+

{accounts.list.error}

{:else}
{accounts.account_count} @@ -134,7 +134,7 @@ {#if sessions.list.loading}

loading...

{:else if sessions.list.error} -

{sessions.list.error}

+

{sessions.list.error}

{:else}
{sessions.active_count} @@ -164,12 +164,12 @@ {#if invites.list.loading}

loading...

{:else if invites.list.error} -

{invites.list.error}

+

{invites.list.error}

{:else}
public signup {#if app_settings.settings?.open_signup} - open + open {:else} closed {/if} @@ -187,7 +187,7 @@
  • {invite.email || invite.username || '—'} {#if invite.claimed_at} - claimed + claimed {:else} unclaimed {/if} @@ -209,7 +209,7 @@ {#if audit_log.list.loading}

    loading...

    {:else if audit_log.list.error} -

    {audit_log.list.error}

    +

    {audit_log.list.error}

    {:else if recent_events.length === 0}

    no events

    {:else} @@ -221,7 +221,7 @@ > {event.event_type} {#if event.outcome === 'failure'} - fail + fail {/if}
  • {/each} @@ -237,10 +237,10 @@ {#if audit_log.list.loading}

    loading...

    {:else if audit_log.list.error} -

    {audit_log.list.error}

    +

    {audit_log.list.error}

    {:else}
    - 0}> + 0}> {failed_logins.length} failed logins @@ -274,12 +274,12 @@ {#if app_settings.list.loading}

    loading...

    {:else if app_settings.list.error} -

    {app_settings.list.error}

    +

    {app_settings.list.error}

    {:else}
    public signup {#if app_settings.settings?.open_signup} - open + open {:else} invite-only {/if} diff --git a/src/lib/ui/AdminRoleGrantHistory.svelte b/src/lib/ui/AdminRoleGrantHistory.svelte index 2f3c605e..38d6c463 100644 --- a/src/lib/ui/AdminRoleGrantHistory.svelte +++ b/src/lib/ui/AdminRoleGrantHistory.svelte @@ -43,15 +43,15 @@ {#if audit_log.role_grant_history.loading}

    loading role_grant history...

    {:else if audit_log.role_grant_history.error} -

    {audit_log.role_grant_history.error}

    +

    {audit_log.role_grant_history.error}

    {:else} {#snippet cell(column, row)} {#if column.key === 'event_type'} {row.event_type === 'role_grant_create' ? 'grant' : 'revoke'} diff --git a/src/lib/ui/AdminSessions.svelte b/src/lib/ui/AdminSessions.svelte index 4bf657d0..543af321 100644 --- a/src/lib/ui/AdminSessions.svelte +++ b/src/lib/ui/AdminSessions.svelte @@ -36,14 +36,14 @@

    active sessions

    {#if admin_sessions.active_count > 0}

    - {admin_sessions.active_count} active + {admin_sessions.active_count} active

    {/if} {#if admin_sessions.list.loading}

    loading sessions...

    {:else if admin_sessions.list.error} -

    {admin_sessions.list.error}

    +

    {admin_sessions.list.error}

    {:else} {#snippet cell(column, row)} @@ -72,7 +72,7 @@ pending={admin_sessions.revoke_sessions.loading(row.account_id)} /> {#if revoke_sessions_error} - {revoke_sessions_error} + {revoke_sessions_error} {/if} admin_sessions.submit_revoke_tokens(row.account_id)} @@ -82,7 +82,7 @@ pending={admin_sessions.revoke_tokens.loading(row.account_id)} /> {#if revoke_tokens_error} - {revoke_tokens_error} + {revoke_tokens_error} {/if} {:else if column.format} {column.format(row[column.key], row)} diff --git a/src/lib/ui/AdminSurface.svelte b/src/lib/ui/AdminSurface.svelte index f6038a91..37678fab 100644 --- a/src/lib/ui/AdminSurface.svelte +++ b/src/lib/ui/AdminSurface.svelte @@ -45,7 +45,7 @@ {#if loading}

    loading surface...

    {:else if error} -

    {error}

    +

    {error}

    {:else if surface} diff --git a/src/lib/ui/BootstrapForm.svelte b/src/lib/ui/BootstrapForm.svelte index 2edfeedd..723aa940 100644 --- a/src/lib/ui/BootstrapForm.svelte +++ b/src/lib/ui/BootstrapForm.svelte @@ -102,7 +102,7 @@ /> {#if form_state.show('username') && username && !username_valid} -

    +

    3-39 chars, starts with a letter, ends with letter/number, middle allows dash/underscore

    {/if} @@ -119,7 +119,7 @@ /> {#if form_state.show('password') && password && password.length < PASSWORD_LENGTH_MIN} -

    +

    password must be at least {PASSWORD_LENGTH_MIN} characters

    {/if} @@ -135,7 +135,7 @@ /> {#if form_state.show('password_confirm') && password && password_confirm && !passwords_match} -

    passwords do not match

    +

    passwords do not match

    {/if}
    @@ -143,12 +143,12 @@ pending={auth_state.verifying} disabled={auth_state.verifying} onclick={handle_bootstrap} - class={auth_state.verify_error ? 'color_c' : ''} + class={auth_state.verify_error ? 'palette_c' : ''} > create account
    {#if auth_state.verify_error} -

    {auth_state.verify_error}

    +

    {auth_state.verify_error}

    {/if} diff --git a/src/lib/ui/ConfirmButton.svelte b/src/lib/ui/ConfirmButton.svelte index c2e3dc96..8be86cde 100644 --- a/src/lib/ui/ConfirmButton.svelte +++ b/src/lib/ui/ConfirmButton.svelte @@ -130,7 +130,7 @@ {:else}
    {#if auth_state.verify_error} -

    {auth_state.verify_error}

    +

    {auth_state.verify_error}

    {/if} diff --git a/src/lib/ui/OpenSignupToggle.svelte b/src/lib/ui/OpenSignupToggle.svelte index 62bc1792..91ea3b58 100644 --- a/src/lib/ui/OpenSignupToggle.svelte +++ b/src/lib/ui/OpenSignupToggle.svelte @@ -40,8 +40,8 @@ {/if} {#if app_settings.list.error} -

    {app_settings.list.error}

    +

    {app_settings.list.error}

    {:else if app_settings.update.error} -

    {app_settings.update.error}

    +

    {app_settings.update.error}

    {/if}
    diff --git a/src/lib/ui/RoleGrantOfferForm.svelte b/src/lib/ui/RoleGrantOfferForm.svelte index e91c07de..371a3ae3 100644 --- a/src/lib/ui/RoleGrantOfferForm.svelte +++ b/src/lib/ui/RoleGrantOfferForm.svelte @@ -151,6 +151,6 @@
    {#if local_error} -

    {local_error}

    +

    {local_error}

    {/if} diff --git a/src/lib/ui/RoleGrantOfferHistory.svelte b/src/lib/ui/RoleGrantOfferHistory.svelte index 69702202..0135c2f0 100644 --- a/src/lib/ui/RoleGrantOfferHistory.svelte +++ b/src/lib/ui/RoleGrantOfferHistory.svelte @@ -54,14 +54,14 @@ const status_chip_class = (status: string): string => { switch (status) { case 'accepted': - return 'chip color_b'; + return 'chip palette_b'; case 'pending': - return 'chip color_a'; + return 'chip palette_a'; case 'declined': case 'retracted': case 'superseded': case 'expired': - return 'chip color_c'; + return 'chip palette_c'; default: return 'chip'; } @@ -85,7 +85,7 @@ {#if role_grant_offers.list_history.loading}

    loading history...

    {:else if role_grant_offers.list_history.error} -

    {role_grant_offers.list_history.error}

    +

    {role_grant_offers.list_history.error}

    {:else} {#snippet cell(column, row)} diff --git a/src/lib/ui/RoleGrantOfferInbox.svelte b/src/lib/ui/RoleGrantOfferInbox.svelte index 84b5a282..91bfbfeb 100644 --- a/src/lib/ui/RoleGrantOfferInbox.svelte +++ b/src/lib/ui/RoleGrantOfferInbox.svelte @@ -49,7 +49,7 @@

    pending offers

    {#if role_grant_offers.list.error || role_grant_offers.accept.error || role_grant_offers.decline.error} -

    +

    {role_grant_offers.list.error ?? role_grant_offers.accept.error ?? role_grant_offers.decline.error} @@ -63,7 +63,7 @@ {#each role_grant_offers.incoming as offer (offer.id)}

  • - {format_role(offer.role)} + {format_role(offer.role)} {scope_label(offer.scope_id, offer.role)} from {format_actor(offer.from_actor_id)} role_grant_offers.submit_accept(offer.id)} - class="color_b" + class="palette_b" > accept @@ -114,7 +114,7 @@ >
    - diff --git a/src/lib/ui/SignupForm.svelte b/src/lib/ui/SignupForm.svelte index 5be35d38..f900759e 100644 --- a/src/lib/ui/SignupForm.svelte +++ b/src/lib/ui/SignupForm.svelte @@ -89,7 +89,7 @@ /> {#if form_state.show('username') && username && !username_valid} -

    +

    3-39 chars, starts with a letter, ends with letter/number, middle allows dash/underscore

    {/if} @@ -117,7 +117,7 @@ /> {#if form_state.show('password') && password && password.length < PASSWORD_LENGTH_MIN} -

    +

    password must be at least {PASSWORD_LENGTH_MIN} characters

    {/if} @@ -133,7 +133,7 @@ /> {#if form_state.show('password_confirm') && password && password_confirm && !passwords_match} -

    passwords do not match

    +

    passwords do not match

    {/if}
    @@ -141,12 +141,12 @@ pending={auth_state.verifying} disabled={auth_state.verifying} onclick={handle_signup} - class={auth_state.verify_error ? 'color_c' : ''} + class={auth_state.verify_error ? 'palette_c' : ''} > sign up
    {#if auth_state.verify_error} -

    {auth_state.verify_error}

    +

    {auth_state.verify_error}

    {/if} diff --git a/src/lib/ui/SurfaceExplorer.svelte b/src/lib/ui/SurfaceExplorer.svelte index 48e43a04..b925fd50 100644 --- a/src/lib/ui/SurfaceExplorer.svelte +++ b/src/lib/ui/SurfaceExplorer.svelte @@ -87,10 +87,10 @@ }; const auth_chip_class = (auth: RouteAuth): string => { - if (is_public_auth(auth)) return 'chip color_b'; - if (is_keeper_auth(auth)) return 'chip color_c'; - if (is_role_auth(auth)) return 'chip color_d'; - if (is_plain_authenticated_auth(auth)) return 'chip color_a'; + if (is_public_auth(auth)) return 'chip palette_b'; + if (is_keeper_auth(auth)) return 'chip palette_c'; + if (is_role_auth(auth)) return 'chip palette_d'; + if (is_plain_authenticated_auth(auth)) return 'chip palette_a'; return 'chip'; }; @@ -100,12 +100,12 @@
    {surface.routes.length} routes - {#if summary.none > 0}{summary.none} public{/if} - {#if summary.authenticated > 0} 0}{summary.none} public{/if} + {#if summary.authenticated > 0}{summary.authenticated} authenticated{/if} - {#if role_count > 0}{role_count} role{/if} - {#if summary.keeper > 0}{summary.keeper} keeper{/if} + {#if role_count > 0}{role_count} role{/if} + {#if summary.keeper > 0}{summary.keeper} keeper{/if} {surface.middleware.length} middleware {#if rpc_method_count > 0}{rpc_method_count} rpc methods{/if} {#if ws_method_count > 0}{ws_method_count} ws methods{/if} @@ -113,7 +113,7 @@ {#if surface.events.length}{surface.events.length} events{/if} {#if surface.diagnostics.length}{@const warnings = surface.diagnostics.filter( (d: AppSurfaceDiagnostic) => d.level === 'warning', - )}{#if warnings.length}{warnings.length} warning{warnings.length === 1 ? '' : 's'}{/if}{/if}
    @@ -376,10 +376,10 @@ {endpoint.path} {endpoint.methods.length} methods {#each endpoint.required_roles as role (role)} - role:{role} + role:{role} {/each} {#each endpoint.allowed_origins as origin (origin)} - {origin} + {origin} {/each}
    {#if endpoint.methods.length === 0} @@ -457,7 +457,9 @@ {#each surface.diagnostics as d, i (i)} - {d.level}{d.level} {d.category} {d.message}