@moondreamsdev/dreamer-ui 1.4.2 → 1.4.3
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 +37 -1
- package/package.json +3 -3
package/dist/styles.css
CHANGED
@@ -1 +1,37 @@
|
|
1
|
-
.
|
1
|
+
@import './core/components/input/styles.css';
|
2
|
+
@import './core/components/textarea/styles.css';
|
3
|
+
|
4
|
+
@utility page {
|
5
|
+
@apply min-h-screen w-screen;
|
6
|
+
}
|
7
|
+
|
8
|
+
@theme colors {
|
9
|
+
/* Background */
|
10
|
+
--color-background-light: var(--color-slate-100);
|
11
|
+
--color-background-dark: var(--color-slate-900);
|
12
|
+
|
13
|
+
/* Foreground */
|
14
|
+
--color-foreground-light: var(--color-slate-900);
|
15
|
+
--color-foreground-dark: var(--color-slate-100);
|
16
|
+
|
17
|
+
/* Accent */
|
18
|
+
--color-accent-medium: var(--color-violet-400); /* default tone */
|
19
|
+
|
20
|
+
/* Dreamer UI */
|
21
|
+
/* colors */
|
22
|
+
--color-primary: var(--color-violet-400);
|
23
|
+
--color-primary-foreground: var(--color-white);
|
24
|
+
--color-secondary: var(--color-violet-200);
|
25
|
+
--color-secondary-foreground: var(--color-black);
|
26
|
+
--color-danger: var(--color-red-500);
|
27
|
+
--color-danger-foreground: var(--color-white);
|
28
|
+
--color-muted: var(--color-gray-200);
|
29
|
+
--color-muted-foreground: var(--color-gray-800);
|
30
|
+
|
31
|
+
--color-success: var(--color-green-500);
|
32
|
+
--color-border: var(
|
33
|
+
--color-slate-600
|
34
|
+
); /* for input/textarea borders and dividers — could use primary, secondary, or muted color for simplicity */
|
35
|
+
}
|
36
|
+
|
37
|
+
@source "./**/*.{js,jsx,ts,tsx}" "../dist/**/*.{js,jsx}";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@moondreamsdev/dreamer-ui",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.3",
|
4
4
|
"type": "module",
|
5
5
|
"description": "A collection of Tailwind CSS components for React",
|
6
6
|
"main": "dist/index.js",
|
@@ -37,11 +37,11 @@
|
|
37
37
|
},
|
38
38
|
"scripts": {
|
39
39
|
"dev": "vite",
|
40
|
-
"build": "npm run build:lib && npm run build:types && npm run build:
|
40
|
+
"build": "npm run build:lib && npm run build:types && npm run build:copy",
|
41
41
|
"build:lib": "vite build --config vite.config.lib.mts",
|
42
42
|
"build:types": "tsc --project tsconfig.lib.json",
|
43
43
|
"build:demo": "tsc -b && vite build",
|
44
|
-
"build:
|
44
|
+
"build:copy": "cp scripts/* dist/ && cp src/styles.lib.css dist/styles.css",
|
45
45
|
"lint": "eslint .",
|
46
46
|
"preview": "vite preview",
|
47
47
|
"postinstall": "node dist/postinstall.js",
|