mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
Minor tweaks
This commit is contained in:
@@ -66,7 +66,7 @@ function App() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="grid grid-cols-[auto_1fr] h-full">
|
||||
<div className="grid grid-cols-[auto_1fr] h-full text-gray-900">
|
||||
<Sidebar />
|
||||
<Grid cols={2}>
|
||||
<VStack className="w-full">
|
||||
|
||||
@@ -27,16 +27,15 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button
|
||||
className={classnames(
|
||||
className,
|
||||
'rounded-md flex items-center',
|
||||
// 'active:translate-y-[0.5px] active:scale-[0.99]',
|
||||
justify === 'start' && 'justify-start',
|
||||
justify === 'center' && 'justify-center',
|
||||
size === 'md' && 'h-10 px-4',
|
||||
size === 'sm' && 'h-8 px-3 text-sm',
|
||||
size === 'xs' && 'h-6 px-2 text-sm',
|
||||
color === undefined &&
|
||||
'hover:bg-gray-500/[0.1] active:bg-gray-500/[0.15] text-gray-800 hover:text-gray-900',
|
||||
color === 'primary' && 'bg-blue-500 hover:bg-blue-500/90 active:bg-blue-500/80 text-white',
|
||||
color === 'secondary' &&
|
||||
'bg-violet-500 hover:bg-violet-500/90 active:bg-violet-500/80 text-white',
|
||||
color === undefined && 'hover:bg-gray-500/[0.1] text-gray-800 hover:text-gray-900',
|
||||
color === 'primary' && 'bg-blue-500 hover:bg-blue-500/90 text-white',
|
||||
color === 'secondary' && 'bg-violet-500 hover:bg-violet-500/90 text-white',
|
||||
)}
|
||||
{...props}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user