Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

fix(web): keep stacked Room avatars opaque

muterC48014939e8fb
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.md
index ebcfcd19..f9b679f2 100644
--- a/apps/web/AGENTS.md
+++ b/apps/web/AGENTS.md
@@ -116,6 +116,8 @@ build:assets` to check the initial JS budget.
- Input hints use `--app-placeholder` / `text-app-placeholder` across native
fields, chat composers, select prompts, and editable empty states. Keep
entered text and adjacent labels on their own text tokens.
+- Room avatar stacks give each tile an opaque surface behind the member's
+ portrait or initials so overlapping members never show through one another.
- Compose conditional class names with `cn` from `src/lib/cn.ts`.
- Do not add CSS Modules or feature-level `.css` files, and do not add new hex
colors in TSX. Use inline `style` only for runtime-computed values.
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css
index f31f3d84..834612cf 100644
--- a/apps/web/src/app/globals.css
+++ b/apps/web/src/app/globals.css
@@ -2974,6 +2974,8 @@ a[href][aria-disabled="true"],
height: calc(18 * var(--room-avatar-unit));
overflow: hidden;
border-radius: calc(6 * var(--room-avatar-unit));
+ /* Translucent initials and uploaded images must not reveal faces behind them. */
+ background: var(--room-avatar-ring);
box-shadow: 0 0 0 calc(1.5 * var(--room-avatar-unit)) var(--room-avatar-ring);
}