@unciatech/file-manager 0.0.15 → 0.0.18

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/dist/styles.css CHANGED
@@ -34,27 +34,52 @@
34
34
  --radius: 0.5rem;
35
35
  }
36
36
 
37
- /* ── Dark mode ────────────────────────────────────────────────── */
37
+ /* ── Dark mode (system preference + manual .dark class) ───────── */
38
+ @media (prefers-color-scheme: dark) {
39
+ :root {
40
+ --color-background: #09090b; /* zinc-950 */
41
+ --color-foreground: #fafafa; /* zinc-50 */
42
+ --color-card: #09090b;
43
+ --color-card-foreground: #fafafa;
44
+ --color-popover: #09090b;
45
+ --color-popover-foreground:#fafafa;
46
+ --color-primary: #2563eb; /* blue-600 */
47
+ --color-primary-foreground:#ffffff;
48
+ --color-secondary: #27272a; /* zinc-800 */
49
+ --color-secondary-foreground:#fafafa;
50
+ --color-muted: #18181b; /* zinc-900 */
51
+ --color-muted-foreground: #71717a;
52
+ --color-accent: #18181b;
53
+ --color-accent-foreground: #fafafa;
54
+ --color-destructive: #dc2626;
55
+ --color-destructive-foreground:#ffffff;
56
+ --color-border: #27272a; /* zinc-800 */
57
+ --color-input: #27272a;
58
+ --color-ring: #52525b; /* zinc-600 */
59
+ }
60
+ }
61
+
62
+ /* Manual .dark class (toggle button override) */
38
63
  .dark {
39
- --color-background: #09090b; /* zinc-950 */
40
- --color-foreground: #fafafa; /* zinc-50 */
64
+ --color-background: #09090b;
65
+ --color-foreground: #fafafa;
41
66
  --color-card: #09090b;
42
67
  --color-card-foreground: #fafafa;
43
68
  --color-popover: #09090b;
44
69
  --color-popover-foreground:#fafafa;
45
- --color-primary: #2563eb; /* blue-600 */
70
+ --color-primary: #2563eb;
46
71
  --color-primary-foreground:#ffffff;
47
- --color-secondary: #27272a; /* zinc-800 */
72
+ --color-secondary: #27272a;
48
73
  --color-secondary-foreground:#fafafa;
49
- --color-muted: #18181b; /* zinc-900 */
74
+ --color-muted: #18181b;
50
75
  --color-muted-foreground: #71717a;
51
76
  --color-accent: #18181b;
52
77
  --color-accent-foreground: #fafafa;
53
78
  --color-destructive: #dc2626;
54
79
  --color-destructive-foreground:#ffffff;
55
- --color-border: #27272a; /* zinc-800 */
80
+ --color-border: #27272a;
56
81
  --color-input: #27272a;
57
- --color-ring: #52525b; /* zinc-600 */
82
+ --color-ring: #52525b;
58
83
  }
59
84
 
60
85
  /* ── Border base reset ────────────────────────────────────────── */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unciatech/file-manager",
3
- "version": "0.0.15",
3
+ "version": "0.0.18",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -32,6 +32,7 @@
32
32
  "build": "next build",
33
33
  "build:pkg": "tsup && cp styles.css dist/styles.css",
34
34
  "start": "next start",
35
+ "publish": "npm run build:pkg && npm publish",
35
36
  "lint": "eslint"
36
37
  },
37
38
  "dependencies": {
package/styles.css CHANGED
@@ -34,27 +34,52 @@
34
34
  --radius: 0.5rem;
35
35
  }
36
36
 
37
- /* ── Dark mode ────────────────────────────────────────────────── */
37
+ /* ── Dark mode (system preference + manual .dark class) ───────── */
38
+ @media (prefers-color-scheme: dark) {
39
+ :root {
40
+ --color-background: #09090b; /* zinc-950 */
41
+ --color-foreground: #fafafa; /* zinc-50 */
42
+ --color-card: #09090b;
43
+ --color-card-foreground: #fafafa;
44
+ --color-popover: #09090b;
45
+ --color-popover-foreground:#fafafa;
46
+ --color-primary: #2563eb; /* blue-600 */
47
+ --color-primary-foreground:#ffffff;
48
+ --color-secondary: #27272a; /* zinc-800 */
49
+ --color-secondary-foreground:#fafafa;
50
+ --color-muted: #18181b; /* zinc-900 */
51
+ --color-muted-foreground: #71717a;
52
+ --color-accent: #18181b;
53
+ --color-accent-foreground: #fafafa;
54
+ --color-destructive: #dc2626;
55
+ --color-destructive-foreground:#ffffff;
56
+ --color-border: #27272a; /* zinc-800 */
57
+ --color-input: #27272a;
58
+ --color-ring: #52525b; /* zinc-600 */
59
+ }
60
+ }
61
+
62
+ /* Manual .dark class (toggle button override) */
38
63
  .dark {
39
- --color-background: #09090b; /* zinc-950 */
40
- --color-foreground: #fafafa; /* zinc-50 */
64
+ --color-background: #09090b;
65
+ --color-foreground: #fafafa;
41
66
  --color-card: #09090b;
42
67
  --color-card-foreground: #fafafa;
43
68
  --color-popover: #09090b;
44
69
  --color-popover-foreground:#fafafa;
45
- --color-primary: #2563eb; /* blue-600 */
70
+ --color-primary: #2563eb;
46
71
  --color-primary-foreground:#ffffff;
47
- --color-secondary: #27272a; /* zinc-800 */
72
+ --color-secondary: #27272a;
48
73
  --color-secondary-foreground:#fafafa;
49
- --color-muted: #18181b; /* zinc-900 */
74
+ --color-muted: #18181b;
50
75
  --color-muted-foreground: #71717a;
51
76
  --color-accent: #18181b;
52
77
  --color-accent-foreground: #fafafa;
53
78
  --color-destructive: #dc2626;
54
79
  --color-destructive-foreground:#ffffff;
55
- --color-border: #27272a; /* zinc-800 */
80
+ --color-border: #27272a;
56
81
  --color-input: #27272a;
57
- --color-ring: #52525b; /* zinc-600 */
82
+ --color-ring: #52525b;
58
83
  }
59
84
 
60
85
  /* ── Border base reset ────────────────────────────────────────── */