@arc-lo/ui 0.2.0 → 0.2.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/styles.css +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arc-lo/ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "AI-native design system components — built on Radix, extended for AI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
package/styles.css CHANGED
@@ -22,6 +22,7 @@
22
22
  --arclo-warning: #f59e0b;
23
23
  --arclo-warning-surface: #fffbeb;
24
24
  --arclo-radius: 0.75rem;
25
+ --arclo-hover-bg: rgba(0, 0, 0, 0.06);
25
26
  }
26
27
 
27
28
  /* ─── Dark theme (prefers-color-scheme) ───────────────────────────── */
@@ -40,6 +41,7 @@
40
41
  --arclo-error-surface: #451a1a;
41
42
  --arclo-warning: #fbbf24;
42
43
  --arclo-warning-surface: #452a1a;
44
+ --arclo-hover-bg: rgba(255, 255, 255, 0.08);
43
45
  }
44
46
  }
45
47
 
@@ -58,11 +60,15 @@
58
60
  --arclo-error-surface: #451a1a;
59
61
  --arclo-warning: #fbbf24;
60
62
  --arclo-warning-surface: #452a1a;
63
+ --arclo-hover-bg: rgba(255, 255, 255, 0.08);
61
64
  }
62
65
 
63
66
  /* ─── Component styles ────────────────────────────────────────────── */
64
67
  .arclo-feedback-btn:hover {
65
- background-color: var(--arclo-surface-secondary, #f9fafb);
68
+ background-color: var(--arclo-hover-bg, rgba(0, 0, 0, 0.06));
69
+ }
70
+
71
+ .arclo-feedback-btn:not([aria-pressed="true"]):hover {
66
72
  color: var(--arclo-text-secondary, #6b7280);
67
73
  }
68
74