Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(lan-webui): drop the hard outline around the focused composer

vastsa7abc1c606f90
diff --git a/apps/desktop/resources/lan-webui/styles.css b/apps/desktop/resources/lan-webui/styles.css
index b2996c8e1..1d58db0eb 100644
--- a/apps/desktop/resources/lan-webui/styles.css
+++ b/apps/desktop/resources/lan-webui/styles.css
@@ -202,7 +202,10 @@ p {
outline: 1.5px solid color-mix(in oklab, var(--ds-accent) 80%, transparent);
outline-offset: 2px;
}
-[tabindex="-1"]:focus {
+[tabindex="-1"]:focus,
+input:focus-visible,
+textarea:focus-visible {
+ /* Fields carry their own focus treatment; the generic outline is for controls. */
outline: none;
}
.sr-only {
@@ -1146,8 +1149,8 @@ main > button.fab:active:not(:disabled) {
}
.composer:focus-within {
box-shadow:
- 0 0 0 1px color-mix(in oklab, var(--ds-text-primary) 18%, transparent),
- var(--ds-shadow-composer);
+ 0 0 0 0.5px color-mix(in oklab, var(--ds-text-primary) 16%, transparent),
+ 0 4px 16px color-mix(in oklab, #000000 8%, transparent);
}
.composer textarea {
flex: 1;