summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/avatar.css
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-09 15:21:04 -0600
committerAdam <[email protected]>2025-12-09 15:21:47 -0600
commit1fbd7a7f9a611749768168ea9a30f87d7eda2c5b (patch)
treef0ec9c556954d86948ebfea43486df71d0ba3f05 /packages/ui/src/components/avatar.css
parentd7563d16944316a537cf49a6dc7875addaf5dba9 (diff)
downloadopencode-1fbd7a7f9a611749768168ea9a30f87d7eda2c5b.tar.gz
opencode-1fbd7a7f9a611749768168ea9a30f87d7eda2c5b.zip
wip(desktop): progress
Diffstat (limited to 'packages/ui/src/components/avatar.css')
-rw-r--r--packages/ui/src/components/avatar.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/ui/src/components/avatar.css b/packages/ui/src/components/avatar.css
index bc87f3bd8..4e42e6f99 100644
--- a/packages/ui/src/components/avatar.css
+++ b/packages/ui/src/components/avatar.css
@@ -13,6 +13,11 @@
color: oklch(from var(--avatar-bg) calc(l * 0.72) calc(c * 8) h);
}
+[data-component="avatar"][data-has-image] {
+ background-color: transparent;
+ border: none;
+}
+
[data-component="avatar"][data-size="small"] {
width: 1.25rem;
height: 1.25rem;