+
+ {children}
+ {placeholder && (
+
+ {placeholder + (props.required ? "*" : "")}
+
+ )}
+ {isError && (
+
+ {errorMessage}
+
+ )}
+ {isLoading && (
+
+
+
+ )}
+
+ );
+}
+
+export default Input;
diff --git a/client/src/index.css b/client/src/index.css
index b5c61c9..58b68c2 100644
--- a/client/src/index.css
+++ b/client/src/index.css
@@ -1,3 +1,53 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+
+body {
+ color: #141414;
+}
+
+@layer utilities {
+ .title-l {
+ @apply text-2xl leading-[120%] tracking-[-0.02em];
+ }
+
+ .title-m {
+ @apply text-xl leading-[110%] tracking-[-0.02em];
+ }
+
+ .title-s {
+ @apply text-base leading-[110%] tracking-[-0.02em];
+ }
+
+ .text-m {
+ @apply text-base leading-[125%] tracking-[-0.02em];
+ }
+
+ .text-s {
+ @apply text-sm leading-[115%] tracking-[-0.02em];
+ }
+
+ /* .text-xs {
+ @apply text-xs leading-[110%] tracking-[-0.02em];
+ } */
+
+ .button-m {
+ @apply text-sm leading-[115%] tracking-[-0.02em];
+ }
+
+ .button-s {
+ @apply text-xs leading-[130%] tracking-[-0.02em];
+ }
+
+ .caption-m {
+ @apply text-sm leading-[120%] tracking-[-0.02em];
+ }
+
+ .caption-s {
+ @apply text-xs leading-[120%] tracking-[-0.02em];
+ }
+
+ .caption-xs {
+ @apply text-[10px] leading-[110%] tracking-[-0.02em];
+ }
+}
diff --git a/client/tailwind.config.js b/client/tailwind.config.js
index d37737f..a350a14 100644
--- a/client/tailwind.config.js
+++ b/client/tailwind.config.js
@@ -1,12 +1,11 @@
/** @type {import('tailwindcss').Config} */
export default {
- content: [
- "./index.html",
- "./src/**/*.{js,ts,jsx,tsx}",
- ],
+ content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
+ screens: {
+ "2xl": { min: "1440px" },
+ },
},
plugins: [],
-}
-
+};