@sniptide/ui 0.6.0 → 0.7.0

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sniptide/ui",
3
- "version": "0.6.0",
4
- "gitHead": "6f7f163b4b23e3bedbe77bf81baf08c551bdb6c4",
3
+ "version": "0.7.0",
4
+ "gitHead": "856cddf75a021b24de41d0e359d3719f77ff1060",
5
5
  "description": "Sniptide's React components, Tailwind CSS theme and logo, shared by the app and the website.",
6
6
  "license": "AGPL-3.0-only",
7
7
  "homepage": "https://sniptide.com",
@@ -31,8 +31,8 @@
31
31
  "@base-ui/react": "^1.8.0",
32
32
  "@tailwindcss/postcss": "^4",
33
33
  "class-variance-authority": "^0.7.1",
34
- "cn": "^0.5.0",
35
- "lucide-react": "^1.64.0",
34
+ "cn": "^0.5.2",
35
+ "lucide-react": "^1.70.0",
36
36
  "tailwindcss": "^4",
37
37
  "tw-animate-css": "^1.4.0"
38
38
  }
@@ -52,6 +52,20 @@
52
52
  --pink: #f6a9d3;
53
53
  --pink-foreground: #2b0a1f;
54
54
  --highlight: #e353ac;
55
+ /* Default profile pictures: a silhouette on one of six fills, picked from the account id so a
56
+ person keeps the same colour everywhere. The same pairs work on light and dark surfaces. */
57
+ --avatar-1: #f6a9d3;
58
+ --avatar-1-foreground: #2b0a1f;
59
+ --avatar-2: #2a26ec;
60
+ --avatar-2-foreground: #dcdbff;
61
+ --avatar-3: #047857;
62
+ --avatar-3-foreground: #cdefe3;
63
+ --avatar-4: #f5b971;
64
+ --avatar-4-foreground: #3d2406;
65
+ --avatar-5: #6d28d9;
66
+ --avatar-5-foreground: #e4d9fb;
67
+ --avatar-6: #67d4e8;
68
+ --avatar-6-foreground: #08343d;
55
69
  /* Code colours. Keywords are the brand blue; the rest stay muted enough that blue still leads.
56
70
  All clear 4.5:1 on the code backgrounds (white, --sidebar). */
57
71
  --syntax-foreground: #1b1919;