+
+ {showEyeIcon && (
+
+ )}
+
+ {showTextLength && maxLength && (
+
+
+ {currentTextLength}
+
+ /{maxLength}
+
+ )}
+ >
+ }
+ classNames={{
+ label: ['custom-label', 'top-5', '!text-gray-400'],
+ input: 'placeholder:text-gray-700',
+ inputWrapper: ['bg-gray-900', 'rounded-md', 'h-15'],
+ }}
+ />
+
+ {isInvalid && errorMessage ? (
+ <>
+
+
{errorMessage}
+ >
+ ) : (
+ successMessage && (
+ <>
+
+
{successMessage}
+ >
+ )
+ )}
+
+
+ );
+};
+
+export default BasicInput;
diff --git a/src/types/buttons/BaseButtonProps.ts b/src/types/buttons/BaseButtonProps.ts
index 49b1408..1e17489 100644
--- a/src/types/buttons/BaseButtonProps.ts
+++ b/src/types/buttons/BaseButtonProps.ts
@@ -1,7 +1,7 @@
import { ReactNode } from 'react';
export interface BaseButtonProps {
- variant: 'primary' | 'secondary' | 'tertiaty';
+ variant: 'primary' | 'secondary' | 'tertiary';
children: ReactNode;
onClick?: () => void;
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 823da95..a1fc01a 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -10,7 +10,7 @@ const colors = {
black: '#111111',
white: '#FFFFFF',
gray: {
- 900: '#222222',
+ 900: '#1B1B1B',
800: '#2B2B2B',
700: '#616161',
600: '#757575',
@@ -25,6 +25,7 @@ const colors = {
subtitle: '#F5F5F5',
background: {
base: '#101010',
+ overlay: '#232225',
},
};
@@ -42,12 +43,6 @@ export default {
sans: ['var(--font-montserrat)'],
},
colors,
- spacing: {
- '4.5': '18px',
- '7.5': '30px',
- '15': '60px',
- '78.25': '313px',
- },
},
screens: {
mobile: '677px',