diff --git a/src/components/shared/Button/Button.module.scss b/src/components/shared/Button/Button.module.scss index 58b3880..4416e07 100644 --- a/src/components/shared/Button/Button.module.scss +++ b/src/components/shared/Button/Button.module.scss @@ -8,8 +8,8 @@ min-width: 64px; min-height: 46px; width: 100%; - padding: 8px 12px; - border-radius: var(--secondary-radius); + padding: 8px 16px; + border-radius: var(--primary-radius); cursor: pointer; } @@ -21,4 +21,5 @@ font-size: 16px; margin-right: 6px; margin-top: 4px; + color: var(--text-color); } diff --git a/src/components/shared/Button/Button.tsx b/src/components/shared/Button/Button.tsx index 40d415a..3d966ab 100644 --- a/src/components/shared/Button/Button.tsx +++ b/src/components/shared/Button/Button.tsx @@ -6,6 +6,7 @@ interface Props { text?: string; disabled?: boolean; isLoading?: boolean; + isTextButton?: boolean; height?: string; type?: "button" | "submit"; color?: string; @@ -21,6 +22,7 @@ export default function Button({ color = "var(--accent-color)", isLoading, icon, + isTextButton, onClick, }: Props) { const handleClick = () => { @@ -32,7 +34,11 @@ export default function Button({ return (