From 6b95df7d1e33eb2a16958f61eb4800bff59a8cf2 Mon Sep 17 00:00:00 2001 From: ghdtjgus76 Date: Sat, 18 May 2024 20:32:04 +0900 Subject: [PATCH] =?UTF-8?q?design:=20lint=20=EA=B4=80=EB=A0=A8=20=EA=B2=BD?= =?UTF-8?q?=EA=B3=A0=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wow-docs/app/layout.tsx | 7 ++++--- packages/wow-icons/src/UpArrow.tsx | 14 +++++++------- packages/wow-tokens/src/color.ts | 4 ++-- packages/wow-tokens/src/typography.ts | 2 ++ packages/wow-ui/src/scripts/generateBuildConfig.ts | 4 ++-- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/apps/wow-docs/app/layout.tsx b/apps/wow-docs/app/layout.tsx index 2baa334b..3d9067be 100644 --- a/apps/wow-docs/app/layout.tsx +++ b/apps/wow-docs/app/layout.tsx @@ -1,4 +1,5 @@ import "@/globals.css"; + import type { Metadata } from "next"; import { Inter } from "next/font/google"; @@ -9,14 +10,14 @@ export const metadata: Metadata = { description: "Generated by create turbo", }; -export default function RootLayout({ +export const RootLayout = ({ children, }: { children: React.ReactNode; -}): JSX.Element { +}): JSX.Element => { return ( {children} ); -} +}; diff --git a/packages/wow-icons/src/UpArrow.tsx b/packages/wow-icons/src/UpArrow.tsx index 1add19ea..de6fa083 100644 --- a/packages/wow-icons/src/UpArrow.tsx +++ b/packages/wow-icons/src/UpArrow.tsx @@ -1,37 +1,37 @@ const UpArrow = () => ( - + diff --git a/packages/wow-tokens/src/color.ts b/packages/wow-tokens/src/color.ts index 1778d074..4bf97d44 100644 --- a/packages/wow-tokens/src/color.ts +++ b/packages/wow-tokens/src/color.ts @@ -88,7 +88,7 @@ export const blackOpacity60 = "rgba(0, 0, 0, 0.6)"; export const blackOpacity80 = "rgba(0, 0, 0, 0.8)"; -//시맨틱 토큰 +// 시맨틱 토큰 export const primary = blue500; export const success = green500; export const error = red500; @@ -128,7 +128,7 @@ export const blueGradientDark = { export const blueGradientLight = { gradientFrom: blue200, - gradientTo: "#4792EE", //NOTE: 스케일 토큰에서 정의되어 있지 않은 색상값 + gradientTo: "#4792EE", // NOTE: 스케일 토큰에서 정의되어 있지 않은 색상값 }; export const redGradientDark = { diff --git a/packages/wow-tokens/src/typography.ts b/packages/wow-tokens/src/typography.ts index ee05b4f0..0ed14205 100644 --- a/packages/wow-tokens/src/typography.ts +++ b/packages/wow-tokens/src/typography.ts @@ -4,12 +4,14 @@ export const display1 = { fontWeight: 700, letterSpacing: "-0.025rem", }; + export const display2 = { fontSize: "2rem", lineHeight: "130%", fontWeight: 700, letterSpacing: "-0.02rem", }; + export const h1 = { fontSize: "1.5rem", lineHeight: "130%", diff --git a/packages/wow-ui/src/scripts/generateBuildConfig.ts b/packages/wow-ui/src/scripts/generateBuildConfig.ts index 24a1323c..f5524741 100644 --- a/packages/wow-ui/src/scripts/generateBuildConfig.ts +++ b/packages/wow-ui/src/scripts/generateBuildConfig.ts @@ -52,8 +52,8 @@ const generateRollupEntryFiles = (files: string[]) => { }; const applyEntryFilesToRollupConfig = async (entryFileObj: EntryFileObject) => { - const __dirname = path.resolve(); - const rollupConfigPath = path.join(__dirname, ROLLUP_CONFIG_PATH); + const dirname = path.resolve(); + const rollupConfigPath = path.join(dirname, ROLLUP_CONFIG_PATH); let rollupConfigContent = await fs.readFile(rollupConfigPath, "utf-8"); rollupConfigContent = rollupConfigContent.replace(