mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-20 22:50:11 -04:00
16 lines
333 B
TypeScript
16 lines
333 B
TypeScript
import clsx from 'clsx';
|
|
import { useIsDark } from '~/hooks';
|
|
|
|
import classes from './Thumb.module.scss';
|
|
|
|
export const useFrame = () => {
|
|
const isDark = useIsDark();
|
|
|
|
const className = clsx(
|
|
'rounded-sm border-2 border-app-line bg-app-darkBox',
|
|
isDark ? classes.checkers : classes.checkersLight
|
|
);
|
|
|
|
return { className };
|
|
};
|