Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a677f8e

Browse files
shadcn-begin
1 parent 04431ae commit a677f8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3352
-6197
lines changed

‎bun.lockb‎

219 KB
Binary file not shown.

‎components.json‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
{
22
"$schema": "https://ui.shadcn.com/schema.json",
3-
"style": "new-york",
3+
"style": "default",
44
"rsc": false,
55
"tsx": true,
66
"tailwind": {
77
"config": "tailwind.config.js",
88
"css": "src/index.css",
9-
"baseColor": "slate",
10-
"cssVariables": true
9+
"baseColor": "gray",
10+
"cssVariables": true,
11+
"prefix": ""
1112
},
1213
"aliases": {
1314
"components": "@/components",
14-
"utils": "@/lib/utils"
15-
}
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
1621
}

‎lib/jsx-dev-runtime.mjs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react";
2+
3+
const factory = (type, props) => {
4+
if (window.Translate) {
5+
return window.Translate.jss(type, props);
6+
}
7+
return React.createElement(type, props);
8+
};
9+
10+
const { Fragment } = React;
11+
12+
export { Fragment, factory as jsxDEV };

‎lib/jsx-runtime.mjs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react";
2+
3+
const factory = (type, props) => {
4+
if (window.Translate) {
5+
return window.Translate.jss(type, props);
6+
}
7+
return React.createElement(type, props);
8+
};
9+
10+
const { Fragment } = React;
11+
12+
export { Fragment, factory as jsx, factory as jsxs };

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /