Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/ui/profile-pill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import { cn } from "../../utils/cn";
import { Avatar, AvatarFallback, AvatarImage } from "./avatar";

const profilePillVariants = cva(
"group/profile-pill inline-flex w-fit items-center rounded-full text-foreground outline-none transition-colors [&:is(a,button):hover]:text-muted-foreground",
// normal-case/tracking-tight are load-bearing: app headers commonly set
// `uppercase tracking-widest` on the nav around it and both inherit, so the
// pill restates the base layer's own defaults rather than accepting them.
"group/profile-pill inline-flex w-fit items-center rounded-full text-foreground normal-case tracking-tight outline-none transition-colors [&:is(a,button):hover]:text-muted-foreground",
{
variants: {
size: {
Expand Down
Binary file modified tests/visual.spec.ts-snapshots/components-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/visual.spec.ts-snapshots/components-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading