arkenstone-ui 0.0.23 → 0.0.24
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/css/theme.css +49 -0
- package/package.json +3 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* src/lib/css/theme.css */
|
|
2
|
+
@import "tailwindcss";
|
|
3
|
+
@plugin "tailwindcss-animate";
|
|
4
|
+
|
|
5
|
+
/* 2. Define the Variables */
|
|
6
|
+
:root {
|
|
7
|
+
/* --background: 0 0% 100%; */
|
|
8
|
+
/* --foreground: 222.2 84% 4.9%; */
|
|
9
|
+
/* --primary: 222.2 47.4% 11.2%; */
|
|
10
|
+
/* --primary-foreground: 210 40% 98%; */
|
|
11
|
+
/* --radius: 0.5rem; */
|
|
12
|
+
/* ... Add all other variables here ... */
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dark {
|
|
16
|
+
/* --background: 222.2 84% 4.9%; */
|
|
17
|
+
/* --foreground: 210 40% 98%; */
|
|
18
|
+
/* ... Add all other dark variables here ... */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* 3. Configure the Theme (Map variables to Tailwind utilities) */
|
|
22
|
+
@theme {
|
|
23
|
+
/* Colors */
|
|
24
|
+
/* --color-background: hsl(var(--background));
|
|
25
|
+
--color-foreground: hsl(var(--foreground)); */
|
|
26
|
+
|
|
27
|
+
/* --color-primary: hsl(var(--primary));
|
|
28
|
+
--color-primary-foreground: hsl(var(--primary-foreground)); */
|
|
29
|
+
|
|
30
|
+
/* Add mappings for card, popover, secondary, muted, accent, destructive, border, input, ring... */
|
|
31
|
+
|
|
32
|
+
/* Border Radius */
|
|
33
|
+
/* --radius-lg: var(--radius);
|
|
34
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
35
|
+
--radius-sm: calc(var(--radius) - 4px); */
|
|
36
|
+
|
|
37
|
+
/* Animations (If not fully covered by the plugin) */
|
|
38
|
+
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
39
|
+
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
40
|
+
|
|
41
|
+
@keyframes accordion-down {
|
|
42
|
+
from { height: 0 }
|
|
43
|
+
to { height: var(--radix-accordion-content-height) }
|
|
44
|
+
}
|
|
45
|
+
@keyframes accordion-up {
|
|
46
|
+
from { height: var(--radix-accordion-content-height) }
|
|
47
|
+
to { height: 0 }
|
|
48
|
+
}
|
|
49
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arkenstone-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"import": "./dist/index.js",
|
|
14
14
|
"types": "./dist/types/index.d.ts"
|
|
15
15
|
},
|
|
16
|
-
"./theme.css": "./
|
|
16
|
+
"./theme.css": "./dist/css/theme.css"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"vite": "^5.4.10",
|
|
55
55
|
"vite-plugin-dts": "^4.5.4",
|
|
56
56
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
57
|
+
"vite-plugin-static-copy": "^3.1.4",
|
|
57
58
|
"vitest": "^4.0.9"
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|