- Label
API_URL: {API_URL}
diff --git a/apps/workshop/.storybook/main.ts b/apps/workshop/.storybook/main.ts index 05d8823..882f921 100644 --- a/apps/workshop/.storybook/main.ts +++ b/apps/workshop/.storybook/main.ts @@ -76,6 +76,7 @@ const config: StorybookConfig = { docs: { autodocs: 'tag', }, + staticDirs: ['../public'], async viteFinal(config) { return mergeConfig(config, { plugins: [require('@vanilla-extract/vite-plugin').vanillaExtractPlugin()], diff --git a/apps/workshop/public/Icons/backward.svg b/apps/workshop/public/Icons/backward.svg new file mode 100644 index 0000000..c5f1d86 --- /dev/null +++ b/apps/workshop/public/Icons/backward.svg @@ -0,0 +1,3 @@ + diff --git a/apps/workshop/public/Icons/blog.svg b/apps/workshop/public/Icons/blog.svg new file mode 100644 index 0000000..bd6ba3e --- /dev/null +++ b/apps/workshop/public/Icons/blog.svg @@ -0,0 +1,8 @@ + diff --git a/apps/workshop/public/Icons/close-circle.svg b/apps/workshop/public/Icons/close-circle.svg new file mode 100644 index 0000000..b59d175 --- /dev/null +++ b/apps/workshop/public/Icons/close-circle.svg @@ -0,0 +1,4 @@ + diff --git a/apps/workshop/public/Icons/close.svg b/apps/workshop/public/Icons/close.svg new file mode 100644 index 0000000..bc053ff --- /dev/null +++ b/apps/workshop/public/Icons/close.svg @@ -0,0 +1,3 @@ + diff --git a/apps/workshop/public/Icons/instagram.svg b/apps/workshop/public/Icons/instagram.svg new file mode 100644 index 0000000..ef79d4a --- /dev/null +++ b/apps/workshop/public/Icons/instagram.svg @@ -0,0 +1,5 @@ + diff --git a/apps/workshop/public/Icons/plus.svg b/apps/workshop/public/Icons/plus.svg new file mode 100644 index 0000000..8c150be --- /dev/null +++ b/apps/workshop/public/Icons/plus.svg @@ -0,0 +1,3 @@ + diff --git a/apps/workshop/public/Icons/search.svg b/apps/workshop/public/Icons/search.svg new file mode 100644 index 0000000..4d4ce4e --- /dev/null +++ b/apps/workshop/public/Icons/search.svg @@ -0,0 +1,3 @@ + diff --git a/apps/workshop/public/Icons/symbol.svg b/apps/workshop/public/Icons/symbol.svg new file mode 100644 index 0000000..0706f09 --- /dev/null +++ b/apps/workshop/public/Icons/symbol.svg @@ -0,0 +1,5 @@ + diff --git a/apps/workshop/public/Icons/typo.svg b/apps/workshop/public/Icons/typo.svg new file mode 100644 index 0000000..04ff31f --- /dev/null +++ b/apps/workshop/public/Icons/typo.svg @@ -0,0 +1,6 @@ + diff --git a/packages/design-system/src/assets/Icon/Icon.css.ts b/packages/design-system/src/assets/Icon/Icon.css.ts new file mode 100644 index 0000000..4c9ae9b --- /dev/null +++ b/packages/design-system/src/assets/Icon/Icon.css.ts @@ -0,0 +1,28 @@ +import { RecipeVariants, recipe } from '@vanilla-extract/recipes' + +export const icon = recipe({ + base: { + display: 'flex', + width: 24, + height: 24, + alignItems: 'center', + justifyContent: 'center', + }, + variants: { + size: { + footer: { + width: 32, + height: 32, + }, + large: {}, + medium: {}, + small: { + width: 16, + height: 16, + }, + typo: { width: 60, height: 20 }, + }, + }, +}) + +export type IconVariants = RecipeVariants-
+ {ICON_NAME.map((iconName) => (
+
-
+
{iconName} 아이콘
++ {props.children} + +
+ ))}
+
- List
-
+
-
+
Label
+-
+ {props.children}
+
-
+ {props.children}
+
+ -
+
Text
+-
+ {props.children}
+
-
+ {props.children}
+
+ -
+
Descrption
+-
+ {props.children}
+
-
+ {props.children}
+
+ -
+
Label
+-
+ {props.children}
+
-
+ {props.children}
+
+
-
+
-
+
SearchBar
++
+