diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-03-19 16:03:55 +0200 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-03-19 16:03:55 +0200 |
| commit | cdc736b4823a3dda97f2b49c04b8ef7321e7a254 (patch) | |
| tree | 7834c10be8864477343f95b034ab1d2c357aa0a7 /src/components/ui | |
| parent | 293df20781b8f0ae6fcbabb1a33b3d1752e494c8 (diff) | |
add settings page
Diffstat (limited to 'src/components/ui')
| -rw-r--r-- | src/components/ui/button.tsx | 5 | ||||
| -rw-r--r-- | src/components/ui/index.ts | 1 | ||||
| -rw-r--r-- | src/components/ui/input.tsx | 5 |
3 files changed, 9 insertions, 2 deletions
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 65c1e84..fd25d3c 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -14,7 +14,10 @@ const buttonVariants = cva( ghost: '', link: 'hover:text-light-violet', icon: 'bg-violet hover:bg-light-violet rounded-[10px] cursor-pointer', - menu: 'w-[350px] hover:bg-light-violet active:bg-violet active:border-violet rounded-4xl border-2 border-light-violet justify-start', + menu: 'w-[350px] h-[42px] hover:bg-light-violet active:bg-violet active:border-violet rounded-4xl border-2 border-light-violet justify-start', + menuActive: + 'w-[350px] h-[42px] bg-violet border-violet rounded-4xl justify-start', + danger: 'bg-violet-darker rounded-4xl hover:bg-light-violet', }, size: { sm: 'py-1.75 px-3.75', diff --git a/src/components/ui/index.ts b/src/components/ui/index.ts index 4d2a1a0..400f155 100644 --- a/src/components/ui/index.ts +++ b/src/components/ui/index.ts @@ -1,2 +1,3 @@ export * from './input'; export * from './button'; +export * from './separator'; diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx index 7dd5b62..f645f98 100644 --- a/src/components/ui/input.tsx +++ b/src/components/ui/input.tsx @@ -12,7 +12,10 @@ export function Input({ className, isPassword, ...props }: any) { <input {...props} type={isPassword ? (show ? 'text' : 'password') : props.type} - className={cn('w-full outline-none', className)} + className={cn( + 'w-full outline-none placeholder-light-violet', + className, + )} /> {isPassword && ( <span |
