Skip to content

Commit

Permalink
design: lint 관련 경고 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed May 18, 2024
1 parent 80da4a6 commit 6b95df7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
7 changes: 4 additions & 3 deletions apps/wow-docs/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "@/globals.css";

import type { Metadata } from "next";
import { Inter } from "next/font/google";

Expand All @@ -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 (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
);
}
};
14 changes: 7 additions & 7 deletions packages/wow-icons/src/UpArrow.tsx
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
const UpArrow = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
fill="none"
height="24"
viewBox="0 0 24 24"
fill="none"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_36_3519)">
<path
d="M19 12L5 12"
stroke="#E4E4E5"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.6"
/>
<path
d="M19 12L13 6"
stroke="#E4E4E5"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.6"
/>
<path
d="M19 12L13 18"
stroke="#E4E4E5"
strokeWidth="1.6"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.6"
/>
</g>
<defs>
<clipPath id="clip0_36_3519">
<rect width="24" height="24" fill="white" />
<rect fill="white" height="24" width="24" />
</clipPath>
</defs>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions packages/wow-tokens/src/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -128,7 +128,7 @@ export const blueGradientDark = {

export const blueGradientLight = {
gradientFrom: blue200,
gradientTo: "#4792EE", //NOTE: 스케일 토큰에서 정의되어 있지 않은 색상값
gradientTo: "#4792EE", // NOTE: 스케일 토큰에서 정의되어 있지 않은 색상값
};

export const redGradientDark = {
Expand Down
2 changes: 2 additions & 0 deletions packages/wow-tokens/src/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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%",
Expand Down
4 changes: 2 additions & 2 deletions packages/wow-ui/src/scripts/generateBuildConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6b95df7

Please sign in to comment.