From 4d658b8d148ab2a64581cc947e9fe0cc03df2c0f Mon Sep 17 00:00:00 2001 From: Bryan Villafuerte Date: Mon, 11 May 2026 00:00:11 -0600 Subject: [PATCH 1/8] feat(web): add prefers-reduced-motion support for accessibility --- web-svelte/src/styles/app.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web-svelte/src/styles/app.css b/web-svelte/src/styles/app.css index d8242f4..a13a738 100644 --- a/web-svelte/src/styles/app.css +++ b/web-svelte/src/styles/app.css @@ -16,3 +16,10 @@ html, body { * { box-sizing: border-box; } + +@media (prefers-reduced-motion: reduce) { + * { + transition-duration: 0.01ms !important; + animation-duration: 0.01ms !important; + } +} From 96a5fc2cb96727f7c3c3e87ccea6a3ce3c0c3181 Mon Sep 17 00:00:00 2001 From: Bryan Villafuerte Date: Mon, 11 May 2026 00:00:34 -0600 Subject: [PATCH 2/8] refactor(web): apply rounded-3xl corners and micro-interactions to buttons and panels --- web-svelte/src/lib/components/Button.svelte | 5 +++-- web-svelte/src/lib/components/ConnectionsPanel.svelte | 4 ++-- web-svelte/src/lib/components/Dropdown.svelte | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/web-svelte/src/lib/components/Button.svelte b/web-svelte/src/lib/components/Button.svelte index f890df9..5f3e679 100644 --- a/web-svelte/src/lib/components/Button.svelte +++ b/web-svelte/src/lib/components/Button.svelte @@ -74,9 +74,10 @@ {disabled} {onclick} class={cn( - "inline-flex items-center justify-center rounded-lg border font-medium cursor-pointer", - "transition-colors duration-150", + "inline-flex items-center justify-center border font-medium cursor-pointer", + "transition-all duration-150 rounded-xl", "disabled:opacity-50 disabled:cursor-not-allowed", + "active:scale-[0.98]", variantClasses.base, variantClasses.hover, sizeClasses, diff --git a/web-svelte/src/lib/components/ConnectionsPanel.svelte b/web-svelte/src/lib/components/ConnectionsPanel.svelte index 444aa93..2afa3a5 100644 --- a/web-svelte/src/lib/components/ConnectionsPanel.svelte +++ b/web-svelte/src/lib/components/ConnectionsPanel.svelte @@ -41,8 +41,8 @@ bind:this={sectionEl} style="opacity: 0;" class={cn( - "flex flex-col overflow-hidden rounded-xl border shadow-sm transition-all duration-200", - "hover:shadow-lg hover:-translate-y-px", + "flex flex-col overflow-hidden rounded-3xl border shadow-sm transition-all duration-200", + "hover:shadow-lg", "bg-card border-border", )} > diff --git a/web-svelte/src/lib/components/Dropdown.svelte b/web-svelte/src/lib/components/Dropdown.svelte index 16ece28..910a5e5 100644 --- a/web-svelte/src/lib/components/Dropdown.svelte +++ b/web-svelte/src/lib/components/Dropdown.svelte @@ -112,7 +112,7 @@ aria-expanded={isOpen} aria-haspopup="true" class={cn( - "flex items-center gap-1.5 px-3 py-2 text-xs h-9 rounded-lg border min-h-9 cursor-pointer", + "flex items-center gap-1.5 px-3 py-2 text-xs h-9 rounded-xl border min-h-9 cursor-pointer", "bg-card border-border text-text hover:bg-hover flex-1", )} > @@ -135,7 +135,7 @@ aria-orientation="vertical" style="opacity: 0; scale: 0.95; transform: translateY(-4px);" class={cn( - "absolute min-w-[150px] max-h-[300px] rounded-lg border p-1 z-50 overflow-y-auto cursor-default", + "absolute min-w-[150px] max-h-[300px] rounded-2xl border p-1 z-50 overflow-y-auto cursor-default", menuPosition, "bg-card border-border", )} @@ -153,7 +153,7 @@ onSelect?.(option); }} class={cn( - "flex items-center gap-2 w-full px-3 py-2 text-xs rounded-lg text-left cursor-pointer", + "flex items-center gap-2 w-full px-3 py-2 text-xs rounded-xl text-left cursor-pointer", "text-text bg-transparent border-none hover:bg-hover", "disabled:opacity-50 disabled:cursor-not-allowed", option.danger && "text-red-500 hover:bg-red-500/10", From 3479ff9b8170f8907c858207806fcc5fa31538e0 Mon Sep 17 00:00:00 2001 From: Bryan Villafuerte Date: Mon, 11 May 2026 00:00:50 -0600 Subject: [PATCH 3/8] refactor(web): apply rounded corners and smooth inputs to NewConnection --- web-svelte/src/lib/components/NewConnection.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-svelte/src/lib/components/NewConnection.svelte b/web-svelte/src/lib/components/NewConnection.svelte index 2b249a8..c37f286 100644 --- a/web-svelte/src/lib/components/NewConnection.svelte +++ b/web-svelte/src/lib/components/NewConnection.svelte @@ -84,7 +84,7 @@

@@ -104,7 +104,7 @@ placeholder={t("tunnel_name_hint")} required autocomplete="off" - class="w-full px-3 py-2 border rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" + class="w-full h-9 px-3 py-2 border rounded-xl text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" />

@@ -119,7 +119,7 @@ min="1" max="65535" required - class="w-full px-3 py-2 border rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" + class="w-full h-9 px-3 py-2 border rounded-xl text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" />
From 5e2944670a9f5e98344a930c24bb7f0d8a03eab9 Mon Sep 17 00:00:00 2001 From: Bryan Villafuerte Date: Mon, 11 May 2026 00:00:56 -0600 Subject: [PATCH 4/8] refactor(web): apply rounded corners and smooth inputs to EditConnection --- web-svelte/src/lib/components/EditConnection.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web-svelte/src/lib/components/EditConnection.svelte b/web-svelte/src/lib/components/EditConnection.svelte index dc0c164..919fa7f 100644 --- a/web-svelte/src/lib/components/EditConnection.svelte +++ b/web-svelte/src/lib/components/EditConnection.svelte @@ -110,7 +110,7 @@
@@ -145,7 +145,7 @@ placeholder={t("name_placeholder")} required autocomplete="off" - class="w-full px-3 py-2 border rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" + class="w-full h-9 px-3 py-2 border rounded-xl text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" />
@@ -161,7 +161,7 @@ min="1" max="65535" required - class="w-full px-3 py-2 border rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" + class="w-full h-9 px-3 py-2 border rounded-xl text-sm focus:outline-none focus:ring-2 focus:ring-offset-1 bg-input-bg text-text border-border focus:ring-primary transition-all duration-200" />
From 9b560056338f58a1f5dbf8bab04af241d8607f90 Mon Sep 17 00:00:00 2001 From: Bryan Villafuerte Date: Mon, 11 May 2026 00:01:00 -0600 Subject: [PATCH 5/8] refactor(web): add rounded-3xl and hover transitions to TunnelCard and DeleteModal --- web-svelte/src/lib/components/DeleteModal.svelte | 5 ++--- web-svelte/src/lib/components/TunnelCard.svelte | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/web-svelte/src/lib/components/DeleteModal.svelte b/web-svelte/src/lib/components/DeleteModal.svelte index c51f97f..d1f16df 100644 --- a/web-svelte/src/lib/components/DeleteModal.svelte +++ b/web-svelte/src/lib/components/DeleteModal.svelte @@ -106,9 +106,8 @@