@mandujs/cli 0.9.24 → 0.9.43

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.
@@ -1,37 +1,49 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
1
+ @import "tailwindcss";
4
2
 
5
- @layer base {
6
- :root {
7
- --background: 0 0% 100%;
8
- --foreground: 222.2 84% 4.9%;
9
- --card: 0 0% 100%;
10
- --card-foreground: 222.2 84% 4.9%;
11
- --popover: 0 0% 100%;
12
- --popover-foreground: 222.2 84% 4.9%;
13
- --primary: 222.2 47.4% 11.2%;
14
- --primary-foreground: 210 40% 98%;
15
- --secondary: 210 40% 96.1%;
16
- --secondary-foreground: 222.2 47.4% 11.2%;
17
- --muted: 210 40% 96.1%;
18
- --muted-foreground: 215.4 16.3% 46.9%;
19
- --accent: 210 40% 96.1%;
20
- --accent-foreground: 222.2 47.4% 11.2%;
21
- --destructive: 0 84.2% 60.2%;
22
- --destructive-foreground: 210 40% 98%;
23
- --border: 214.3 31.8% 91.4%;
24
- --input: 214.3 31.8% 91.4%;
25
- --ring: 222.2 84% 4.9%;
26
- --radius: 0.5rem;
27
- }
3
+ /*
4
+ * Tailwind CSS v4 - CSS-first Configuration
5
+ * https://tailwindcss.com/docs/v4
6
+ */
7
+
8
+ @theme {
9
+ /* Colors - shadcn/ui compatible */
10
+ --color-background: hsl(0 0% 100%);
11
+ --color-foreground: hsl(222.2 84% 4.9%);
12
+ --color-card: hsl(0 0% 100%);
13
+ --color-card-foreground: hsl(222.2 84% 4.9%);
14
+ --color-popover: hsl(0 0% 100%);
15
+ --color-popover-foreground: hsl(222.2 84% 4.9%);
16
+ --color-primary: hsl(222.2 47.4% 11.2%);
17
+ --color-primary-foreground: hsl(210 40% 98%);
18
+ --color-secondary: hsl(210 40% 96.1%);
19
+ --color-secondary-foreground: hsl(222.2 47.4% 11.2%);
20
+ --color-muted: hsl(210 40% 96.1%);
21
+ --color-muted-foreground: hsl(215.4 16.3% 46.9%);
22
+ --color-accent: hsl(210 40% 96.1%);
23
+ --color-accent-foreground: hsl(222.2 47.4% 11.2%);
24
+ --color-destructive: hsl(0 84.2% 60.2%);
25
+ --color-destructive-foreground: hsl(210 40% 98%);
26
+ --color-border: hsl(214.3 31.8% 91.4%);
27
+ --color-input: hsl(214.3 31.8% 91.4%);
28
+ --color-ring: hsl(222.2 84% 4.9%);
29
+
30
+ /* Radius */
31
+ --radius-sm: 0.25rem;
32
+ --radius-md: 0.5rem;
33
+ --radius-lg: 0.75rem;
34
+ --radius-xl: 1rem;
35
+
36
+ /* Fonts */
37
+ --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
38
+ }
39
+
40
+ /* Base styles */
41
+ * {
42
+ border-color: var(--color-border);
28
43
  }
29
44
 
30
- @layer base {
31
- * {
32
- @apply border-border;
33
- }
34
- body {
35
- @apply bg-background text-foreground;
36
- }
45
+ body {
46
+ background-color: var(--color-background);
47
+ color: var(--color-foreground);
48
+ font-family: var(--font-sans);
37
49
  }
@@ -2,15 +2,19 @@
2
2
  "name": "{{PROJECT_NAME}}",
3
3
  "version": "0.1.0",
4
4
  "type": "module",
5
- "scripts": {
6
- "dev": "mandu dev",
7
- "build": "mandu build",
8
- "check": "mandu check",
9
- "guard": "mandu guard",
10
- "test": "bun test"
11
- },
5
+ "packageManager": "bun@1.2.0",
6
+ "engines": {
7
+ "bun": ">=1.0.0"
8
+ },
9
+ "scripts": {
10
+ "dev": "mandu dev",
11
+ "build": "mandu build",
12
+ "check": "mandu check",
13
+ "guard": "mandu guard",
14
+ "test": "bun test"
15
+ },
12
16
  "dependencies": {
13
- "@mandujs/core": "^0.9.39",
17
+ "@mandujs/core": "^0.9.42",
14
18
  "@radix-ui/react-slot": "^1.1.0",
15
19
  "class-variance-authority": "^0.7.0",
16
20
  "clsx": "^2.1.1",
@@ -19,12 +23,11 @@
19
23
  "tailwind-merge": "^2.5.2"
20
24
  },
21
25
  "devDependencies": {
22
- "@mandujs/cli": "^0.9.21",
26
+ "@mandujs/cli": "^0.9.42",
27
+ "@tailwindcss/cli": "^4.1.0",
23
28
  "@types/react": "^19.2.0",
24
29
  "@types/react-dom": "^19.2.0",
25
- "autoprefixer": "^10.4.20",
26
- "postcss": "^8.4.47",
27
- "tailwindcss": "^3.4.14",
30
+ "tailwindcss": "^4.1.0",
28
31
  "typescript": "^5.0.0"
29
32
  }
30
33
  }
@@ -1,6 +0,0 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
@@ -1,64 +0,0 @@
1
- import type { Config } from "tailwindcss";
2
-
3
- const config: Config = {
4
- content: [
5
- "./app/**/*.{ts,tsx,mdx}",
6
- "./src/**/*.{ts,tsx,mdx}",
7
- ],
8
- theme: {
9
- extend: {
10
- colors: {
11
- background: "hsl(var(--background))",
12
- foreground: "hsl(var(--foreground))",
13
- card: {
14
- DEFAULT: "hsl(var(--card))",
15
- foreground: "hsl(var(--card-foreground))",
16
- },
17
- popover: {
18
- DEFAULT: "hsl(var(--popover))",
19
- foreground: "hsl(var(--popover-foreground))",
20
- },
21
- primary: {
22
- DEFAULT: "hsl(var(--primary))",
23
- foreground: "hsl(var(--primary-foreground))",
24
- },
25
- secondary: {
26
- DEFAULT: "hsl(var(--secondary))",
27
- foreground: "hsl(var(--secondary-foreground))",
28
- },
29
- muted: {
30
- DEFAULT: "hsl(var(--muted))",
31
- foreground: "hsl(var(--muted-foreground))",
32
- },
33
- accent: {
34
- DEFAULT: "hsl(var(--accent))",
35
- foreground: "hsl(var(--accent-foreground))",
36
- },
37
- destructive: {
38
- DEFAULT: "hsl(var(--destructive))",
39
- foreground: "hsl(var(--destructive-foreground))",
40
- },
41
- border: "hsl(var(--border))",
42
- input: "hsl(var(--input))",
43
- ring: "hsl(var(--ring))",
44
- },
45
- borderRadius: {
46
- lg: "var(--radius)",
47
- md: "calc(var(--radius) - 2px)",
48
- sm: "calc(var(--radius) - 4px)",
49
- },
50
- fontFamily: {
51
- sans: [
52
- "-apple-system",
53
- "BlinkMacSystemFont",
54
- "Segoe UI",
55
- "Roboto",
56
- "sans-serif",
57
- ],
58
- },
59
- },
60
- },
61
- plugins: [],
62
- };
63
-
64
- export default config;