More themes!

This commit is contained in:
Gregory Schier
2024-05-23 09:40:11 -07:00
parent ab33630ef6
commit 9e6bce0e41
11 changed files with 729 additions and 387 deletions

View File

@@ -2,6 +2,7 @@ import classNames from 'classnames';
import FocusTrap from 'focus-trap-react';
import { motion } from 'framer-motion';
import type { ReactNode } from 'react';
import React from 'react';
import { Portal } from './Portal';
interface Props {
@@ -47,6 +48,12 @@ export function Overlay({
)}
/>
{children}
{/* Show draggable region at the top */}
{/* TODO: Figure out tauri drag region and also make clickable still */}
{variant === 'default' && (
<div data-tauri-drag-region className="absolute top-0 left-0 h-md right-0" />
)}
</motion.div>
</FocusTrap>
)}