@object-ui/runner 0.3.0 → 0.5.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.
@@ -1,63 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- export default {
3
- darkMode: ["class"],
4
- content: [
5
- "./index.html",
6
- "./src/**/*.{ts,tsx}",
7
-
8
- // ⚠️ 核心配置:
9
- // 指向 Monorepo 中的包源码,确保 Tailwind 能提取出 Object UI 组件内的 className
10
- "../../packages/components/src/**/*.{ts,tsx}",
11
- "../../packages/react/src/**/*.{ts,tsx}",
12
- "../../packages/plugin-kanban/src/**/*.{ts,tsx}",
13
- "../../packages/plugin-charts/src/**/*.{ts,tsx}",
14
- ],
15
- theme: {
16
- extend: {
17
- // 映射 Shadcn UI 变量
18
- colors: {
19
- border: "hsl(var(--border))",
20
- input: "hsl(var(--input))",
21
- ring: "hsl(var(--ring))",
22
- background: "hsl(var(--background))",
23
- foreground: "hsl(var(--foreground))",
24
- primary: {
25
- DEFAULT: "hsl(var(--primary))",
26
- foreground: "hsl(var(--primary-foreground))",
27
- },
28
- secondary: {
29
- DEFAULT: "hsl(var(--secondary))",
30
- foreground: "hsl(var(--secondary-foreground))",
31
- },
32
- destructive: {
33
- DEFAULT: "hsl(var(--destructive))",
34
- foreground: "hsl(var(--destructive-foreground))",
35
- },
36
- muted: {
37
- DEFAULT: "hsl(var(--muted))",
38
- foreground: "hsl(var(--muted-foreground))",
39
- },
40
- accent: {
41
- DEFAULT: "hsl(var(--accent))",
42
- foreground: "hsl(var(--accent-foreground))",
43
- },
44
- popover: {
45
- DEFAULT: "hsl(var(--popover))",
46
- foreground: "hsl(var(--popover-foreground))",
47
- },
48
- card: {
49
- DEFAULT: "hsl(var(--card))",
50
- foreground: "hsl(var(--card-foreground))",
51
- },
52
- },
53
- borderRadius: {
54
- lg: "var(--radius)",
55
- md: "calc(var(--radius) - 2px)",
56
- sm: "calc(var(--radius) - 4px)",
57
- },
58
- },
59
- },
60
- plugins: [
61
- require("tailwindcss-animate"),
62
- ],
63
- }