rowboat/apps/rowboat/app/styles/pane-effects.ts
2025-04-03 17:56:31 +05:30

5 lines
No EOL
228 B
TypeScript

export const getPaneClasses = (isActive: boolean, otherIsActive: boolean) => [
"transition-all duration-300",
isActive ? "scale-[1.02] shadow-xl relative z-10" : "",
otherIsActive ? "scale-[0.98] opacity-50" : ""
];