create-rotor 0.3.8 → 0.4.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.
package/dist/index.js CHANGED
@@ -1159,6 +1159,7 @@ var MODULES = {
1159
1159
  hint: "UI component library (Base UI)",
1160
1160
  files: ["components.json", "lib/utils.ts", "components/ui"],
1161
1161
  dependencies: {
1162
+ "@base-ui/react": "1.3.0",
1162
1163
  "class-variance-authority": "0.7.1",
1163
1164
  clsx: "2.1.1",
1164
1165
  "tailwind-merge": "3.5.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rotor",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "description": "Scaffold Next.js projects with Bun, Tailwind, Biome, and more",
5
5
  "type": "module",
6
6
  "bin": "dist/index.js",
@@ -1,4 +1,7 @@
1
1
  {
2
2
  "editor.defaultFormatter": "biomejs.biome",
3
- "editor.formatOnSave": true
3
+ "editor.formatOnSave": true,
4
+ "editor.codeActionsOnSave": {
5
+ "source.organizeImports.biome": "explicit"
6
+ }
4
7
  }
@@ -7,78 +7,79 @@
7
7
  @custom-variant dark (&:is(.dark *));
8
8
 
9
9
  @theme inline {
10
- --font-sans: var(--font-geist-sans);
10
+ --font-sans: var(--font-inter);
11
11
  --font-mono: var(--font-geist-mono);
12
+ --font-heading: var(--font-sans);
12
13
  }
13
14
 
14
15
  /* [shadcn] */
15
16
  :root {
16
- --background: oklch(1 0 0);
17
- --foreground: oklch(0.145 0 0);
18
- --card: oklch(1 0 0);
19
- --card-foreground: oklch(0.145 0 0);
20
- --popover: oklch(1 0 0);
21
- --popover-foreground: oklch(0.145 0 0);
22
- --primary: oklch(0.205 0 0);
23
- --primary-foreground: oklch(0.985 0 0);
24
- --secondary: oklch(0.97 0 0);
25
- --secondary-foreground: oklch(0.205 0 0);
26
- --muted: oklch(0.97 0 0);
27
- --muted-foreground: oklch(0.556 0 0);
28
- --accent: oklch(0.97 0 0);
29
- --accent-foreground: oklch(0.205 0 0);
17
+ --background: oklch(0.998 0.001 237);
18
+ --foreground: oklch(0.15 0.008 237);
19
+ --card: oklch(0.998 0.001 237);
20
+ --card-foreground: oklch(0.15 0.008 237);
21
+ --popover: oklch(0.998 0.001 237);
22
+ --popover-foreground: oklch(0.15 0.008 237);
23
+ --primary: oklch(0.588 0.158 241.966);
24
+ --primary-foreground: oklch(0.99 0.002 237);
25
+ --secondary: oklch(0.965 0.004 237);
26
+ --secondary-foreground: oklch(0.195 0.008 237);
27
+ --muted: oklch(0.965 0.004 237);
28
+ --muted-foreground: oklch(0.55 0.008 237);
29
+ --accent: oklch(0.965 0.004 237);
30
+ --accent-foreground: oklch(0.195 0.008 237);
30
31
  --destructive: oklch(0.577 0.245 27.325);
31
- --border: oklch(0.922 0 0);
32
- --input: oklch(0.922 0 0);
33
- --ring: oklch(0.708 0 0);
34
- --chart-1: oklch(0.809 0.105 251.813);
35
- --chart-2: oklch(0.623 0.214 259.815);
36
- --chart-3: oklch(0.546 0.245 262.881);
37
- --chart-4: oklch(0.488 0.243 264.376);
38
- --chart-5: oklch(0.424 0.199 265.638);
32
+ --border: oklch(0.918 0.004 237);
33
+ --input: oklch(0.918 0.004 237);
34
+ --ring: oklch(0.588 0.158 242);
35
+ --chart-1: oklch(0.901 0.058 230.902);
36
+ --chart-2: oklch(0.746 0.16 232.661);
37
+ --chart-3: oklch(0.588 0.158 241.966);
38
+ --chart-4: oklch(0.5 0.134 242.749);
39
+ --chart-5: oklch(0.293 0.066 243.157);
39
40
  --radius: 0.625rem;
40
- --sidebar: oklch(0.985 0 0);
41
- --sidebar-foreground: oklch(0.145 0 0);
42
- --sidebar-primary: oklch(0.205 0 0);
43
- --sidebar-primary-foreground: oklch(0.985 0 0);
44
- --sidebar-accent: oklch(0.97 0 0);
45
- --sidebar-accent-foreground: oklch(0.205 0 0);
46
- --sidebar-border: oklch(0.922 0 0);
47
- --sidebar-ring: oklch(0.708 0 0);
41
+ --sidebar: oklch(0.99 0.002 237);
42
+ --sidebar-foreground: oklch(0.15 0.008 237);
43
+ --sidebar-primary: oklch(0.588 0.158 241.966);
44
+ --sidebar-primary-foreground: oklch(0.99 0.002 237);
45
+ --sidebar-accent: oklch(0.965 0.004 237);
46
+ --sidebar-accent-foreground: oklch(0.195 0.008 237);
47
+ --sidebar-border: oklch(0.918 0.004 237);
48
+ --sidebar-ring: oklch(0.588 0.158 242);
48
49
  }
49
50
 
50
51
  .dark {
51
- --background: oklch(0.145 0 0);
52
- --foreground: oklch(0.985 0 0);
53
- --card: oklch(0.205 0 0);
54
- --card-foreground: oklch(0.985 0 0);
55
- --popover: oklch(0.205 0 0);
56
- --popover-foreground: oklch(0.985 0 0);
57
- --primary: oklch(0.922 0 0);
58
- --primary-foreground: oklch(0.205 0 0);
59
- --secondary: oklch(0.269 0 0);
60
- --secondary-foreground: oklch(0.985 0 0);
61
- --muted: oklch(0.269 0 0);
62
- --muted-foreground: oklch(0.708 0 0);
63
- --accent: oklch(0.269 0 0);
64
- --accent-foreground: oklch(0.985 0 0);
52
+ --background: oklch(0.145 0.007 237);
53
+ --foreground: oklch(0.985 0.002 237);
54
+ --card: oklch(0.205 0.008 237);
55
+ --card-foreground: oklch(0.985 0.002 237);
56
+ --popover: oklch(0.205 0.008 237);
57
+ --popover-foreground: oklch(0.985 0.002 237);
58
+ --primary: oklch(0.746 0.16 232.661);
59
+ --primary-foreground: oklch(0.195 0.008 237);
60
+ --secondary: oklch(0.269 0.008 237);
61
+ --secondary-foreground: oklch(0.985 0.002 237);
62
+ --muted: oklch(0.269 0.008 237);
63
+ --muted-foreground: oklch(0.708 0.005 237);
64
+ --accent: oklch(0.269 0.008 237);
65
+ --accent-foreground: oklch(0.985 0.002 237);
65
66
  --destructive: oklch(0.704 0.191 22.216);
66
- --border: oklch(1 0 0 / 10%);
67
- --input: oklch(1 0 0 / 15%);
68
- --ring: oklch(0.556 0 0);
69
- --chart-1: oklch(0.809 0.105 251.813);
70
- --chart-2: oklch(0.623 0.214 259.815);
71
- --chart-3: oklch(0.546 0.245 262.881);
72
- --chart-4: oklch(0.488 0.243 264.376);
73
- --chart-5: oklch(0.424 0.199 265.638);
74
- --sidebar: oklch(0.205 0 0);
75
- --sidebar-foreground: oklch(0.985 0 0);
76
- --sidebar-primary: oklch(0.488 0.243 264.376);
77
- --sidebar-primary-foreground: oklch(0.985 0 0);
78
- --sidebar-accent: oklch(0.269 0 0);
79
- --sidebar-accent-foreground: oklch(0.985 0 0);
80
- --sidebar-border: oklch(1 0 0 / 10%);
81
- --sidebar-ring: oklch(0.556 0 0);
67
+ --border: oklch(0.9 0.01 237 / 12%);
68
+ --input: oklch(0.9 0.01 237 / 15%);
69
+ --ring: oklch(0.685 0.169 237.323);
70
+ --chart-1: oklch(0.901 0.058 230.902);
71
+ --chart-2: oklch(0.746 0.16 232.661);
72
+ --chart-3: oklch(0.588 0.158 241.966);
73
+ --chart-4: oklch(0.5 0.134 242.749);
74
+ --chart-5: oklch(0.391 0.09 240.876);
75
+ --sidebar: oklch(0.205 0.008 237);
76
+ --sidebar-foreground: oklch(0.985 0.002 237);
77
+ --sidebar-primary: oklch(0.685 0.169 237.323);
78
+ --sidebar-primary-foreground: oklch(0.985 0.002 237);
79
+ --sidebar-accent: oklch(0.269 0.008 237);
80
+ --sidebar-accent-foreground: oklch(0.985 0.002 237);
81
+ --sidebar-border: oklch(0.9 0.01 237 / 12%);
82
+ --sidebar-ring: oklch(0.685 0.169 237.323);
82
83
  }
83
84
 
84
85
  @theme inline {
@@ -1,9 +1,10 @@
1
1
  import type { Metadata } from 'next'
2
- import { Geist, Geist_Mono } from 'next/font/google'
2
+ import { Inter } from 'next/font/google'
3
+ import { Geist_Mono } from 'next/font/google'
3
4
  import './globals.css'
4
5
 
5
- const geistSans = Geist({
6
- variable: '--font-geist-sans',
6
+ const inter = Inter({
7
+ variable: '--font-inter',
7
8
  subsets: ['latin'],
8
9
  })
9
10
 
@@ -24,9 +25,7 @@ export default function RootLayout({
24
25
  }) {
25
26
  return (
26
27
  <html lang="en">
27
- <body
28
- className={`${geistSans.variable} ${geistMono.variable} antialiased`}
29
- >
28
+ <body className={`${inter.variable} ${geistMono.variable} antialiased`}>
30
29
  {children}
31
30
  </body>
32
31
  </html>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://ui.shadcn.com/schema.json",
3
- "style": "base-maia",
3
+ "style": "base-nova",
4
4
  "rsc": true,
5
5
  "tsx": true,
6
6
  "tailwind": {
@@ -17,5 +17,8 @@
17
17
  "ui": "@/components/ui",
18
18
  "lib": "@/lib",
19
19
  "hooks": "@/hooks"
20
+ },
21
+ "registries": {
22
+ "@yikzero": "https://ui.yikzero.com/r/{name}.json"
20
23
  }
21
24
  }
@@ -16,6 +16,7 @@
16
16
  "next": "16.1.6",
17
17
  "react": "19.2.4",
18
18
  "react-dom": "19.2.4",
19
+ "@base-ui/react": "1.3.0",
19
20
  "class-variance-authority": "0.7.1",
20
21
  "clsx": "2.1.1",
21
22
  "tailwind-merge": "3.5.0",