feat: integrate latest HMDesign design system updates
This commit is contained in:
1 parent
99faec189e
commit
1c4e0bb9a1
209 files changed
+8845
-552
No files matched your search
@@ -77,7 +77,9 @@ if (name === "ui") {
|
||||
await cp(path.join(root, "node_modules/shadcn/LICENSE.md"), path.join(output, "vendor/shadcn-LICENSE.md"))
|
||||
const tailwind = (await readFile(path.join(packageRoot, "src/tailwind.css"), "utf8"))
|
||||
.replace('"shadcn/tailwind.css"', '"./vendor/shadcn-tailwind.css"')
|
||||
.replace(/@source "\.\/components";\r?\n@source "\.\/patterns";/, '@source "./index.js";')
|
||||
// The compiled folder is self-contained. Scanning it also avoids the
|
||||
// Windows file-source path case that drops index.js utility candidates.
|
||||
.replace(/@source "\.\/components";\r?\n@source "\.\/patterns";/, '@source "./";')
|
||||
await writeFile(path.join(output, "tailwind.css"), tailwind)
|
||||
await mkdir(path.join(output, "fonts"), { recursive: true })
|
||||
for (const file of ["NotoSansKR-variable.ttf", "NotoSansKR-OFL.txt"]) {
|
||||
|
||||
Reference in new issue
Block a user