Skip to content

Commit 4dfcbbf

Browse files
committed
Merge branch 'develop' into design/profile
2 parents 8de24b1 + ac97f77 commit 4dfcbbf

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Meta, StoryObj } from "@storybook/nextjs";
2-
import Icon from "./Icon";
2+
import Icon from "./icon";
33
import ICON_MAP from "./icon-map";
44

55
const meta = {
@@ -17,7 +17,7 @@ const meta = {
1717
},
1818
size: {
1919
control: "select",
20-
options: ["xs", "sm", "md", "lg", "xl", "2xl"],
20+
options: ["xs", "sm", "md", "2md", "lg", "xl", "2xl"],
2121
description: "아이콘 크기",
2222
},
2323
color: {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const iconVariants = cva("inline-block", {
2222
xs: "ic-xs",
2323
sm: "ic-sm",
2424
md: "ic-md",
25+
"2md": "ic-2md",
2526
lg: "ic-lg",
2627
xl: "ic-xl",
2728
"2xl": "ic-2xl",

src/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export { default as Chip } from "./chip/chip";
55
export { default as Flavor } from "./flavor/flavor";
66
export { default as TextInput } from "./text-input/text-input";
77
export { default as SelectType } from "./select-type/select-type";
8-
export { default as Icon } from "./icon/Icon";
8+
export { default as Icon } from "./icon/icon";
99
export { default as BlockGauge } from "./gauge/block-gauge";
1010
export { default as DetailTaste } from "./taste/detail-taste";
1111
export { default as ReviewTaste } from "./taste/review-taste";

src/components/text-input/text-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { cn } from "@/lib/utils";
22
import { ComponentProps } from "react";
3-
import Icon from "../icon/Icon";
3+
import Icon from "../icon/icon";
44

55
interface InputValue extends ComponentProps<"input"> {
66
placeholder?: string;

tailwind.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
88
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
99
],
10-
safelist: ["ic-xs", "ic-sm", "ic-md", "ic-lg", "ic-xl", "ic-2xl"],
10+
safelist: ["ic-xs", "ic-sm", "ic-md", "ic-2md", "ic-lg", "ic-xl", "ic-2xl"],
1111
theme: {
1212
extend: {
1313
colors: {
@@ -85,6 +85,7 @@ export default {
8585
".ic-xs": { width: "16px", height: "16px" },
8686
".ic-sm": { width: "20px", height: "20px" },
8787
".ic-md": { width: "24px", height: "24px" },
88+
".ic-2md": { width: "28px", height: "28px" },
8889
".ic-lg": { width: "32px", height: "32px" },
8990
".ic-xl": { width: "40px", height: "40px" },
9091
".ic-2xl": { width: "48px", height: "48px" },

0 commit comments

Comments
 (0)