cognite-create 0.2.31 → 0.2.33
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/bin/index.js +119 -30
- package/bin/index.test.js +412 -0
- package/package.json +8 -1
- package/templates/components.json +1 -1
- package/templates/src/index.css +616 -0
- package/templates/vite.config.ts +14 -0
- package/templates/.env.example +0 -7
- package/templates/app/globals.css +0 -165
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
@import "tw-animate-css";
|
|
3
|
-
|
|
4
|
-
@custom-variant dark (&:is(.dark *));
|
|
5
|
-
|
|
6
|
-
@theme inline {
|
|
7
|
-
--color-background: var(--background);
|
|
8
|
-
--color-foreground: var(--foreground);
|
|
9
|
-
--font-sans: var(--font-inter);
|
|
10
|
-
--font-mono: var(--font-inter);
|
|
11
|
-
--heading-1: var(--font-inter);
|
|
12
|
-
--heading-2: var(--font-inter);
|
|
13
|
-
--body-large: var(--font-inter);
|
|
14
|
-
--body-medium: var(--font-inter);
|
|
15
|
-
--body-small: var(--font-inter);
|
|
16
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
17
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
18
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
19
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
20
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
21
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
22
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
23
|
-
--color-sidebar: var(--sidebar);
|
|
24
|
-
--color-chart-5: var(--chart-5);
|
|
25
|
-
--color-chart-4: var(--chart-4);
|
|
26
|
-
--color-chart-3: var(--chart-3);
|
|
27
|
-
--color-chart-2: var(--chart-2);
|
|
28
|
-
--color-chart-1: var(--chart-1);
|
|
29
|
-
--color-ring: var(--ring);
|
|
30
|
-
--color-input: var(--input);
|
|
31
|
-
--color-border: var(--border);
|
|
32
|
-
--color-destructive: var(--destructive);
|
|
33
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
34
|
-
--color-accent: var(--accent);
|
|
35
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
36
|
-
--color-muted: var(--muted);
|
|
37
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
38
|
-
--color-secondary: var(--secondary);
|
|
39
|
-
--color-secondary-muted-default: var(--secondary-muted-default);
|
|
40
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
41
|
-
--color-primary: var(--primary);
|
|
42
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
43
|
-
--color-popover: var(--popover);
|
|
44
|
-
--color-card-foreground: var(--card-foreground);
|
|
45
|
-
--color-card: var(--card);
|
|
46
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
47
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
48
|
-
--radius-lg: var(--radius);
|
|
49
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:root {
|
|
53
|
-
--radius: 0.625rem;
|
|
54
|
-
--background: oklch(1 0 0);
|
|
55
|
-
--foreground: oklch(0.145 0 0);
|
|
56
|
-
--card: oklch(1 0 0);
|
|
57
|
-
--card-foreground: oklch(0.145 0 0);
|
|
58
|
-
--popover: oklch(1 0 0);
|
|
59
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
60
|
-
--primary: oklch(0.205 0 0);
|
|
61
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
62
|
-
--secondary: oklch(0.97 0 0);
|
|
63
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
64
|
-
--secondary-muted-default: #e4e4e7;
|
|
65
|
-
--muted: oklch(0.97 0 0);
|
|
66
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
67
|
-
--accent: oklch(0.97 0 0);
|
|
68
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
69
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
70
|
-
--border: oklch(0.922 0 0);
|
|
71
|
-
--input: oklch(0.922 0 0);
|
|
72
|
-
--ring: oklch(0.708 0 0);
|
|
73
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
74
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
75
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
76
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
77
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
78
|
-
--sidebar: oklch(0.985 0 0);
|
|
79
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
80
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
81
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
82
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
83
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
84
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
85
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.dark {
|
|
89
|
-
--background: oklch(0.145 0 0);
|
|
90
|
-
--foreground: oklch(0.985 0 0);
|
|
91
|
-
--card: oklch(0.205 0 0);
|
|
92
|
-
--card-foreground: oklch(0.985 0 0);
|
|
93
|
-
--popover: oklch(0.205 0 0);
|
|
94
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
95
|
-
--primary: oklch(0.922 0 0);
|
|
96
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
97
|
-
--secondary: oklch(0.269 0 0);
|
|
98
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
99
|
-
--secondary-muted-default: #e4e4e7;
|
|
100
|
-
--muted: oklch(0.269 0 0);
|
|
101
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
102
|
-
--accent: oklch(0.269 0 0);
|
|
103
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
104
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
105
|
-
--border: oklch(1 0 0 / 10%);
|
|
106
|
-
--input: oklch(1 0 0 / 15%);
|
|
107
|
-
--ring: oklch(0.556 0 0);
|
|
108
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
109
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
110
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
111
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
112
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
113
|
-
--sidebar: oklch(0.205 0 0);
|
|
114
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
115
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
116
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
117
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
118
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
119
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
120
|
-
--sidebar-ring: oklch(0.556 0 0);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@layer base {
|
|
124
|
-
* {
|
|
125
|
-
@apply border-border outline-ring/50;
|
|
126
|
-
}
|
|
127
|
-
body {
|
|
128
|
-
@apply bg-background text-foreground;
|
|
129
|
-
}
|
|
130
|
-
h1 {
|
|
131
|
-
font-family: var(--heading-1);
|
|
132
|
-
font-weight: 700;
|
|
133
|
-
font-size: 36px;
|
|
134
|
-
line-height: 44px;
|
|
135
|
-
letter-spacing: -0.59px;
|
|
136
|
-
}
|
|
137
|
-
h2 {
|
|
138
|
-
font-family: var(--heading-2);
|
|
139
|
-
font-weight: 700;
|
|
140
|
-
font-size: 28px;
|
|
141
|
-
line-height: 32px;
|
|
142
|
-
letter-spacing: -0.59px;
|
|
143
|
-
}
|
|
144
|
-
.body-large {
|
|
145
|
-
font-family: var(--body-large);
|
|
146
|
-
font-weight: 400;
|
|
147
|
-
font-size: 16px;
|
|
148
|
-
line-height: 20px;
|
|
149
|
-
letter-spacing: -0.17px;
|
|
150
|
-
}
|
|
151
|
-
.body-medium {
|
|
152
|
-
font-family: var(--body-medium);
|
|
153
|
-
font-weight: 400;
|
|
154
|
-
font-size: 14px;
|
|
155
|
-
line-height: 20px;
|
|
156
|
-
letter-spacing: -0.08px;
|
|
157
|
-
}
|
|
158
|
-
.body-small {
|
|
159
|
-
font-family: var(--body-small);
|
|
160
|
-
font-weight: 400;
|
|
161
|
-
font-size: 12px;
|
|
162
|
-
line-height: 16px;
|
|
163
|
-
letter-spacing: -0.04px;
|
|
164
|
-
}
|
|
165
|
-
}
|