feat: added normal login button

This commit is contained in:
Maximilian Liebmann 2025-05-06 12:07:47 +02:00
parent 710db0a991
commit 43504d31f7
5 changed files with 16 additions and 7 deletions

View file

@ -52,3 +52,9 @@
--color-75: var(--danger-75);
--color-100: var(--danger-100);
}
.style_neutral {
--color-50: var(--neutral-50);
--color-75: var(--neutral-75);
--color-100: var(--neutral-100);
}

View file

@ -12,7 +12,7 @@ export default function Button({
}: {
type?: 'button' | 'submit' | 'reset';
children?: React.ReactNode;
mode?: 'primary' | 'warning' | 'success' | 'danger';
mode?: 'primary' | 'warning' | 'success' | 'danger' | 'neutral';
icon?: IconProp;
width?: number;
}) {

View file

@ -1,9 +1,9 @@
import Button from '../button';
export default function Login() {
export default function Login({}: {}) {
return (
<form>
<Button type='submit' mode='primary' width={250}>
<Button type='submit' mode='neutral' width={250}>
Login
</Button>
</form>