@meith/ui 0.32.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/avatar.tsx +2 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meith/ui",
3
- "version": "0.32.0",
3
+ "version": "0.33.1",
4
4
  "description": "Meith's shared UI primitives: buttons, menus and the class utilities themes build with.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/avatar.tsx CHANGED
@@ -14,17 +14,14 @@ function Avatar({ className, src = null, name, size = 40, ...props }: AvatarProp
14
14
  data-slot="avatar"
15
15
  aria-hidden="true"
16
16
  className={cn(
17
- 'inline-flex shrink-0 select-none items-center justify-center overflow-hidden rounded-md border border-border bg-muted',
17
+ 'inline-flex shrink-0 select-none items-center justify-center overflow-hidden rounded-md border border-primary/15 bg-primary/10',
18
18
  className,
19
19
  )}
20
20
  style={{ width: size, height: size }}
21
21
  {...props}
22
22
  >
23
23
  {src === null ? (
24
- <span
25
- className="font-medium text-muted-foreground"
26
- style={{ fontSize: Math.round(size * 0.42) }}
27
- >
24
+ <span className="font-semibold text-primary" style={{ fontSize: Math.round(size * 0.42) }}>
28
25
  {initial}
29
26
  </span>
30
27
  ) : (