@arc-lo/ui 0.1.0 → 0.2.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@arc-lo/ui",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "AI-native design system components — built on Radix, extended for AI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -12,17 +12,12 @@
12
12
  "import": "./dist/index.js",
13
13
  "require": "./dist/index.cjs"
14
14
  },
15
- "./styles.css": "./dist/styles.css",
16
- "./theme.css": "./src/styles/theme.css"
15
+ "./styles.css": "./styles.css"
17
16
  },
18
17
  "files": [
19
18
  "dist",
20
- "src/styles"
19
+ "styles.css"
21
20
  ],
22
- "scripts": {
23
- "build": "tsup",
24
- "dev": "tsup --watch"
25
- },
26
21
  "peerDependencies": {
27
22
  "react": "^18.0.0 || ^19.0.0",
28
23
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -43,5 +38,9 @@
43
38
  "repository": {
44
39
  "type": "git",
45
40
  "url": "https://github.com/arc-lo/ui"
41
+ },
42
+ "scripts": {
43
+ "build": "tsup",
44
+ "dev": "tsup --watch"
46
45
  }
47
- }
46
+ }
@@ -1,6 +1,12 @@
1
- /* arclo theme — import this file for automatic light/dark mode support */
2
- /* Usage: @import "@arc-lo/ui/styles/theme.css"; */
1
+ /*
2
+ * @arc-lo/uistyles
3
+ *
4
+ * Usage:
5
+ * @import "tailwindcss";
6
+ * @import "@arc-lo/ui/styles.css";
7
+ */
3
8
 
9
+ /* ─── Light theme (default) ───────────────────────────────────────── */
4
10
  :root {
5
11
  --arclo-accent: #6C5CE7;
6
12
  --arclo-accent-hover: #5A4BD1;
@@ -18,6 +24,7 @@
18
24
  --arclo-radius: 0.75rem;
19
25
  }
20
26
 
27
+ /* ─── Dark theme (prefers-color-scheme) ───────────────────────────── */
21
28
  @media (prefers-color-scheme: dark) {
22
29
  :root:not(.light) {
23
30
  --arclo-accent: #a78bfa;
@@ -36,7 +43,7 @@
36
43
  }
37
44
  }
38
45
 
39
- /* Class-based dark mode — add class="dark" to html or a parent */
46
+ /* ─── Dark theme (class-based) ────────────────────────────────────── */
40
47
  .dark {
41
48
  --arclo-accent: #a78bfa;
42
49
  --arclo-accent-hover: #8b6ff7;
@@ -52,3 +59,12 @@
52
59
  --arclo-warning: #fbbf24;
53
60
  --arclo-warning-surface: #452a1a;
54
61
  }
62
+
63
+ /* ─── Component styles ────────────────────────────────────────────── */
64
+ .arclo-feedback-btn:hover {
65
+ background-color: var(--arclo-surface-secondary, #f9fafb);
66
+ color: var(--arclo-text-secondary, #6b7280);
67
+ }
68
+
69
+ /* ─── Tailwind utility scanning ───────────────────────────────────── */
70
+ @source "./dist";